Do HSA Contributions Lower Your IRMAA MAGI? Yes, Until Medicare Starts
The short answer to whether HSA contributions lower IRMAA MAGI: yes, they do, dollar for dollar, in the years you can still contribute. An HSA contribution is an above-the-line deduction, which means it shrinks your AGI before IRMAA's MAGI math ever starts. The longer answer involves a hard stop at Medicare enrollment, a retroactive Part A trap, and an honest question about whether the high-deductible plan is worth it.
The math: why the answer is yes
IRMAA's MAGI is not some exotic number. It is your Adjusted Gross Income plus tax-exempt interest plus excluded foreign earned income. That is the whole add-back list. HSA contributions reduce AGI directly, on the way to line 11 of the 1040, and nothing in the IRMAA definition adds them back. So a $5,300 HSA contribution lowers the MAGI that sets your Medicare premiums two years later by exactly $5,300.
A few tax explainers on the internet get this wrong and claim HSA contributions do not help with IRMAA. They are confusing IRMAA's MAGI with other MAGI definitions that do add things back. For the Medicare premium calculation, the add-backs are tax-exempt interest and foreign income exclusions, full stop. HSA contributions are not on the list, which is why financial planners put HSA maximization in the standard pre-Medicare IRMAA playbook. If you want the full MAGI inventory, what counts toward IRMAA MAGI walks through every category.
The worked example: $5,300 in, $1,148 of surcharge avoided
Take a 63-year-old single filer with a projected MAGI of $112,000. For 2026 the first IRMAA threshold for single filers is $109,000, and crossing it costs $1,148.40 per person per year in Part B and D surcharges. At $112,000, this person is $3,000 over the cliff.
Now they max out an HSA: $4,300 for individual coverage plus the $1,000 catch-up available at 55 and older, for $5,300 total. MAGI drops to $106,700. They land $2,300 under the threshold instead of $3,000 over it. One contribution, one cliff avoided, $1,148 a year kept. Run your own cliff distance on the IRMAA calculator before you decide how much to contribute.
| Detail | Without HSA | With max HSA |
|---|---|---|
| Projected MAGI | $112,000 | $106,700 |
| 2026 single threshold | $109,000 | $109,000 |
| IRMAA tier | Tier 1 | Standard |
| Annual surcharge | $1,148.40 | $0 |
2026 threshold and surcharge figures per the CMS 2026 Medicare premiums fact sheet, consistent with this site's MAGI-lowering guide. HSA limits are the published 2026 figures.
The hard stop: Medicare enrollment ends the contribution
You can only contribute to an HSA while you are covered by a qualifying high-deductible health plan and not enrolled in Medicare. The day any part of Medicare starts, including premium-free Part A, contributions must stop. For most people that means the HSA-as-IRMAA-tool window closes at 65.
Here is the trap that catches late enrollees. If you enroll in Medicare after 65, Part A coverage can be backdated up to six months. Contributions you made during those backdated months become excess contributions, hit with a 6% excise tax each year they stay in the account. The standard guidance from planners is to stop HSA contributions six months before your Medicare enrollment date if you are enrolling past 65. It is a small administrative detail with an outsized penalty, and it is the number one HSA mistake I would warn a 64-year-old about.
Once you are on Medicare, the existing balance still works for you. You can pay Part B, Part D, and Medicare Advantage premiums from the HSA tax-free, and qualified medical withdrawals never touch MAGI. You just cannot add to it. If you are still working with employer coverage at 65, the still-working IRMAA rules decide whether Medicare or the employer plan comes first.
The honest tradeoff I will not resolve for you
Here is where I hold two thoughts at once. The HSA contribution is one of the cleanest MAGI reducers available before 65: no appeal forms, no charity required, no conversion taxes, just a deduction that works. And at the same time, getting it requires enrolling in a high-deductible health plan during the years, 63 and 64, when many people start using more healthcare, not less. A $7,000 family deductible you actually hit can cost more out of pocket than the $1,148 surcharge you avoided.
So the real question is not whether HSA contributions lower IRMAA MAGI. They do. The question is whether the HDHP is the right insurance for you at that age, independent of the tax math. If you are healthy, rarely hit the deductible, and can cash-flow medical costs while letting the HSA grow, it is close to a free $5,300 MAGI reduction a year. If you are managing a condition with predictable costs, run the insurance math first and treat any IRMAA benefit as a bonus, not the reason. Both answers are respectable. Pick the one that fits your body, not just your bracket.
Frequently Asked Questions
Do HSA contributions reduce MAGI for IRMAA?
Yes. HSA contributions are an above-the-line deduction that lowers your AGI, and IRMAA's MAGI definition (AGI plus tax-exempt interest and excluded foreign income) does not add HSA contributions back. Every dollar contributed reduces the MAGI that sets your Medicare premiums two years later.
Can I contribute to an HSA while on Medicare?
No. Once you enroll in any part of Medicare, including premium-free Part A, you must stop contributing to an HSA. If you enroll after age 65, Part A can be backdated six months, so the standard guidance is to stop contributions six months before your Medicare enrollment date.
Do HSA withdrawals count toward IRMAA MAGI?
No, as long as the withdrawal pays for qualified medical expenses. Those distributions are tax-free and do not appear in AGI, so Medicare never sees them. Non-qualified withdrawals are taxable and do count.
What are the 2026 HSA contribution limits?
For 2026 the published limits are $4,300 for individual coverage and $8,550 for family coverage, plus a $1,000 catch-up contribution if you are 55 or older. Limits adjust annually for inflation.
Does an HSA help with IRMAA if I am already on Medicare?
Contributions cannot help, because you must stop contributing once Medicare starts. But an existing HSA balance still helps: you can pay Medicare premiums (except Medigap) and medical bills from it tax-free, and those withdrawals do not count toward MAGI.