How should companies price products during an inter-generational transition? High uncertainty in a new product introduction often leads to extreme cases of demand and supply mismatches. Pricing is an effective tool to either prevent or alleviate these problems. We study the optimal pricing decisions in the context of a product transition in which a new-generation product replaces an old one. We formulate the dynamic pricing problem and derive the optimal prices for both the old and new products. Our analysis sheds light on the pattern of the optimal prices for the two products during the transition and on how product replacement, along with several other dynamics including substitution, external competition, scarcity, and inventory, affect the optimal prices. We also determine the optimal initial inventory for each product and discuss a heuristic method.