FSAs, HSAs, and what happens when you retire
These two accounts look alike while you are working and behave in opposite ways when you leave. Your flexible spending account ends on your separation date, and any money left in it is gone. Your health savings account is yours permanently, and you can spend it for the rest of your life.
6 min read · By RetireCiv Editorial · Updated July 19, 2026
Why do these two accounts end so differently?
Because you own one of them and you do not own the other. A health savings account is your property, held in your name at a bank. A flexible spending account is an arrangement with your employer, and it ends when the employment does.
The consequence is stark at retirement. Annuitants cannot participate in any FSA program, full stop. There is no continuation option, no way to keep contributing, and no equivalent of the coverage extensions that exist elsewhere in federal benefits.
An HSA carries no such rule. It survives changing health plans, leaving federal service, and retiring, and the balance rolls forward indefinitely with no deadline to spend it.
Which one you have depends on your health plan. An HSA requires enrollment in a high-deductible health plan, so most federal employees have an FSA and only those who chose an HDHP have an HSA.
What happens to each account when you retire
| Health care FSA | Health savings account | |
|---|---|---|
| At your separation date | Terminates | Unaffected |
| Money left over | Forfeited | Stays yours indefinitely |
| Can you contribute as a retiree? | No, never | Yes, until you enroll in Medicare |
| Requires a specific health plan? | No | Yes, a high-deductible plan |
Can I keep my FSA after I retire?
No. Federal law bars annuitants from participating in any flexible spending account program, and FSAFEDS has no continuation option. The only exception is a reemployed annuitant, who is treated as an employee again. Retiring genuinely ends your participation rather than pausing it.
Do I lose my HSA when I leave federal service?
No. The account belongs to you, not to your employer or your health plan. You keep it when you change plans, when you leave federal service, and when you retire. The balance carries forward with no deadline, and you can spend it on qualified medical expenses for the rest of your life.
What happens to money left in your FSA?
For health care, you lose it, and the cutoff is sharper than most people expect. Your health care FSA terminates as of your separation date. Expenses incurred before that date are still reimbursable. Expenses incurred after it are not.
The timing catches people who front-loaded their spending. If you accelerated your allotments earlier in the year, the money already withheld does not buy you coverage past your last day. There are no extensions.
Dependent care works differently, and this is the exception worth knowing. A dependent care FSA balance can continue to be used for eligible expenses until the balance runs out or the calendar year ends, whichever comes first.
The practical move is to plan your final year deliberately. If you know your retirement date, elect an amount you can realistically spend before it, and schedule the dental work or the new glasses while you are still an employee.
What happens to my FSA balance when I retire mid-year?
Your health care FSA ends on your separation date and any unspent balance is forfeited. You can still claim expenses you incurred before that date, but nothing after it. A dependent care FSA is treated more generously: the remaining balance can keep paying eligible expenses until it is depleted or the year ends.
Should I still enroll in an FSA the year I retire?
It can still work, but size the election to what you will actually spend before your separation date rather than to a full year of expenses. Because the account closes when you leave, an election based on twelve months of spending will usually leave money behind. We describe the mechanics here rather than recommending an amount.
Why must you stop HSA contributions before Medicare?
Enrolling in Medicare ends your ability to contribute, immediately. Beginning with the first month you are enrolled in Medicare, your HSA contribution limit is zero. Spending the account is still fine; adding to it is not.
The trap is retroactive coverage, and it is genuinely easy to fall into. When you claim Social Security after 65, Medicare Part A enrollment can be backdated by several months. Contributions you made during that backdated window become excess contributions, with a tax consequence attached, even though you did nothing wrong at the time.
Anyone planning to work past 65 while contributing to an HSA should think about this before claiming. Stopping contributions several months ahead of an anticipated Medicare start is the usual way people avoid the problem.
None of this touches the balance you already have. Existing funds stay yours, keep growing, and remain spendable. Only new contributions are affected.
Can I contribute to an HSA once I have Medicare?
No. Your contribution limit drops to zero starting with the first month you are enrolled in Medicare, including Part A alone. Your existing balance is untouched and remains fully spendable. The restriction applies only to putting new money in.
What is the retroactive Medicare problem with HSAs?
When you claim Social Security after 65, Medicare Part A can be backdated by several months. Any HSA contributions made during that retroactive period become excess contributions and carry a tax consequence, even though the coverage did not exist when you made them. People working past 65 usually stop contributing well ahead of claiming to avoid it.
What can you spend an HSA on in retirement?
Qualified medical expenses, which reach further in retirement than most people realize. Once you turn 65 you can use HSA funds for Medicare premiums, which turns the account into a way to pay Part B out of untaxed money.
One exclusion sits inside that rule. Medigap premiums do not qualify, even after 65. Medicare Part B, Part D, and Medicare Advantage premiums generally do.
The account also loosens up after 65 in a different way. The 20 percent additional tax on non-medical withdrawals disappears at that age, so the account starts behaving somewhat like a traditional retirement account. Ordinary income tax still applies to those withdrawals.
That combination is why some people treat an HSA as a long-term account rather than a spending account. To see how a pool of tax-free medical money fits alongside your pension and TSP, run your free readiness score, and check our assumptions for the figures behind the projections.
- Qualified medical expenses, at any age, are tax-free.
- Medicare Part B, Part D, and Advantage premiums qualify once you are 65.
- Medigap premiums never qualify.
- After 65, non-medical withdrawals lose the 20 percent penalty but remain taxable.
- There is no deadline to spend the balance and no required distribution.
Can I pay Medicare premiums from my HSA?
Yes, once you are 65 or older. Medicare Part B, Part D, and Medicare Advantage premiums are qualified medical expenses, so paying them from an HSA is tax-free. Medigap premiums are the exception and never qualify. This makes an HSA one of the few ways to pay Medicare costs with money that was never taxed.
What happens if I use HSA money for something non-medical?
Before 65 you owe ordinary income tax plus an additional 20 percent tax. From 65 onward the 20 percent tax no longer applies, though the withdrawal is still ordinary income. That change is why the account becomes more flexible in retirement, functioning a little like a traditional retirement account for non-medical spending.
Are there required minimum distributions from an HSA?
No. Unlike a traditional TSP balance or a traditional IRA, an HSA has no required minimum distributions during your lifetime. You are never forced to draw it down, which is what allows the balance to keep growing tax-free through retirement if you can cover medical costs from elsewhere.