HSA Tax Strategy for High Earners: Fund It After the 401(k)
Back to the Archive
Tax Strategy8 min readAugust 27, 2026

HSA Tax Strategy for High Earners: Fund It After the 401(k)

Phil Pickle
Phil Pickle

Managing Partner at Anchor Financial Group

Reviewed · August 20, 2026

An HSA tax strategy for high earners is worth pursuing because a Health Savings Account offers something no other account does: money can go in pre-tax, grow tax-free, and come out tax-free when used for qualified medical expenses. That is three tax breaks in one account. If you have already maxed your 401(k) and you are enrolled in a qualifying high-deductible health plan, funding an HSA is often the next most tax-efficient dollar you can set aside.

What is the HSA triple tax advantage?

Most tax-advantaged accounts give you one break. A traditional 401(k) gives you a deduction now but taxes withdrawals later. A Roth gives you tax-free withdrawals but no deduction today. An HSA is unusual because it can deliver both, plus tax-free growth in between.

Health Savings Account (HSA)
A tax-advantaged account available to people enrolled in a qualifying high-deductible health plan, used to pay for qualified medical expenses.
High-Deductible Health Plan (HDHP)
A health plan with a deductible and out-of-pocket maximum that meet IRS thresholds. Enrollment in one is required to contribute to an HSA.
Qualified medical expense
A cost the IRS allows to be paid tax-free from an HSA, such as doctor visits, prescriptions, dental, and vision care.

Here are the three advantages, one at a time:

  1. Going in: Contributions are generally tax-deductible (or pre-tax if made through payroll), which lowers your taxable income for the year.
  2. Growing: Once your balance is invested, earnings are not taxed while they stay in the account.
  3. Coming out: Withdrawals used for qualified medical expenses are not taxed at all.
No other account lets a dollar avoid tax on the way in, on its growth, and on the way out. For a high earner, that combination is rare and worth using.

Why should high earners fund an HSA after maxing the 401(k)?

If you are a high earner, you may have already maxed your 401(k) and looked for the next efficient place to put money. The HSA often deserves a look before a taxable brokerage account, and here is the logic.

A dollar in a taxable account is taxed on its growth every year through dividends, interest, and eventual capital gains. A dollar in an HSA is not. And because you are almost certain to have medical expenses over your lifetime, especially in retirement, dollars set aside for that purpose can be withdrawn without tax at all. That makes the HSA one of the few accounts where the money can escape tax at all three stages.

There is also a longevity angle. An HSA has no required minimum distributions during your lifetime, unlike a traditional IRA or 401(k). You are not forced to draw it down on a schedule. That flexibility can matter when you are coordinating income across many accounts. For a broader look at drawdown order, see our guide on how to reduce taxes on IRA distributions and 401(k) withdrawals.

How an HSA compares to other accounts

AccountDeduction going in?Tax-free growth?Tax-free withdrawals?
Traditional 401(k)YesYesNo (taxed as income)
Roth 401(k) / Roth IRANoYesYes (qualified)
Taxable brokerageNoNoNo (capital gains apply)
HSAYesYesYes (for qualified medical)

This is a general comparison of how these account types are treated under current federal rules, not a recommendation of any specific account or product. Your situation, eligibility, and current law determine the outcome.

Who is eligible to contribute to an HSA?

Eligibility is stricter than for a 401(k). To contribute in a given month, you generally must:

  • Be enrolled in an HSA-qualified high-deductible health plan (HDHP).
  • Have no other disqualifying health coverage, such as a general-purpose Flexible Spending Account or most other non-HDHP plans.
  • Not be enrolled in Medicare.
  • Not be claimed as a dependent on someone else's tax return.

The IRS sets the HDHP deductible and out-of-pocket thresholds, and the annual contribution limits, each year. These figures change most years, so always confirm the current numbers directly at IRS.gov rather than relying on last year's amounts. There is also an additional catch-up contribution allowed for those age 55 and older.

