I get this question all the time. Should you focus on your 401(k), or does a Health Savings Account deserve more attention?
Here is how I see it.
Yes, investing in a Health Savings Account, or HSA, is usually worth it after you’ve captured your full 401(k) employer match. An HSA provides tax advantages that a 401(k) simply cannot offer. Contributions are tax-deductible. Investments grow tax-free. Withdrawals for qualified medical expenses are tax-free. When the HSA is self-directed, it also opens the door to broader investment options than most 401(k) plans.
That does not mean an HSA replaces a 401(k). It does not. Instead, it becomes the most efficient place to put additional retirement dollars once the employer match is secured.
HSA vs 401(k): Key Differences
| Feature | Self-Directed HSA | Traditional 401(k) |
|---|---|---|
| Contributions | Pre-tax, may avoid FICA via payroll | Pre-tax, FICA applies |
| Investment growth | Tax-free | Tax-deferred |
| Withdrawals | Tax-free for medical expenses | Taxed as ordinary income |
| Non-medical withdrawals | Tax plus 20% penalty before 65, no penalty after | Tax plus 10% penalty before 59½ |
| Required minimum distributions | None | Required at statutory age |
| Investment options | Broad if self-directed | Limited to plan lineup |
| Contribution limits (2025) | Lower | Much higher |
| Employer match | Sometimes | Common |
Why an HSA Can Be More Valuable After the Match
A 401(k) defers taxes. An HSA can eliminate them entirely. That distinction matters more the longer you invest, especially because healthcare costs tend to rise in retirement.
An HSA allows you to:
- Deduct contributions today
- Let investments grow without annual tax drag
- Withdraw funds tax-free for qualified medical costs at any age
No other account combines all three of these benefits. From a pure tax efficiency standpoint, that is hard to ignore.
How a Self-Directed HSA Changes the Outcome
Most HSAs limit you to cash or a short list of mutual funds. That is fine for some investors, but it is restrictive.
A self-directed HSA expands those options to include real estate, private funds, and other alternative assets, depending on the custodian.
If your 401(k) already concentrates your savings in public markets, this flexibility can add meaningful diversification and long-term growth potential. I always tell investors that control and optionality matter. A self-directed HSA gives you both.
Book a free call with a self-directed retirement specialist
- Review your self-directed retirement options
- Learn about investing in alternative assets
- Get all of your questions answered
Why Healthcare Costs Make the Health Savings Account a Retirement Tool
This is where I have seen many people miss the bigger picture.
HSAs allow delayed reimbursement. You can pay medical expenses out of pocket today, keep the receipts, and reimburse yourself years later tax-free. In practical terms, that turns the HSA into a retirement account earmarked for healthcare, while still preserving flexibility for future withdrawals. A 401(k) does not offer that structure.
Where the 401(k) Still Comes First
The employer match should always be prioritized. It is an immediate, guaranteed return. No tax strategy can outperform free money.
The 401(k) also offers much higher contribution limits. If your goal is to build retirement savings at scale, you need that capacity.
Recommended Contribution Order
For most high earners, I believe the optimal sequence looks like this:
- Contribute to the 401(k) up to the full employer match
- Max out the HSA and invest the balance
- Return to the 401(k) and contribute additional dollars
- Use Roth or taxable accounts as needed
This approach captures free money first, maximizes tax efficiency second, and then focuses on building scale.
When a Self-Directed Health Savings Account Makes the Most Sense
A self-directed HSA is particularly compelling if you:
- Are in a higher tax bracket
- Can pay current medical expenses out of pocket
- Want investment flexibility beyond mutual funds
- Plan to invest the account for the long term
It is less compelling if you rely on frequent HSA withdrawals or prefer minimal complexity.
Key Takeaways
- The 401(k) employer match should always come first
- An HSA offers unmatched tax efficiency
- Self-directed HSAs add diversification and control
- HSAs and 401(k)s serve different purposes
- Using both accounts in the right order produces better results than choosing one
Bottom Line
In my view, a self-directed HSA is often worth prioritizing after the 401(k) match because it solves problems a 401(k) cannot, particularly around taxes and healthcare costs.
When you use both accounts together, and fund them in the right sequence, you create a more flexible and tax-efficient retirement strategy than either account alone.

About the Author
Adam Bergman is a tax attorney and the founder of IRA Financial, one of the largest Self-Directed IRA platforms in the United States. He has helped more than 27,000 clients take control of their retirement savings, overseeing over $5 billion in retirement assets. Adam is also the author of nine books focused on helping investors understand and confidently manage their retirement strategies.