Stop building HSA contribution capacity with the first month your Medicare coverage takes effect, including retroactive months. If you apply for premium-free Part A after 65, coverage can reach back up to six months. Plan the payroll cutoff before applying, then confirm the actual effective date. Your application date is not necessarily your coverage date.
Find the effective month first
RJP's retirement-planning overview covers the broader healthcare transition. For this decision, gather your Medicare award notice, planned Social Security application date, health-plan coverage dates and HSA deposit history. CMS explains that premium-free Part A can start up to six months before an application for Medicare or Social Security. The age-65 entitlement boundary can shorten that period. Do not apply a six-month subtraction without confirming your own record.
IRS Publication 969 says your contribution limit is zero beginning with the first Medicare month, including retroactive coverage. Keeping an employer high-deductible health plan does not override Medicare. The restriction includes employer-funded contributions and pretax payroll deposits, not just personal checks. Reaching age 65 alone is not the same as enrolling in Medicare, but enrollment and benefit applications require advance coordination.
If the notice says Part A began April 1, April is not an eligible contribution month. March is the last potentially eligible month, assuming you met every other HSA requirement then. An October application with an April effective date therefore calls for reviewing months already past. Ask Social Security about uncertain entitlement dates rather than relying on a coworker's timeline.
Recalculate the year, not just the last paycheck
The normal calculation adds one-twelfth of the applicable annual limit for each eligible month. Eligibility generally looks to the first day of the month. Changes between self-only and family coverage matter. The Form 8889 instructions provide the monthly worksheet. An age-55 catch-up also depends on eligible months; it is not automatically available in full because you reached that birthday.
Hypothetical 2026 example: you have qualifying self-only coverage for January through March and Medicare effective April 1. The 2026 base limit is $4,400 under Revenue Procedure 2025-19. Three eligible months produce $1,100. If you also qualify for the $1,000 annual catch-up, three-twelfths adds $250, for $1,350 total. This assumes no other limitation, coverage change or prior testing-period issue.
Deposit timing and contribution-year capacity are different. You may still be able to make a properly designated prior-year contribution before its deadline after Medicare starts. A deposit made later is not permission to count Medicare months. Ask your preparer which tax year it belongs to and how much unused capacity remains. Do not treat every post-enrollment deposit as automatically excess without doing that reconciliation.
Coordinate payroll and preserve the calculation
Give payroll a written stop instruction covering salary reductions and employer deposits. Confirm the final deposit, its designated tax year and any employer true-up. Add deposits across all your HSAs; multiple accounts do not multiply the limit. Compare that total with the recalculated allowance before deciding whether a correction is needed.
If you used the last-month rule in an earlier year, Medicare during its testing period can create separate income inclusion and an additional tax. Have the preparer review that issue rather than calling every adjustment a current-year excess. Keep the award notice, monthly worksheet, payroll correspondence and custodian statements together.
RJP can discuss healthcare costs within retirement income planning. Social Security determines Medicare entitlement, payroll stops deposits and your tax professional determines contribution treatment. Our retirement life-event guide provides the wider beneficiary and document checklist. These are federal rules for Arizona readers, not Medicare plan-selection advice. Sources checked October 22, 2026.