Last Chance! We’re Giving Away $50,000! Enter Now. See Official Rules


AARP Staying Sharp: Keep Your Brain Healthy


The tablet with free 24/7 customer support. Learn More


Military and Veterans Discount



AARP Games - Play Now!

AARP Books

Medicare for Dummies book cover

Get the answers you need, from Patricia Barry, AARP's Ask Ms. Medicare

Share Your Thoughts

Reader stories help us fine-tune our education efforts and strengthen our calls for action on issues that matter most to you. We read and learn from every story and may use yours (with permission) to brief legislators, inspire other readers and more. Please share your story with us. Do

Most Popular


Ask Ms. Medicare

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

  • 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).

Topic Alerts

You can get weekly email alerts on the topics below. Just click “Follow.”

Manage Alerts


Please wait...

progress bar, please wait

Tell Us WhatYou Think

Please leave your comment below.


Discounts & Benefits

From companies that meet the high standards of service and quality set by AARP.

Walgreens 1 discount membership aarp

Members can earn 50 points per $1 spent on select health & wellness products at Walgreens.

member benefit aarp hear usa

Members save 15% on easy listening devices and more at the HearUSA Hearing Shop.

Eye Med 4 Membership Benefit AARP Discount

Members save up to 60% on eye exams and 30% on glasses at Target Optical.

Membership Benefits Discounts Email Genius

Brain boost? Get AARP email for access to memory exercises & more that help you focus.

Rewards for Good

Your Points Balance:

Learn More

Earn points for completing free online activities designed to enrich your life.

Find more ways to earn points

Redeem your points to save on merchandise, travel, and more.

Find more ways to redeem points