· 6 min read / HSA, RETIREMENT, TAXES, INVESTING, FIRE, PERSONAL FINANCE

How the $9,000 HSA Beats Both a 401(k) and a Roth IRA

Most Americans treat a Health Savings Account like a clunky medical checking account. They move cash in during open enrollment, swipe the HSA debit card at CVS two weeks later, and leave whatever is left earning 0.15% interest.

Employee Benefit Research Institute (EBRI) data shows only about 18% of HSA accountholders invest their balances, while 56% pull cash right back out for current medical bills. Devenir’s midyear survey shows roughly 11% of HSA accounts hold investments, yet those investors own more than half of all HSA dollars in the country.

They realized Congress built the strongest retirement account in the U.S. tax code and disguised it as a healthcare benefit. With the IRS lifting the family HSA cap from $8,750 in 2026 to $9,000 in 2027 (and self-only limits from $4,400 to $4,500), using an HSA as a long-term stock portfolio beats both a Traditional 401(k) and a Roth IRA dollar for dollar.

Official 2026 and 2027 IRS limits

To contribute to an HSA, you must enroll in an IRS-qualified High-Deductible Health Plan (HDHP) and carry no disqualifying secondary coverage like Medicare or a general-purpose health FSA.

HSA / HDHP Rule 2026 2027
Self-only HSA contribution limit $4,400 $4,500
Family HSA contribution limit $8,750 $9,000
Catch-up contribution (age 55+, per spouse) $1,000 $1,000
Minimum HDHP deductible (self / family) $1,700 / $3,400 $1,750 / $3,500
Maximum HDHP out-of-pocket (self / family) $8,500 / $17,000 $8,700 / $17,400

Employer HSA seed money counts toward the annual cap, so subtract any company deposit before setting your payroll election. Married couples where both spouses are 55 or older can each add $1,000 in separate HSA accounts, which lifts total 2027 contributions to $11,000.

Why payroll funding adds a fourth tax break

Standard financial advice calls the HSA “triple tax-advantaged” because contributions are deductible, investment growth is tax-free, and withdrawals for qualified medical expenses owe zero tax. That undersells the account when you fund it through an employer’s Section 125 cafeteria payroll plan.

Contributions to a Traditional 401(k) skip federal and state income tax today, yet payroll still deducts 7.65% in FICA taxes (6.2% Social Security up to the annual wage cap plus 1.45% Medicare). Payroll HSA deductions bypass federal income tax, state income tax in 48 states, and FICA. Even high earners above the annual Social Security wage cap still dodge the 1.45% Medicare tax (or 2.35% including the Additional Medicare Tax above $200,000 single / $250,000 married). Write a personal check to an HSA bank instead of using payroll and you forfeit that payroll-tax break permanently.

Compare what happens over 25 years to a household in the 24% federal bracket paying 5% state income tax and 7.65% FICA (36.65% combined marginal rate). Putting $9,000 into an HSA via payroll lowers their annual take-home pay by $5,701.50. Assume every dollar invested earns an 8% annual return in a low-cost index ETF like Vanguard’s S&P 500 ETF (VOO) or Total Stock Market ETF (VTI), both charging 0.03% in annual fees:

Account Choice (Same $5,701.50 Take-Home Cost / Year) Annual Deposit 25-Year Spendable Value Gap vs. Invested HSA
Invested HSA via payroll (VOO / VTI at 8%) $9,000 $710,590 Baseline
Traditional 401(k) (27% combined withdrawal tax) $8,030 $462,839 -$247,751
Roth IRA (after-tax dollars at 8%) $5,702 $450,159 -$260,431
Taxable brokerage (20% federal + state LTCG/dividend tax) $5,702 $382,197 -$328,393
HSA left in 0.15% cash $9,000 $229,441 -$481,149

Leaving $9,000 a year sitting in an HSA cash sweep forfeits $481,149 in compounding over 25 years. Compared with putting the exact same take-home cash into a Roth IRA, the payroll-funded HSA finishes $260,431 ahead. Once you capture your employer’s 401(k) match, maxing an invested HSA typically belongs ahead of a Roth IRA and right alongside strategies like the Mega Backdoor Roth.

