How to Use an HSA as Part of Your Long-Term Financial Plan

Key Takeaways:
- An HSA can pay for medical bills now and in retirement. A health savings account (HSA) gives you tax breaks when money goes in, while it grows and when it comes out for medical costs, but only when you follow the eligibility and spending rules.
- Spending or investing your HSA starts with your cash cushion. Leaving HSA money invested may make sense when you can pay this year’s medical bills from other savings without draining your emergency fund.
- Medicare stops your HSA contributions, sometimes sooner than you expect. Part A coverage can be backdated up to six months when you sign up after 65, so plan your last contributions before you apply. The money already in the account is still yours to use.
Most people use their health savings account like a debit card for the doctor’s office. In 2024, only 18% of HSA owners had invested any of their balance beyond cash, and 56% took money out during the year, according to the Employee Benefit Research Institute.¹ Using an HSA that way is perfectly fine. It just leaves one of the account’s two jobs unused.
An HSA can pay this year’s medical bills, or it can hold money for healthcare costs that may show up decades from now. Which job it should do in a given year depends on your health plan, your cash flow and how close you are to Medicare. If you work in MedTech and your paycheck already funds a 401(k), an ESPP and other benefits, you’ll face that choice every year.
How Do HSA Tax Breaks Work?
An HSA gives you three separate tax breaks, which is why people call it “triple tax-advantaged.” Each break comes with a rule attached, so it helps to look at them in pairs:
Money Going In: Your contributions lower your taxable income, and contributions made through payroll usually skip income tax from the start. You can contribute only while you’re covered by an HSA-eligible health plan, called a high-deductible health plan (HDHP), and you can’t have other coverage that disqualifies you.²
Money While It Sits: Interest and investment growth inside the account aren’t taxed each year. Investments can also lose value, so the tax break only helps when the account actually grows.
Money Coming Out: Withdrawals for qualified medical expenses, like doctor visits, prescriptions and many dental and vision costs, are tax-free. Money taken out for anything else counts as taxable income, and before age 65 it usually carries an extra 20% tax as well.²
The IRS sets new contribution limits each year. Once you turn 55, you can add an extra $1,000 catch-up contribution on top of the regular limit.²
Should You Spend Your HSA Now or Invest It?
If you can pay this year’s medical bills from checking and still keep a solid emergency fund, leaving some HSA money invested may be worth considering. If paying those bills out of pocket would squeeze your budget, using the HSA now is a reasonable choice. Most households end up somewhere in between, and the right mix can change from one year to the next.
When Using Your HSA Now Makes Sense
An HSA exists to pay medical bills, so using it that way isn’t a mistake. It can make the most sense in a year with a surgery, a new baby or a long list of prescriptions.
It also fits when your emergency savings are thin. Draining your checking account to keep the HSA untouched can leave you short on cash when the car breaks down or a paycheck changes.
When Leaving the Money Invested May Fit
Investing your HSA works best when the rest of your finances can carry today’s costs. These signs suggest you may have room to let the balance sit longer:
- You have several months of living expenses saved outside the HSA.
- This year’s medical bills fit comfortably in your budget.
- You’re many years away from needing the money.
- Your HSA offers investment choices with reasonable fees.
- You can handle seeing the balance drop in a bad market year.
Splitting the Difference
Plenty of people pay some bills from the HSA and others out of pocket. For example, you might use the HSA for a large bill and pay small copays from checking, keeping those receipts so you can reimburse yourself later. Our team talks through this trade-off in the podcast episode Can You Build a Tax-Free Retirement Fund With an HSA?
How to Invest the Money Inside Your HSA
Many HSA providers let you move money from a cash account into mutual funds or other investments. Some make you keep a minimum amount in cash before you can invest the rest. Investment choices and fees differ from provider to provider, so read your provider’s investment menu and fee list before you move anything.
A good rule of thumb is to match each dollar to when you might need it. Money for next year’s deductible usually belongs in cash, while money set aside for healthcare 20 years from now has more time to ride out market swings. To figure out how much to keep in cash, look at a few details:
- Your expected medical costs for the next year or two.
- Your plan’s deductible and out-of-pocket maximum.
- The year you expect to start using the money for retirement healthcare.
Keep your bigger picture in mind, too. If your salary, stock awards and ESPP shares all depend on one employer, your HSA investments are part of the same household portfolio and should fit with everything else you own.
Why Saving Medical Receipts Can Pay Off Later
If you pay a qualified medical bill with your own money, you can generally reimburse yourself from your HSA later. That works as long as the expense happened after you opened the HSA, nobody else paid you back for it, and you didn’t deduct it on your tax return. This is the move people sometimes call the “HSA loophole,” and it only works with good records.
For each expense you might reimburse later, keep these details:
- The date of the service or purchase.
- The provider or store.
- What the expense was for.
- The amount you paid.
- Proof of payment, like a card statement or a paid invoice.
- A note that insurance, a flexible spending account or anyone else didn’t already cover it, and that you didn’t deduct it.
Store these records in a secure digital folder and look through them once a year. Old receipts don’t qualify automatically. An expense from before your HSA existed, or one that was already reimbursed, can’t come back out of the account tax-free.
How an HSA Can Help Pay for Healthcare in Retirement
After you retire, your HSA can pay many healthcare costs tax-free, including some insurance premiums it usually can’t touch while you’re working. IRS rules allow tax-free HSA withdrawals for many retirement costs.² These are the ones that tend to matter most:
Out-of-Pocket Medical Costs: Deductibles, copays, prescriptions and many dental, vision and hearing costs all count, just as they did before you retired.
Medicare Premiums: Once you’re 65, premiums for Medicare Part B, Part D and Medicare Advantage can count as qualified expenses. Medigap premiums (for the private plans that fill gaps in Original Medicare) don’t qualify.
Long-Term Care Insurance: Premiums qualify up to an IRS limit that goes up with your age.
Premiums alone add up. The standard Medicare Part B premium is $202.90 a month in 2026, which comes to about $2,435 a year for one person.³
There’s one thing to understand before you treat an HSA like an extra retirement account. After 65, you can spend HSA money on non-medical things without the extra 20% tax, but that money still counts as taxable income. The tax-free part only applies to qualified medical expenses.
What Happens to Your HSA When You Sign Up for Medicare?
You can’t add money to an HSA once your Medicare coverage starts. You can keep using the money already in the account for qualified expenses, including deductibles, copays and premiums.⁴
The timing can catch people off guard. When you apply for Medicare or Social Security benefits after age 65, premium-free Part A coverage can start up to six months before the date you apply. For that reason, the Social Security Administration suggests you stop HSA contributions at least six months before you apply.⁴ Coverage can’t be backdated earlier than the month you turned 65.⁵
This matters most if you keep working past 65 and stay on your employer’s HSA-eligible plan. Contributions made during those backdated months count as excess contributions, and you’d have to fix them with the IRS.
Please note: Your Medicare timing depends on your birthday, when you apply, and whether you still have employer coverage. Check your dates with your employer’s benefits team before you file. If you’re starting to plan the move from work to retirement, our page on financial planning for retirees and pre-retirees shows how we help with that change.
How an HSA Fits With Your 401(k), IRA and Other Savings
An HSA is one savings tool among several, and each one follows different rules for taxes and for getting money out. This table shows the main differences:
| Account | Main Purpose | Tax Treatment | Getting Money Out |
| HSA | Medical costs now or later | Pre-tax money in, untaxed growth, tax-free medical withdrawals | Anytime for qualified medical costs; other uses are taxed, plus an extra 20% before 65 |
| Pre-tax 401(k) | Retirement | Lowers taxable income now; withdrawals are taxed | Early withdrawals can bring taxes and penalties unless an exception applies |
| Roth IRA | Retirement | After-tax money in; qualified withdrawals are tax-free | Contributions can come out anytime; earnings follow extra rules |
| Taxable brokerage account | Any goal | No special tax break; gains and dividends are taxed | Anytime |
Which account gets your next dollar is a separate question, and our upcoming article on prioritizing your 401(k), HSA, ESPP and other benefits covers it. For the full set of benefits a MedTech employer may offer, see our guide to making the most of your MedTech employee benefits.
Some employers also put money into your HSA. To see how that works at specific companies, read what Boston Scientific employees need to know about their financial benefits or our episode on Medtronic benefits employees miss out on.
How Your HSA Plan Can Shift Over Your Career
Your HSA plan in your 30s probably won’t look like your plan at 62. This example shows how one person’s approach might change over time.
This example is hypothetical, for illustration only, and it ignores investment growth, taxes and inflation. Picture a 40-year-old MedTech engineer who puts $4,000 a year into her HSA and has about $1,500 in medical bills in a typical year. She pays $1,000 of those bills from the HSA, pays the other $500 from checking and saves those receipts. That leaves about $3,000 each year to invest for later.
By her early 60s, her focus changes. She moves the next few years’ expected medical costs into cash, estimates what Medicare premiums will cost, and picks the month her contributions should stop before she applies for Medicare. Your numbers and choices may look very different, and this example isn’t a recommendation for your situation. Our team helps MedTech professionals work through decisions like these as their careers move along.
A Yearly Checklist for Keeping Your HSA on Track
Your HSA plan works best when you look at it again each year, ideally during open enrollment. Use this short checklist:
- Confirm you’re still covered by an HSA-eligible plan. Starting in 2026, bronze and catastrophic plans count as HSA-compatible, and certain direct primary care arrangements no longer block contributions.⁶
- Estimate next year’s medical costs.
- Check how much cash you have outside the HSA.
- Review your provider’s investment choices and fees.
- Add the year’s receipts to your records folder.
- If you’re within a few years of 65, mark the month your contributions should stop.
- Make sure the HSA still fits with your other savings goals.
HSA Retirement Planning FAQs
1. What Happens to My HSA If I Leave My Job?
Your HSA belongs to you, so it stays with you when you leave an employer. Any employer contributions stop, and you can add new money only if you’re covered by another HSA-eligible health plan. You can still spend the balance on qualified medical expenses at any time.
2. Can I Use My HSA for My Spouse’s or Children’s Medical Bills?
Yes. You can generally use HSA money tax-free for the qualified medical expenses of your spouse and dependents, even if they aren’t covered by your health plan. The same recordkeeping rules apply to their expenses.
3. What Happens to an HSA When the Owner Dies?
If your spouse is the named beneficiary, the HSA generally passes to them and is treated as their own HSA. If someone else inherits it, the account generally stops being an HSA, and its value counts as taxable income to that person. Keeping your beneficiary form up to date helps the account go where you intend.
4. Can I Keep Contributing to an HSA If I Retire Before 65?
You can keep contributing only while you’re covered by an HSA-eligible health plan, like an HDHP through COBRA or a qualifying plan you buy yourself. HSA money can also pay COBRA premiums tax-free, which may help cover health insurance in the years before Medicare.
Coordinating Your HSA With the Rest of Your Financial Plan
Perspective 6 Wealth Advisors helps MedTech employees and other high-earning professionals decide how their HSA fits with their 401(k), equity compensation, taxes and retirement income. That includes working out how much to keep in cash, how the account fits with your other investments, and when contributions should stop as Medicare gets closer.
If you’d like help building an HSA plan around your benefits and your timeline, schedule a complimentary consultation with our team.
Resources:
- Employee Benefit Research Institute: Average HSA Balances Reach Record High, but Contributions and Investing Remain Limited
- Internal Revenue Service, Publication 969: Health Savings Accounts and Other Tax-Favored Health Plans
- Centers for Medicare & Medicaid Services: Medicare Parts A & B Premiums and Deductibles
- Social Security Administration: Medicare
- Medicare.gov: When Does Medicare Coverage Start?
- Internal Revenue Service: Guidance on New Tax Benefits for Health Savings Account Participants





