We analyze 319,000 choices of medically equivalent drugs at Swedish pharmacies. The results show that patients dislike substitutions for the prescribed product and that this effect is larger when the prescribed product is an original. At the same time, patients have strong preferences to buy the cheapest generic product. This implies that patients in most cases buy the cheapest generic product and experience welfare losses when the physician has prescribed another product.