Claim Social Security After 65 and Medicare Backdates 6 Months. Keep Funding an HSA and the IRS Penalizes Every Dollar.
Delaying Social Security past 65 rewards patience with a bigger check, but the enrollment paperwork quietly triggers a six-month lookback that can turn every recent HSA contribution into a penalized excess, and almost nobody sees it coming.
This post may contain links from our sponsors and affiliates, and Flywheel Publishing may receive compensation for actions taken through them.
The trap here is procedural. A worker past age 65 keeps a high-deductible employer-sponsored health plan, continues funding a health savings account, and decides to delay Social Security to lock in a larger check. Then, sometime after 65, they file. The Social Security Administration automatically enrolls them in Medicare Part A, and Part A coverage is backdated up to 6 months from the filing date. Every HSA dollar contributed during that retroactive window becomes an excess contribution in the eyes of the IRS.
The mechanical rule sits inside HSA eligibility. To contribute to an HSA in any month, a person cannot be enrolled in any part of Medicare during that month. Part A enrollment is not a choice once Social Security starts, and the six-month lookback is not optional. A person who claimed benefits in July and had been contributing $500 a month to an HSA since January now has six months of contributions that the tax code treats as never having been allowed.
How the Penalty Compounds
An excise tax of 6% is applied by the IRS to excess HSA contributions, and that penalty applies each year the excess remains in the account. Take a retiree who leaves $3,000 of newly disqualified contributions in an HSA. They pay 6% in the first year, 6% in the second year, and so on until the money is withdrawn or absorbed into a future year’s contribution room. Since Medicare enrollment ends new HSA eligibility permanently, absorption is not an option. The dollars have to come out, along with any earnings attributable to them, or the tax repeats indefinitely.
The opportunity cost is concrete. As of July 28, 2026, the 10-year Treasury yield sat at 4.61%, meaning risk-free money already had a use. A retiree pulling excess HSA dollars back into taxable form, then paying 6% to the IRS on top, is running the same balance backward against a benchmark that rewards leaving it invested.
Why the Timing Bites Retirees Specifically
Healthcare is one of the larger line items for older households. Average annual consumer expenditures across all U.S. households were $78,535 in 2024, up from $72,973 in 2022, and medical spending accounts for an increasing share of that total as workers age past 60. An HSA is the most tax-favored account available for those costs, which is why people keep feeding it past 65 in the first place.
Medicare itself carries recurring costs. The standard Part B premium in 2026 is $202.90, up $17.90 from $185.00 in 2025, with a Part B deductible of $283. The Part A inpatient deductible is $1,736 in 2026, up $60 from $1,676 in 2025. Those numbers climb faster than the 2.8% Social Security COLA for 2026, which is the mechanical reason many workers try to hold off on claiming.
The delayed retirement credit is the other side of that math. Benefits increase by about 8% for each year past full retirement age that a person waits to claim, up to age 70, and decrease by up to 30% if a person claims at 62 instead of full retirement age. The reward for waiting is what makes the HSA collision a real behavioral trap: workers optimizing one system trigger a penalty inside another.
What the Numbers Suggest
The interaction is fixable if the sequence is respected. Three actions align the rules:
- Stop HSA contributions at least six months before filing for Social Security if that filing happens after age 65. The six-month backdate window on Part A is the operative constraint.
- Withdraw any excess contributions, along with earnings, before the tax filing deadline for the year in question. Doing so avoids the recurring 6% excise tax, though the withdrawn amount is taxed as ordinary income.
- Redirect the payroll dollars that were flowing to the HSA. The account still allows tax-free qualified medical distributions in retirement, so the existing balance keeps its purpose. New savings can be moved to an IRA, a taxable brokerage account, or Medicare-related premium reserves.
The rules do not warn anyone in advance. The Social Security claim form does not flag the HSA consequence, and the HSA custodian is unaware that Medicare enrollment is approaching. The penalty exists because two federal programs share a boundary, and the paperwork inside each one assumes the other is not happening.
Contact [email protected] for any questions or corrections.







