Fund the HSA Before the Extra 401(k). And Other Things Open Enrollment Doesn't Tell You.
Most benefits brochures tell you that pre-tax contributions “save you money on taxes” and leave it at that. Which is true, but it’s also where the explanation usually stops, and that’s the reason every November I get the same question from clients: I have $400 a month to put somewhere, where should it go? The honest answer is that it depends on your bracket, your state, whether you’re on a high-deductible plan, and whether your employer matches one account but not the others — and the ranking that falls out of doing the actual math is not the ranking most benefits portals nudge you toward. The portal usually leads with 401(k). The math usually leads with employer match, then HSA, then FSA, then additional 401(k). At least at the income levels where most clients sit.
This piece works through the why. Then it runs the math at three salary points (a $60,000 Texan, a $180,000 California couple, a $320,000 single New Yorker) and you can see how the right answer shifts as the marginal rates change.
What pre-tax actually means in code, not in marketing
The Internal Revenue Code authorizes specific buckets of pre-tax contributions through specific sections. Section 125 covers the cafeteria plan that wraps health, dental, vision, healthcare FSA, and dependent-care FSA. Section 401 covers traditional 401(k), 403(b), and 457(b). Section 132 covers commuter benefits and qualified parking. Section 223 covers the HSA. Section 79 covers group-term life under $50,000 of coverage. And each section, separately, specifies which of the three relevant tax bases its deduction reduces.
The three bases that matter on a US paycheck are federal income tax, Social Security (6.2% up to the $176,100 wage base in 2026), and Medicare (1.45% on everything, plus the 0.9% surtax over $200,000 of single-job wages). State income tax mostly follows the federal definition of taxable wages, but not always — Pennsylvania, for one, taxes 401(k) employee contributions at the state level even though they’re federally pre-tax. New Jersey does the same. Massachusetts has historically taxed HSA contributions at the state level even though they’re federally pre-tax. A handful of other corners of the state code work the same way. Always check your state.
The matrix that matters
| Deduction | Reduces federal income tax? | Reduces FICA? | Reduces state tax in most states? |
|---|---|---|---|
| Traditional 401(k) / 403(b) / 457(b) | Yes | No | Usually (PA, NJ exceptions) |
| Roth 401(k) | No | No | No |
| Traditional IRA contributed outside payroll | Yes, if deductible | N/A | Usually |
| HSA via payroll under Section 125 | Yes | Yes | Usually (NJ, CA, AL state exceptions) |
| HSA contributed personally | Yes (above-the-line) | No | Usually |
| Healthcare FSA | Yes | Yes | Usually |
| Dependent Care FSA | Yes | Yes | Usually |
| Health / dental / vision premium under Section 125 | Yes | Yes | Usually |
| Commuter or parking under Section 132 | Yes | Yes | Most states |
| Group-term life under $50,000 of coverage | Yes | Yes | Usually |
The line of that table that does most of the work is the 401(k) row. It reduces federal income tax. It does not reduce FICA. Health premiums, HSA-through-payroll, FSA, dependent-care FSA, and commuter all reduce all three bases. That’s where the “HSA before extra 401(k)” rule comes from — the HSA dollar saves an extra 7.65% on payroll tax that the 401(k) dollar doesn’t.
2026 limits, since people always ask
401(k) / 403(b) / 457(b) elective deferral is $23,500 for the under-50 crowd. Catch-up at 50+ adds $7,500. The SECURE 2.0 super catch-up at ages 60 through 63 replaces the standard catch-up with $11,250. Total annual additions to a 401(k) (Section 415(c), which includes employer match and after-tax non-Roth dollars) is $70,000. HSA: $4,400 self-only, $8,750 family, $1,000 catch-up at 55+. Healthcare FSA: $3,300, with a $660 federal carryover ceiling if your plan permits carryover. Dependent-care FSA: $5,000 per household ($2,500 MFS). Commuter transit and qualified parking: $325 per month each. Traditional or Roth IRA: $7,500 under 50, $8,500 at 50 or older.
The $60,000 Texan
Imagine Maria, 32, earning $61,400 in Houston. No state income tax. She’s thinking about a $4,800-a-year ($400-a-month) traditional 401(k) contribution. Her federal marginal bracket is 12% (taxable income works out to roughly $43,900 after the standard deduction, which is comfortably inside the 12% band that runs to $50,400). Without the 401(k), her federal tax is roughly $4,968 and her FICA is roughly $4,697. Add the $4,800 401(k) and her federal tax drops by 12% of $4,800, or $576. FICA doesn’t change. Her net pay drops by $4,800 - $576 = $4,224. So she’s “buying” $4,800 of retirement at a real out-of-pocket cost of $4,224. The tax savings ratio is 12 cents on the dollar.
Now imagine she puts the same $4,800 into a healthcare FSA instead, assuming she has $4,800 of qualifying medical expenses each year (which is a real assumption to test before you commit — FSA dollars are forfeitable past the $660 carryover). The FSA saves 12% federal plus 7.65% FICA = 19.65% × $4,800 = $943. That’s a meaningfully bigger savings ratio than the 401(k) at her marginal rate. The catch is obviously that the 401(k) is permanent retirement savings she can use however she wants in retirement, while the FSA dollars have to be spent on qualified medical care or forfeited. Different products, not interchangeable. But if she has the medical expenses anyway, the FSA dollar is cheaper than the 401(k) dollar to the tax system.
The $180,000 MFJ couple in San Diego
Chris and Jordan, both 38, $180,000 combined W-2 in San Diego. They have one income just over $100,000 and one in the high $70,000s. Federal marginal is 22%. California marginal at their AGI is 9.3%. Combined marginal on ordinary income (federal + state, ignoring FICA on the 401(k) since 401(k) doesn’t reduce FICA) is 31.3%. They’re both on the same HDHP through Chris’s employer.
Maxing the family HSA at $8,750 saves 22% federal + 7.65% FICA + 9.3% California = 38.95% × $8,750 = $3,408 in first-dollar tax savings. Maxing Chris’s 401(k) at $23,500 saves 22% federal + 9.3% California = 31.3% × $23,500 = $7,356 (no FICA savings). Combined first-dollar tax savings if they max both: $10,764. Their net contribution cost across the two accounts is $32,250 - $10,764 = $21,486. In after-tax terms, they’ve bought $32,250 of tax-advantaged retirement and medical savings for $21,486 in real money. That’s a 33% effective discount on the contributions if they have the cash flow to fund them.
The $320,000 single filer in Manhattan
Sam, 47, $320,000 W-2 in NYC. Federal marginal at this income is 32%. New York State is 6.85%. New York City is 3.876%. Sam is also into the 0.9% Additional Medicare Tax range above $200,000, plus the standard 1.45% Medicare. So Sam’s combined marginal on the next dollar is approximately 32 + 6.85 + 3.876 + 1.45 + 0.9 = 45.08%. That’s wild, but it’s also why every additional pre-tax dollar is so valuable.
Maxing the 401(k) at $23,500 saves 32 + 6.85 + 3.876 = 42.726% × $23,500 = $10,041, since 401(k) doesn’t reduce FICA. Maxing the HSA at $4,400 (self-only HDHP) saves the full 45.08% × $4,400 = $1,984. Maxing the healthcare FSA at $3,300 saves another 45.08% × $3,300 = $1,488. If Sam has commuter eligibility and uses $325 a month transit and $325 a month parking, that’s another $7,800 of annual pre-tax × 45.08% = $3,516. Add them up: $17,029 of federal-plus-state-plus-local-plus-FICA tax saved by filling four buckets. That’s a real number. It’s also why people in Sam’s bracket who don’t max these accounts are leaving five figures on the table every year.
Traditional or Roth 401(k) (the question I get most)
The textbook break-even rule is: contribute traditional if your current marginal rate is higher than your expected retirement marginal rate; contribute Roth if the reverse. That’s the right starting point, but a few things complicate it in practice.
First, the employer match is always traditional even if you’re contributing Roth (the rules changed with SECURE 2.0 to allow Roth match, but plan adoption has been slow). So you naturally diversify into both buckets as long as you take the match. Second, retirement marginal rates are not just a function of your withdrawal income; they’re a function of where you live in retirement. A traditional 401(k) contribution made while living in California, with retirement planned in Nevada or Texas, throws away the California-state-tax dollars you already paid. If you’re planning a move to a no-income-tax state at retirement, traditional is even better than the federal-only math suggests.
Third, there’s a hidden Roth IRA conversion path. You can fill the Roth bucket later via Roth conversions in low-income gap years (early retirement, sabbatical, between jobs) at much lower marginal rates than you’d pay during working years. Tilting more aggressively toward traditional during peak earning years and converting in retirement is usually the higher-IQ play, but it requires the discipline to actually do the conversions when the time comes. Most people don’t.
The HSA: the most underused vehicle in the code
You qualify if you’re enrolled in an HSA-compatible High Deductible Health Plan (HDHP) and you have no other disqualifying coverage. The HSA is the only account in the entire US code that’s pre-tax going in, tax-free in growth, and tax-free coming out for qualified medical expenses. Triple-tax-advantaged isn’t marketing speak; it’s an accurate description. And after age 65 you can withdraw for any reason at ordinary rates, no 20% penalty, which means in the worst case it functions like a traditional IRA with extra optionality.
The tactic that pays off most over time is sometimes called “shoebox HSA”: pay current medical expenses out of pocket, save the receipts, let the HSA grow invested for two or three decades, and reimburse yourself tax-free in retirement using the old receipts. IRS Notice 2004-2 Q&A 39 confirmed that there’s no time limit on reimbursing yourself for qualified expenses as long as the HSA already existed when the expense was incurred. So a $1,400 receipt from 2026, kept in a folder (or photographed and stored in cloud), can support a tax-free withdrawal in 2056. Most people don’t do this because the discipline of keeping the receipts for thirty years is harder than it sounds.
The post-tax block
Roth 401(k) is the headline post-tax line. Post-tax means it doesn’t reduce current-year taxable wages but the qualified withdrawal in retirement is tax-free. Voluntary supplemental life, accident insurance, hospital indemnity, pet insurance, ESPP withholding, union dues, and charitable matching all live in the post-tax block too. Wage garnishments are always post-tax. The disability insurance choice is interesting: many planners recommend post-tax LTD premiums precisely so that any benefit paid out during disability is tax-free under IRC § 104(a)(3). If you’re paying the premium with pre-tax dollars, the benefit you receive when disabled is taxable as ordinary income, and that’s a worse outcome than the modest tax savings on the premiums on the way in.
The mechanics that show up on your W-2
Each pre-tax line has a code on Box 12 of the W-2: D for traditional 401(k), AA for Roth 401(k), W for HSA, DD for the cost of employer-sponsored health coverage (informational, not income), G for governmental 457(b). The difference between Box 1 (federal taxable) and Box 3 (Social Security) should equal the sum of your pre-tax retirement contributions for the year, since retirement deferrals reduce Box 1 but not Box 3. If those numbers don’t reconcile, ask payroll.
Open enrollment in eight steps
Order matters more than the brochure makes it look. First, project your 2026 federal, state, and local marginal rates so you can value each pre-tax dollar correctly. Second, contribute at least to the full 401(k) employer match — leaving match on the table is a guaranteed pay cut and never recoverable past the plan year. Third, if you’re on an HDHP, max the HSA before adding additional 401(k) beyond match. Fourth, set the healthcare FSA to your realistic out-of-pocket forecast for the year plus the $660 federal carryover ceiling — don’t over-fund the FSA. Fifth, run a dependent-care FSA versus Child and Dependent Care Credit comparison; the FSA usually wins above roughly $50,000 of household income. Sixth, right-size commuter benefits to your actual commute and parking spend; the use-it-or-lose-it period for commuter is narrower than people think. Seventh, decide LTD pre-tax versus post-tax based on whether you want to insure the benefit’s after-tax value (almost always yes). Eighth, confirm beneficiaries on every retirement and life account, especially after marriage, divorce, birth, death.
FAQs
Does my 401(k) reduce my Social Security check in retirement?
No. Social Security benefits are based on your highest 35 years of indexed earnings, which is computed off your Box 3 wages. Since traditional 401(k) doesn’t reduce Box 3, your eventual SSA benefit is unaffected by deferral.
Can I have both an HSA and a healthcare FSA?
Not at the same time, in general. A standard healthcare FSA disqualifies you from HSA contributions. A limited-purpose FSA (dental and vision only) is HSA-compatible. Dependent-care FSA is HSA-compatible because dependent care isn’t the same category as medical.
What happens if I contribute over the 401(k) elective deferral limit?
You request a corrective distribution of the excess plus earnings by April 15 of the following year. The excess is taxable in the contribution year, the earnings are taxable in the distribution year, and the plan administrator handles the mechanics. The most common cause is changing jobs mid-year — the two employers don’t see each other’s YTD.
Does Roth 401(k) count against my $7,500 Roth IRA limit?
No. Different statutes, different limits. The Roth IRA income phase-out (single MAGI $165,000-$180,000, MFJ $246,000-$256,000 for 2026) doesn’t apply to Roth 401(k) at all.
Can I change my pre-tax elections mid-year?
401(k) and HSA can usually be changed any time, with a payroll-cycle lag. Section 125 elections (healthcare FSA, premium choices, dependent-care FSA) require a qualifying life event under Treasury Reg 1.125-4 — marriage, divorce, birth or adoption, death, employment change, dependent eligibility change, residence change for an employer-based plan, or significant cost change.
Related tools
Primary references
- IRS — Cost-of-Living Adjustments for Retirement Items
- IRS Publication 969 — Health Savings Accounts and Other Tax-Favored Plans
- IRS Publication 15-B — Employer's Tax Guide to Fringe Benefits
- IRS Publication 560 — Retirement Plans for Small Business
- US Department of Labor — Employee Benefits Security Administration