The relationship between mergers and the long run rate of innovation is an open question in antitrust economics. I develop a framework to examine this in a dynamic oligopoly model with endogenous investment, entry, exit and horizontal mergers. Firms produce vertically differentiated goods and may merge with rival firms to gain market power and potentially increase the quality of their product. I extend previous work on dynamic mergers by allowing for products differentiated on quality with competition in prices and an endogenous long run rate of innovation. In equilibrium, horizontal mergers are almost entirely harmful to consumers in the short run, but the prospect of a buyout creates a powerful incentive for firms to preemptively enter th...