Skip to content

Can I Have a Health Savings Account as Well as Medicare?

No, but understanding the details of this IRS rule may help you get around it

Q. I have health insurance from my employer in the form of a Health Savings Account. But I’m told I can’t use it if I’m eligible for Medicare. Is this correct? If so, what can I do to keep this insurance if I continue working after age 65?

A. A Health Savings Account (HSA) is a type of health insurance offered by an increasing number of employers. It combines a high-deductible health plan with a tax-free health savings account to which the employee and the employer can contribute. (It is not the same as a Medicare Medical Savings Account, a health plan available only to Medicare beneficiaries, which is not discussed in this article.)

Sign up for the AARP Health Newsletter.

IRS rules say that you can’t contribute to an HSA if you’re enrolled in Medicare. You can draw on funds already in the account but you can't add to them. So it’s important to know how you can get around this rule if you have an HSA at work and want to continue working beyond age 65.  Here’s what you can do, according to different situations:

  • If you’re eligible for Medicare but have not filed an application for either Social Security retirement benefits or Medicare, you need do nothing. As long as your employer has 20 or more employees, you have the right to postpone applying for Social Security and Medicare — and therefore can continue to contribute to your HSA — until you stop working. There is no penalty for this delay, , and when your employment ends you’re entitled to a special enrollment period to sign up for Medicare. (For more details, see the related article “Medicare When Working Beyond 65.”)

Next: What if you're covered under your spouse’s HSA at work? »

  • If you’re entitled to Medicare because you signed up for Part A at age 65 or later (perhaps not realizing that it can affect the use of your HSA) but have not yet applied for Social Security retirement benefits, you can withdraw your application for Part A. (To do so, contact the Social Security Administration at 1-800-772-1213.) There are no penalties or repercussions and you are free to reapply for Part A at any future date.
  • But if you have applied for, or are receiving, Social Security benefits—which automatically entitles you to Part A—you cannot continue to contribute to your HSA. And in these circumstances, the only way you could opt out of Part A is to pay back to the government all the money you’ve received in Social Security payments, plus everything Medicare has spent on your medical claims. You must repay these amounts before your application to drop out of Part A can be processed. If you take this action, you’re no longer entitled to Social Security or Medicare—but you can reapply for both at any time in the future (for example, if you end or lose your HSA coverage).

What if you are covered under your spouse’s health savings account at work? The IRS rule affects only employees age 65 or older who have HSAs through their employment, because they are the ones who contribute to HSAs from their before-tax earnings at work.  The rule does not affect covered spouses over age 65, who can continue to use funds from the working spouse’s HSA for approved medical purposes. 

What if you received Medicare Part A under age 65 through disability? In this situation, you’re entitled to Medicare as soon as you’ve received your 25th disability check from Social Security. In other words, you automatically go into the Medicare system. If you’re able to return to work, eventually your disability payments will stop—but your Medicare entitlement continues for up to 93 months from the time you first applied for disability. For most people, this is an advantage. But if your employer offers health insurance in the form of a health savings account, you’re ineligible to take it because you have Medicare. Again, the only way you can opt out of Part A is to repay Social Security for all the disability payments you’ve received, even if you’ve never used Medicare for medical services, and to repay Medicare for any services that you have used. Most people with disabilities simply could not afford to make those repayments.

This situation was the focus of a lawsuit that alleged that denying Social Security benefits to people who wish to opt out of Part A is unlawful and unconstitutional. On February 7, 2012, a federal court of appeals rejected plaintiffs’ arguments and ruled that “there is no statutory avenue for those who are 65 or older and receiving Social Security benefits to disclaim their legal entitlement to Medicare Part A benefits.”

Some members of Congress have introduced bills that would allow people to opt out or suspend their Part A entitlement without affecting their Social Security payments, but none of these has yet passed into law.

Warning for when you retire:
You cannot contribute to an HSA in any month that you are enrolled in Medicare.  And there’s a pitfall inherent in that rule that you need to be aware of.  When you finally sign up for Social Security retirement benefits—probably when you’re on the point of retirement—and if you’re already at least six months beyond your full retirement age (currently 66)—Social Security will give you six months of “back pay” in retirement benefits.  It’s a generous gesture, but it means that your enrollment in Part A will also be backdated by six months.  Under IRS rules, that leaves you liable to pay six months’ of tax penalties on your HSA.  To avoid the penalties, you need to stop contributing to your account six months before you apply for Social Security retirement benefits.

Patricia Barry is a senior editor at the AARP Bulletin. for AARP Integrated Media and the author of “Medicare For Dummies” (Wiley/AARP, October 2013).