Yes, a retiree can contribute to an HSA, but only if two conditions are met: you’re covered by a qualifying high-deductible health plan (HDHP) on the first day of the month, and you have not enrolled in any part of Medicare. Once Medicare coverage begins, the IRS sets your contribution limit to zero. Your existing balance still belongs to you and can be spent tax-free on qualified medical costs, including most Medicare premiums, but new contributions stop.
Eligibility Rules and 2026 Contribution Limits
The baseline requirement is HDHP coverage on the first day of a given month.1Office of the Law Revision Counsel. 26 USC 223 Health Savings Accounts You also cannot carry a second health plan that covers any benefit your HDHP already covers, with narrow exceptions for dental, vision, and preventive care.
For 2026, a plan qualifies as an HDHP if it has a minimum annual deductible of $1,700 for self-only coverage or $3,400 for family coverage, and out-of-pocket costs capped at $8,500 self-only or $17,000 family, not counting premiums.2Internal Revenue Service. Notice 2026-05 – Expanded Availability of Health Savings Accounts Under the One Big Beautiful Bill Act Bronze and catastrophic plans have separate limits. Starting January 1, 2026, the One Big Beautiful Bill Act treats bronze-level and catastrophic plans as HSA-compatible regardless of the traditional deductible thresholds, which widens the pool of eligible plans for people shopping for individual coverage before Medicare.3Internal Revenue Service. Treasury, IRS Provide Guidance on New Tax Benefits for Health Savings Account Participants Under the One Big Beautiful Bill
If your plan qualifies, the 2026 annual contribution limits are:4Internal Revenue Service. Revenue Procedure 2025-19
- Self-only HDHP: $4,400
- Family HDHP: $8,750
- Age 55 and older catch-up: an additional $1,000 per person, provided you haven’t enrolled in Medicare1Office of the Law Revision Counsel. 26 USC 223 Health Savings Accounts
The catch-up matters for retirees between 55 and 65 who haven’t yet signed up for Medicare. That extra $1,000 a year builds a meaningful reserve for later healthcare costs.
How Medicare Enrollment Ends Your Eligibility
The moment you become entitled to benefits under any part of Medicare, your contribution limit drops to zero.1Office of the Law Revision Counsel. 26 USC 223 Health Savings Accounts Part A, Part B, Part C (Medicare Advantage), and Part D all count. There’s no partial exception. Enrollment in even one part ends new contributions.
A common misreading of the rule: turning 65 does not automatically end HSA eligibility. Reaching 65 makes you eligible for Medicare, but you don’t lose contribution rights until you actually enroll. A 67-year-old who has deferred Medicare and still carries an HDHP can keep contributing.
The Social Security Trap
This is where most retirees get caught. If you are 65 or older and receiving Social Security retirement benefits, you are automatically enrolled in Medicare Part A.5Social Security Administration. Plan for Medicare – When to Sign Up for Medicare You cannot decline Part A while collecting Social Security; the two are legally linked. That automatic enrollment immediately ends your ability to contribute to an HSA.
It gets worse for people who claim Social Security after turning 65. When you apply past 65, Part A coverage is backdated by up to six months, though never before the month you turned 65.6Centers for Medicare & Medicaid Services. Original Medicare (Part A and B) Eligibility and Enrollment Any HSA contributions you made during that retroactive window become excess contributions, even though you had no way of knowing you were enrolled when you made them.7Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
If you plan to claim Social Security after 65, stop HSA contributions at least six months before you file. Skipping that step creates a tax problem that clean timing avoids.
Delaying Medicare to Keep Contributing
Deferring Medicare while maintaining HDHP coverage extends your contribution window, but it carries a risk that most HSA guides gloss over: the Medicare Part B late enrollment penalty.
If you delay Part B beyond your initial eligibility window and don’t qualify for a Special Enrollment Period, your Part B premiums increase by 10% for every full 12-month period you could have enrolled but didn’t.8Medicare.gov. Avoid Late Enrollment Penalties That surcharge is usually permanent. You pay it for as long as you have Part B.
The Special Enrollment Period protects you only if the delay was due to group health plan coverage based on current employment. Once that employment or coverage ends, you have eight months to sign up for Part B without penalty.9Social Security Administration. How to Apply for Medicare Part B During Your Special Enrollment Period COBRA, retiree health plans from a former employer, and individual marketplace plans do not count as current-employment coverage. If you are retired and carrying an individual HDHP purely to fund an HSA, delaying Part B will likely trigger the penalty.
The math: delay Part B by three years and you face a 30% permanent surcharge. Whether the trade works depends on your contribution size, your tax bracket, and how long you’ll be paying the higher premium. For most retirees without employer coverage, the penalty overtakes the HSA tax benefit within a few years.
The Pro-Rated Limit in the Year You Enroll
In the year you join Medicare, your annual limit is reduced to reflect only the months you were eligible. The IRS checks your status on the first day of each month. If you had HDHP coverage and no Medicare enrollment on the first of the month, that month counts.7Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
Divide the annual limit by 12, then multiply by eligible months. With self-only HDHP coverage and a Medicare enrollment date of July 1, you had six eligible months. Your 2026 limit would be $4,400 × 6 ÷ 12 = $2,200. The $1,000 catch-up is also pro-rated: $500 for six months. Total allowable contribution: $2,700.
Retroactive Part A coverage shifts your enrollment date backward. If your effective date is backdated to April, your eligible months shrink to January through March. Always calculate from the actual Medicare effective date, not the date you filed.
Fixing Excess Contributions
If you contributed too much because of retroactive Medicare enrollment or a miscalculation, you owe a 6% excise tax on the excess amount for every year it remains in the account.10Office of the Law Revision Counsel. 26 USC 4973 Tax on Excess Contributions to Certain Tax-Favored Accounts and Annuities The 6% recurs annually until the excess is cleared, so acting fast matters.
To avoid the excise tax entirely, withdraw the excess plus any earnings it generated before the tax filing deadline for that year, including extensions.11Internal Revenue Service. Instructions for Form 8889 You cannot deduct the withdrawn amount, and the earnings must be reported as income. If you already filed without withdrawing, you have an additional six months from the original due date to pull the money out and file an amended return. Report the excess on Form 5329, Part VII.12Internal Revenue Service. Instructions for Form 5329 The 6% applies to the lesser of your excess contributions or your year-end HSA balance.
Funding a Spouse’s HSA Instead
Your own Medicare enrollment doesn’t prevent you from funding your spouse’s HSA. If your spouse is under 65, carries their own HDHP, and hasn’t enrolled in Medicare, they remain fully eligible.1Office of the Law Revision Counsel. 26 USC 223 Health Savings Accounts The IRS doesn’t care where the money comes from.
You can deposit retirement income, pension funds, or personal savings into your spouse’s HSA up to their applicable limit. For 2026, that is $4,400 self-only or $8,750 family, plus $1,000 catch-up if your spouse is 55 or older.4Internal Revenue Service. Revenue Procedure 2025-19 The eligibility test applies to the account owner. Your spouse can even carry a family HDHP that includes you as a dependent; your Medicare enrollment doesn’t disqualify them.
For couples where one spouse reaches Medicare age before the other, this keeps household medical savings growing tax-sheltered until the younger spouse enrolls too.
Spending the Balance After Medicare
Losing the ability to contribute doesn’t mean losing access to the balance. Every dollar in the account stays available for qualified medical expenses, tax-free, for life. There is no spend-down deadline and no required minimum distributions.
For retirees on Medicare, an HSA can pay for a wider range of insurance costs than many people realize. You can use HSA funds tax-free for Medicare Part A and Part B premiums, Medicare Advantage (Part C) premiums, Part D prescription drug premiums, long-term care insurance premiums (subject to age-based annual limits), and COBRA premiums.7Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
One boundary catches people off guard: Medigap (Medicare Supplement) premiums cannot be paid from your HSA tax-free.7Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans Copays, deductibles, and other out-of-pocket costs covered by Medigap still qualify; just not the Medigap premium itself.
One more requirement worth flagging: the account owner must be 65 or older for Medicare premiums to count as qualified expenses. If your spouse owns the HSA and isn’t yet 65, they generally cannot use it to pay your Medicare premiums tax-free.