We study the effects of quality regulation on market outcomes by exploiting the staggered phase-in of bioequivalence requirements for generic drugs in Chile. We estimate that the number of drugs in the market decreased by 25%, average paid prices increased by 10%, and total sales decreased by...