Many companies featured on Money advertise with us. Opinions are our own, but compensation and
in-depth research may determine where and how companies appear. Learn more about how we make money.

If you’re worried that health care costs will take a big bite out of your retirement income, don’t retire early.

Couples retiring at age 65 will spend an average $220,000 on health care expenditures, according to the 2014 Retiree Health Care Cost Estimate by Fidelity Investments.

But if you leave the job before 65, you'll face even higher costs. A couple retiring at 62 would pay $17,000 a year in insurance premiums and out-of-pocket expenses—a total of $51,000—before reaching Medicare eligibility at 65, Fidelity calculated. That would push your total retirement health care costs to $271,000.

“If you have to buy health insurance when you’re older and you’re not on Medicare yet, it’s going to be a lot more expensive,” says Carolyn McClanahan, a doctor and a certified financial planner in Jacksonville, Florida. Even under the Affordable Care Act, older people spend $500 to $1,000 more a month than younger people do in premiums, she points out.

All the more reason to delay your retirement as long as you can. If you wait till age 67, you could save $10,000 a year on your medical expenses. That's assuming you stay employed and your company pays the majority of your health care costs, which allows you to delay taking Medicare. “On average, Medicare picks up much less than the typical employer plan,” says Sunit Patel, senior vice president of Fidelity Benefits Consulting.

There is some good news in Fidelity’s latest analysis. Health care expenses have moderated in recent years, so this year's $220,000 lifetime expense is unchanged from 2013. That slowdown is the result of reduced costs for long-term prescription drugs covered by Medicare Part D, as well as lower per-enrollee Medicare expenditures.

Still, whether you retire at 62 or 67, health care is a big-ticket item—and you need to plan for more than just the medical bills. Fidelity's estimates don't include the cost of paying for long-term care services, such as a home health aide or a nursing home, in the event you become disabled.

Of course, the timing of your retirement isn’t always something you can control. About half of retirees report that they left the workforce earlier than planned because of health issues, a layoff, or to care for an elderly relative, according the Employee Benefit Research Institute.

If you want to retire early, or think you’ll be forced to leave the workforce, be sure to estimate your health care costs and budget that into your retirement spending. If you’re in ill health or have a chronic condition such as diabetes, you may need to set aside more money for doctor visits and prescription drugs. And take whatever steps you can to improve and maintain your health. “If you’re in your 50s, this is the time to take good care of yourself,” says McClanahan.