We analyse the causal effect of involuntary retirement on detailed indicators of healthcare use and compare the results to the effects of voluntary retirement. Our identification strategy is based on two pension reforms in Hungary. The first reform forced public sector workers above the statutory retirement age to full time retirement, the second increased the statutory retirement age. Using rich administrative data, we find that on the three-year horizon, involuntary retirement decreases the number of primary care doctor visits, the consumption of antiinfectives for systemic use and of prescription drugs of the cardiovascular and the respiratory system. We also find that the impact on cardiovascular drugs is driven by the drop in income due to involuntary retirement. These effects are comparable to the short-run effects of voluntary retirement, which, in addition, reduces the use of prescription drugs of the musculo-skeletal system. We conclude that the health effects of retirement vary moderately with the reason of retirement and provide explanations for the possible mechanisms behind our results.