The single most common HSA mistake is contributing while ineligible. Enrolling in Medicare, in particular, ends your ability to contribute, and the timing rules around it catch many high earners off guard.

How do you use an HSA as a long-term tax strategy?

Many people use an HSA like a checking account for medical bills, spending it down each year. High earners who can afford to pay current medical costs out of pocket sometimes take a different approach: they contribute, invest the balance for growth, and leave it to compound.

Under IRS rules, you can reimburse yourself for a qualified medical expense at any time in the future, as long as the expense occurred after you opened the HSA and you did not already deduct it elsewhere. That means saving receipts today can let you make tax-free withdrawals years later. This is a legitimate planning concept, but it depends on careful recordkeeping and on the rules staying as they are.

A few points to weigh with your own tax professional:

  • Keep records. Save documentation for every qualified expense you plan to reimburse later. Without it, a withdrawal may not qualify.
  • Mind the age-65 line. After 65, you can take money out for any reason and pay only ordinary income tax on non-medical withdrawals, similar to a traditional IRA. Medical withdrawals remain tax-free.
  • Coordinate, do not silo. An HSA is one piece of a larger picture that includes your 401(k), IRA, and taxable accounts. It works best when those pieces are planned together.

For self-employed readers and business owners weighing where retirement dollars go first, our comparison of a SEP IRA versus a Solo 401(k) pairs well with HSA planning. And if managing tax exposure over time is your goal, the difference between tax compliance and tax strategy is the mindset that ties all of this together.

What are the limits and trade-offs to consider?

An HSA is powerful, but it is not the right first move for everyone. Consider these trade-offs:

  • You must be comfortable with an HDHP's higher deductible, which can mean larger out-of-pocket costs before insurance pays.
  • Contribution limits are modest compared with a 401(k), so an HSA supplements retirement savings rather than replacing them.
  • Non-qualified withdrawals before age 65 are taxed and typically hit with an additional penalty.
  • State tax treatment can differ from federal treatment in a small number of states.

The point is not that an HSA beats every other account. The point is that for a high earner who has already maxed the 401(k), qualifies for an HDHP, and can afford to leave the balance invested, the HSA is one of the few remaining places to put a dollar that can avoid tax at all three stages.

Frequently asked questions

Can I contribute to an HSA if I already max my 401(k)?

Yes. HSA eligibility is separate from your 401(k) contributions. As long as you are enrolled in a qualifying high-deductible health plan and meet the other IRS eligibility rules, you can fund an HSA on top of a fully funded 401(k).

What happens to my HSA money if I do not use it?

Unused HSA balances roll over year after year and remain yours for life. Unlike a general Flexible Spending Account, there is no "use it or lose it" rule, which is what makes long-term HSA investing possible.

Can I invest my HSA balance?

Many HSA custodians allow you to invest the balance once it reaches a minimum threshold. Investment earnings inside the account are not taxed while they remain in the HSA. This is a general feature, not a recommendation of any specific investment.

Do I lose HSA eligibility when I enroll in Medicare?

Yes. Once you enroll in Medicare, you can no longer contribute to an HSA, though you can still use the existing balance tax-free for qualified medical expenses. The timing around Medicare enrollment is a common source of errors, so confirm your situation with a qualified professional.

Are HSA withdrawals really tax-free?

Withdrawals used for qualified medical expenses are tax-free at the federal level. Withdrawals used for non-medical purposes before age 65 are taxed and usually carry an additional penalty. After 65, non-medical withdrawals are taxed as ordinary income.

Sources

  1. IRS Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans: eligibility rules, contribution limits, and qualified expense definitions.
  2. IRS Form 8889 and instructions: how HSA contributions and distributions are reported.
  3. Medicare.gov, Get Started with Medicare: enrollment rules that affect HSA contribution eligibility.

This article is for educational purposes only and does not constitute financial, tax, or legal advice. Anchor Financial Group is a registered investment adviser; investing involves risk, including the possible loss of principal, and past performance does not guarantee future results. Consult a qualified advisor about your specific situation.