This article examines the market power of branded prescription drugs faced with generic competition. Using prescription-level and matched socioeconomic panel data of the entire Swedish population between 2010 and 2016, I provide evidence for the key role of switching costs. A discontinuity...