HSA vs FSA vs 401(k): Which to Max First?

Most people are eligible for three tax-advantaged accounts and use none of them properly. The order you fill them in is not a matter of preference — one of them provides an immediate guaranteed return that the others cannot match.

What each account actually is

HSA — a Health Savings Account, attached to a high-deductible health plan. Contributions are pre-tax, the balance grows tax-free, and you can invest it. It is portable between employers and it belongs to you. At 65, unused money becomes tax-free ordinary income.

FSA — a Flexible Spending Account through your employer. Contributions are pre-tax, but the money must be spent on eligible expenses within the plan year, with a grace period of up to 2.5 months and sometimes a small carryover. You cannot invest it.

401(k) — a workplace retirement plan. The 2026 contribution limit is $24,500 ($30,500 with the 50+ catch-up). It may offer a match, and you can choose pre-tax or Roth treatment. Contributions are generally locked until 59½ without penalty, though plan loans avoid the penalty.

The order, and the reasoning

  1. 401(k) to the full employer match. A 50% match on 6% of your salary is a guaranteed 50% return, tax-advantaged, requiring no market risk. Nothing else comes close. Many people leave this on the line because the default election was set in 2015 and never revisited.
  2. HSA, if you are eligible. It is the only one of the three that is a genuine investment account with no expiry and no penalty. If you are near 65, it is also a retirement account with the best tax treatment available.
  3. 401(k) to the limit, or an IRA. The IRA limit is separate from the 401(k) limit, so an IRA lets you save more overall. A traditional IRA is often better than a Roth 401(k) because the limits do not compete.
  4. FSA last. It is the only one that expires, which makes it the right tool for a known, large medical expense and the wrong tool for everything else.

The eligibility gate

None of this applies unless you qualify. An HSA requires a high-deductible health plan — in 2026, a deductible of at least $1,800 for self-only coverage or $3,600 for family coverage. Most employer plans are PPOs with lower deductibles, which means a large share of employees cannot open an HSA at all.

And you cannot have an HSA and a general-purpose FSA. The IRS treats them as covering the same expenses, so holding both disqualifies you from contributing to the HSA and requires correcting your contributions. A limited-purpose FSA covering only dental and vision is compatible and is the standard combination.

The HSA trick that changes the maths

Because the HSA is an account rather than a spending card, you do not have to use it to reimburse expenses in the year you contribute. You can pay claims out of pocket, keep the receipts, and reimburse yourself years later for expenses incurred after the HSA was opened.

This is why many people with an HSA simply decline the FSA and keep the receipts. It converts a use-it-or-lose-it account into a full retirement account without changing anything about how you use your money day to day.

What the numbers look like

Contributing $3,000 to each, with a $1,000 employer HSA contribution and a $1,500 401(k) match, over 30 years at a 6% return, 24% tax now and 25% later:

  • HSA: the $4,000 grows to about $22,974. Using 60% for medical expenses, that portion is untaxed and the remainder is taxed at 25% at 65, leaving roughly $20,677.
  • 401(k): the $4,500 grows to about $25,846, taxed at 25% on withdrawal, leaving about $19,384.
  • FSA: $3,000 of pre-tax money spent on medical costs, with no growth and roughly 15% typically forfeited.

The HSA wins because it combines a current-year deduction with tax-free growth and no expiry. The 401(k) is close behind, and its match tips it ahead of the HSA for anyone who has not yet captured it.

The mistake to avoid

The most expensive error is contributing to the FSA and the 401(k) while leaving the employer match uncaptured, and never opening an HSA at all. That ordering forfeits an immediate 50% return in favour of a benefit that only applies if you have qualifying medical expenses in a particular year.

Open the HSA, capture the match, then use the FSA for the expenses you were going to have anyway.

Tools mentioned in this guide