Can I keep an HSA if I enroll in Medicare?

Special Situations
Last updated: 
April 10, 2026
Smiling elderly couple on medicare coverage sitting outdoors in a grassy hilly area, dressed warmly with scarves and jackets.
Smiling elderly man with pre existing conditions is grateful for medicare insurance and woman enjoying tea together indoors with plants in the background.
Older couple smiling wondering about their drug formulary and dancing outdoors among green trees, enjoying a healthy aging lifestyle.

The short answer

Once you enroll in any part of Medicare, you can no longer contribute to a Health Savings Account (HSA). You can still spend money already in the account, but new contributions must stop.

The full explanation

An HSA, or Health Savings Account, is a tax-advantaged account that works alongside a high-deductible health plan. The IRS rules are clear on this: the moment you enroll in Medicare Part A or Part B, you lose eligibility to contribute new money to an HSA. That applies even if you keep other non-Medicare coverage.Here's where people get tripped up. Part A coverage can be backdated up to six months when you sign up late. If that happens, you technically became ineligible six months ago, and any HSA contributions made during that window could trigger a tax penalty. So if you're still working and contributing to an HSA, you'll want to stop contributions a few months before you plan to enroll in Medicare, just to be safe.The money already sitting in your HSA doesn't disappear. You can keep using it to pay Medicare premiums, deductibles, copays, and other qualified medical expenses, tax-free. It just becomes a spending account rather than a savings account. Talk to a tax advisor or a Medicare counselor before making changes, since the timing matters quite a bit here.

Smiling elderly couple on social security benefits misunderstand medicare advantage are outdoors with man presenting a bouquet of yellow flowers to the woman.Smiling elderly couple disappointed at their doctor for not accepting medicare sitting on a bench outdoors holding a colorful bouquet of flowers.A group of six older adults enjoy discussion with primary care physician covered by medicare sitting together indoors, smiling and enjoying conversation with drinks.

In 

Ohio

 specifically

Ohio beneficiaries should pay close attention to local hospital systems and doctor networks before enrolling, because plan availability does not guarantee your preferred providers are in network. Ohio residents can also get free Medicare counseling through the Ohio Senior Health Insurance Information Program.

Two elderly men in a nursing home paid for by medicare sitting at a wooden table outdoors, one showing the other something on a tablet, with drinks on the table.

What this means for you

For you, this means if you're still contributing to an HSA and getting close to Medicare enrollment, plan your stop date carefully to avoid an unexpected tax penalty.

Related Questions

Still have questions about Medicare?

Book a review with a licensed Medicare advisor.

Senior couple sitting together outdoors near white flowers and greenery, smiling and looking to the right.

Medicare Advantage Plans in 

Heading

 County 

Loading Pennsylvania Medicare plans...

Loading Ohio Medicare plans...

Loading Utah Medicare plans...

Decision area Tool What it answers
Enrollment Initial Enrollment Period Calculator When your 7-month Medicare eligibility window begins and ends based on your 65th birthday
Enrollment When Should I Sign Up for Medicare? The best time to enroll based on your work status, other coverage, and age
Enrollment Special Enrollment Period Checker Whether a life event qualifies you for enrollment outside the standard windows
Enrollment Late Enrollment Penalty Checker How much extra you'll pay monthly if you missed your enrollment window
Enrollment Part B Penalty Calculator The exact 10%-per-year premium increase for delayed Part B enrollment
Enrollment Part D Penalty Calculator The 1%-per-month premium increase for gaps in creditable drug coverage
Costs Cost Scenario Planner Estimated annual spending across plan types at different health utilization levels
Costs Advantage vs. Medigap Cost Comparison True cost difference between Medicare Advantage and Original Medicare with Medigap
Costs IRMAA Calculator Whether your income triggers higher Part B and Part D premiums
Costs Part A Premium Estimator Your monthly Part A premium based on work history and quarters of coverage
Costs M3P Calculator How the Medicare Prescription Payment Plan smooths your drug costs into monthly payments
Coverage Doctor & Drug Assessment Whether your providers and prescriptions are covered by a specific plan
Coverage Part D Shopping Tool Which Part D plan has the lowest total annual cost for your specific medications
Coverage Travel & Network Risk Assessment How your coverage works outside your home area and which plan types travel best
Employer/COBRA COBRA vs. Medicare Why COBRA can trigger permanent Medicare penalties and how costs compare
Employer/COBRA Employer Coverage vs. Medicare Whether your employer plan or Medicare is primary and when to transition
Employer/COBRA HSA & Medicare Compatibility How Medicare enrollment affects HSA eligibility and what to do before enrolling
Planning Caregiver Readiness Checklist Whether you have everything in place to help a loved one with Medicare decisions
Planning Document Gatherer Which documents you need to have ready before enrolling or changing plans
Planning Medigap Fit Assessment Whether Medigap or Medicare Advantage is the better fit for how you use healthcare
Planning Medigap Open Enrollment Window Whether you're inside your one-time guaranteed issue window for Medigap
Planning Medicare Savings Program Eligibility Whether your income qualifies you for help paying Medicare premiums and cost-sharing