How the receipt-hoarding strategy works

The IRS imposes no deadline on reimbursing yourself for qualified medical expenses. As long as the expense occurred after your HSA was opened, you can pay a $600 dental bill or $1,200 physical therapy tab out of pocket today (earning credit card rewards along the way), scan the itemized receipt and Explanation of Benefits into cloud storage, and leave your HSA invested in equities.

Ten or twenty years later, you can pull that exact $1,800 out of your HSA tax-free and spend it on anything you want, from a kitchen remodel to early-retirement living expenses. Even if you stay healthy and run out of saved receipts, turning 65 removes the 20% non-medical withdrawal penalty. After age 65, non-medical HSA withdrawals are taxed at ordinary income rates, so any leftover balance works like an extra Traditional IRA with zero Required Minimum Distributions.

High-deductible plans are not automatically right for everyone. Families facing frequent specialist visits or steep recurring prescriptions should still compare total annual premiums plus out-of-pocket exposure against a PPO before switching, especially as average employer family health plan costs top $28,000 a year.

Three traps that catch HSA investors off guard

Lousy employer HSA custodians are the most common drag. Many workplace providers charge $3 to $5 in monthly maintenance fees, lock $1,000 to $2,000 in near-zero cash, and limit investing to expensive mutual funds. Keep receiving payroll deductions in your employer’s HSA to preserve the FICA break, then ask a zero-fee retail custodian like Fidelity (which has no cash minimum and lets you buy VOO or VTI down to the dollar) to pull a direct trustee-to-trustee transfer once or twice a year. Direct transfers are unlimited and avoid the IRS’s once-per-12-months indirect rollover limit; leave enough cash behind (often $25) so your employer custodian does not accidentally close the account and break payroll deposits.

Residents of California and New Jersey face a state-tax wrinkle. Those are the only two states that do not conform to federal HSA tax rules. Both states tax HSA contributions (including employer deposits) as regular state income and tax every dividend and realized capital gain inside the HSA every April.

Because HSA custodians do not issue state-level 1099-DIV or 1099-B statements, mutual fund capital-gain distributions and frequent dividend reinvestments can turn state filing into a spreadsheet headache. California and New Jersey savers can simplify tax reporting by holding zero-dividend equities like Berkshire Hathaway (BRK.B), state-tax-exempt Treasury ETFs like SGOV (0.09% expense ratio), or a single low-turnover index ETF (VOO) without constant rebalancing. Even with state tax drag, the federal income and FICA breaks still leave CA and NJ savers well ahead of a standard taxable brokerage account.

Do not treat an HSA as an inheritance vehicle for children. A surviving spouse inherits an HSA intact as their own tax-advantaged account, but a non-spouse beneficiary cannot stretch an HSA over 10 years like an inherited IRA. Under IRS rules, the entire HSA balance becomes ordinary taxable income to a non-spouse beneficiary in the year of death, so plan to reimburse your saved receipts or spend down the HSA during retirement rather than leaving it to adult children.

Common questions

What happens if I switch off an HDHP next year? You keep every dollar in your HSA forever, and you can continue investing and taking tax-free reimbursements for qualified expenses. You only lose the ability to make new contributions for months you are not covered by an eligible HDHP.

Does enrolling in Medicare stop HSA contributions? Yes. Once Medicare Part A or Part B starts, you can no longer contribute to an HSA. Because Medicare Part A can apply retroactively for up to six months if you sign up after age 65, stop HSA contributions six months before applying for Medicare or Social Security to avoid a 6% excess-contribution penalty.

Next steps before 2027 open enrollment closes

Check whether an HDHP beats your employer’s PPO on total annual cost, set your 2027 Section 125 payroll election to hit the $4,500 individual or $9,000 family cap, and move idle cash above your emergency buffer out of a 0.15% sweep account into low-cost broad index funds.

Share this article
X LinkedIn Reddit Facebook