Boo Insurance Services Inc. · Education for Utah readers
Medicare and HSA: When to Stop Contributions and Use Funds
Separate contribution eligibility from using the money already in your account.
Map your HSA contribution stop window
This month-based illustration is for age-based Part A with no premium. It is not an enrollment recommendation or tax calculation. Confirm your actual Part A date with SSA and your allowable contributions with your tax professional. No entries are sent or saved.
An application month is not the same as an effective start month. This extra input is needed to check retroactive Part A.
Delayed Part A can be retroactive up to 6 months, but not before the age-based eligibility month. Contributions cannot create eligibility for Medicare-covered months. The calendar below does not calculate an annual HSA limit or rule out a later contribution allocated to a prior eligible period. (Medicare.gov: when Medicare coverage starts) (IRS Publication 969: Health Savings Accounts)
You can keep an HSA after Medicare starts, but contributions change. Existing funds remain available for qualified medical expenses. New contribution eligibility ends for months enrolled in Medicare, including Part A alone. Retroactive Part A can change which earlier months were eligible. (IRS Publication 969: Health Savings Accounts)
We help clients coordinate Medicare questions with HR and their tax professional. This is general Medicare education, not tax or legal advice. Your CPA or tax professional should calculate the HSA limit and handle any correction.
Can you have an HSA and Medicare?
Yes, you can keep the account and use its funds. But Medicare-covered months do not create HSA contribution eligibility. The IRS sets the monthly contribution limit to zero beginning with the first month enrolled in Medicare, including retroactive coverage. (IRS Publication 969: Health Savings Accounts)
The limit applies to amounts contributed by you, your employer or others. Keeping an employer high-deductible plan or delaying Part B does not change the result if Part A has started. (IRS Publication 969: Health Savings Accounts)
Turning 65 alone is not the disqualifying event: Medicare enrollment is. Someone who has not enrolled may remain eligible if all other HSA requirements are met, but should confirm with the benefits administrator that delaying Medicare fits the employer-coverage rules. (IRS Publication 969: Health Savings Accounts) (Medicare.gov: working past 65)
When should you stop HSA contributions for Medicare?
Start with the actual Medicare effective date, not just the application date. Part A with no premium can be retroactive up to 6 months when you apply after 65 or apply for Social Security benefits. It cannot begin before the age-based eligibility month. If a birthday is on the first day of a month, the eligibility rule can shift Part A to the preceding month. (Medicare.gov: when Medicare coverage starts)
On a phone, scroll the table sideways to read both columns.
| Situation | What to coordinate |
|---|---|
| Medicare begins when you turn 65 | Stop contributions for Medicare-covered months. Do not assume everyone must stop 6 months before the birthday; confirm the effective month and annual limit. |
| You delayed Medicare and will apply later | Plan to stop contributions at least 6 months before applying for Medicare or Social Security benefits. Confirm retroactive Part A dates with SSA; a shorter lookback applies if you only recently became eligible. |
| You have Part A but delayed Part B | Part A already ends contribution eligibility for covered months. A later Part B start does not restart it. |
| Medicare was backdated after contributions were made | Have the tax professional check the allowable annual limit and coordinate any excess correction with the custodian. Include employer and payroll amounts. |
Timing references: (Medicare.gov: when Medicare coverage starts) (Medicare.gov: working past 65) (IRS Publication 969: Health Savings Accounts)
Payroll date and contribution year are not the same question. The restriction concerns eligibility for Medicare-covered months. A later deposit can sometimes be allocated to a prior eligible tax year within the IRS contribution deadline. Have your tax professional verify the allocation and annual limit; do not assume a post-enrollment deposit is automatically allowed or automatically excess. (IRS Publication 969: Health Savings Accounts)
A delayed-enrollment timing example
Illustration, not an enrollment recommendation: suppose you are already 67 and apply for Part A with no premium in October. Under the usual 6-month retroactive rule, Part A can begin in April. April through September would already be covered months even though the application is in October. Coordinate stopping contributions before that retroactive period and have your tax professional verify the allowable annual total. (Medicare.gov: when Medicare coverage starts) (IRS Publication 969: Health Savings Accounts)
Before choosing a date, check whether Medicare is already active or will begin through a benefits application. Ask SSA for the effective date and HR how the job plan coordinates with Medicare.
Can you use HSA funds for Medicare premiums?
If the HSA account beneficiary is 65 or older, the IRS insurance-premium exception generally allows Medicare and other health coverage premiums, but excludes Medicare supplemental policies such as Medigap. Keep payment records and do not claim the same expense twice. (IRS Publication 969: Health Savings Accounts)
On a phone, scroll the table sideways to read both columns.
| Expense | General HSA treatment |
|---|---|
| Part B premiums | Can generally be paid or reimbursed as a qualified expense when the account beneficiary is 65 or older. |
| Part D premiums | Can generally be paid or reimbursed under the same age-based exception. |
| Medicare Advantage premiums | Can generally be paid or reimbursed under the Medicare coverage exception. |
| Medigap / Medicare Supplement premiums | Excluded from this insurance-premium exception. |
| Qualified deductibles, copayments and other medical expenses | Existing funds can still be used for qualifying unreimbursed expenses incurred after the HSA was established. Medicare does not require closing the account. |
Source: IRS Publication 969, “Distributions From an HSA” and “Insurance premiums.” (IRS Publication 969: Health Savings Accounts)
If the account beneficiary is under 65, the age-based Medicare premium exception does not generally apply, even to a spouse’s Medicare premiums. Ask your tax professional before reimbursing a premium. Other premium exceptions have separate rules. (IRS Publication 969: Health Savings Accounts)
For premiums withheld from a Social Security benefit, keep the statement showing what was paid and ask the custodian how to reimburse yourself. The qualified-expense, recordkeeping and no-double-reimbursement rules still apply. (IRS Publication 969: Health Savings Accounts)
How Medicare, HSAs and IRMAA interact
IRMAA is an income-related adjustment, not an HSA contribution rule. SSA generally looks at adjusted gross income plus tax-exempt interest from 2 years earlier. Qualified HSA distributions are not included in federal income. Nonqualified distributions are taxable and may affect the income used in a later IRMAA calculation. (SSA: Medicare premiums for higher-income beneficiaries) (IRS Publication 969: Health Savings Accounts)
A deductible HSA contribution for an eligible period may affect adjusted gross income, but do not contribute for Medicare-covered months as an IRMAA strategy. Ask your tax professional to model the tax result and check eligibility rather than assuming an HSA removes an adjustment. (IRS Publication 969: Health Savings Accounts) (SSA: Medicare premiums for higher-income beneficiaries)
Use our IRMAA brackets and calculator page for annual context. Figures update each fall; this page does not quote unverified 2027 amounts. If retirement reduced income, our SSA-44 guide explains when a life-changing-event review may fit.
What if contributions overlapped Medicare coverage?
Gather the Part A effective date, annual HSA records and employer amounts. Have your tax professional compare the allowable annual limit with all contributions, including any period made ineligible by retroactive Medicare. IRS Publication 969 describes excess-contribution treatment and correction procedures. Do not assume an ordinary withdrawal is the correct fix. (IRS Publication 969: Health Savings Accounts)
The custodian and tax professional can coordinate the applicable correction, earnings treatment and tax reporting. We can explain the Medicare dates to verify with SSA, but we do not prepare tax corrections.
A Medicare-and-HSA coordination checklist
- Confirm whether any part of Medicare is already active and verify the Part A effective date with SSA.
- If applying after 65, map possible retroactive months before setting the last payroll and employer contributions.
- Have HR and the tax professional reconcile contributions by tax year and eligible month.
- Keep premium and qualified-expense records; separate Medigap premiums from Medicare premiums.
- Coordinate income questions with the tax professional and Medicare questions with a licensed agent.
Professional readers can also use our Medicare Guide for CPAs and Financial Advisors and Part B and Part D penalty calculator.
Medicare questions by phone
801-255-5341
Mon–Fri 9am–5pm MT · TTY 711
No cost to talk with us.
Questions we hear
Can you have an HSA and Medicare?
Yes. You can keep an existing HSA and use its funds for qualified medical expenses. But your HSA contribution limit is zero for each month enrolled in Medicare, including Part A alone and retroactive Medicare-covered months.
Can you use HSA funds for Medicare premiums?
Generally yes when the HSA account beneficiary is 65 or older: Part B, Part D and Medicare Advantage premiums can qualify. Medigap premiums are excluded from this exception. Keep records and ask your tax professional to confirm the expense.
Must everyone stop HSA contributions 6 months before turning 65?
No. The six-month precaution concerns delayed Medicare applications that can result in retroactive Part A. Contributions must fit eligible months before the actual Medicare start date. Confirm dates with SSA and the allowable annual total with a tax professional.
Can an employer contribute after Part A starts?
Employer amounts count toward the same annual HSA limit. Medicare-covered months do not create contribution eligibility. A tax professional should check eligible-month limits and contribution-year allocation, including any later deposit for a prior eligible period.
Can you pay Medigap premiums with an HSA?
Medigap premiums are excluded from the age-based HSA insurance-premium exception for Medicare coverage. Other qualified, unreimbursed medical expenses may still be paid from the account.
Do HSA withdrawals raise IRMAA?
Qualified HSA distributions are not included in federal income. Nonqualified distributions are taxable and may affect the income used for a later IRMAA calculation. Ask your tax professional to confirm your income and recordkeeping.
Sources and rule references
References checked November 6, 2026 (MT). Use the current agency instructions for a personal decision.