HSA vs. Buying a Home at 7% Mortgage Rates: Where Your Next $8,750 Goes at the 24% Bracket (September 2026)
A NerdWallet mortgage editor made headlines this month for a decision that sounds backwards: she edits mortgage advice for a living, she's 54, and she still rents. The piece, "I Edit Mortgage Advice for a Living — and Still Rent," walks through the down payment, the investing returns she could earn on that money instead, and the true price of owning. Meanwhile, NerdWallet's "Mortgage Rates Today, Wednesday, September 23: Easing, But Still Above 7%" reports that rates dipped on a glimmer of economic optimism from Iran, and they are still above 7%.
If you're staring at those two stories and wondering where your next dollar should go, there's a third option that rarely makes the rent-versus-buy conversation: an HSA. Below is a head-to-head comparison using one worked example. The example uses assumed returns, and your numbers will differ based on your specific situation.
The Scenario: $8,750 a Year and Three Places to Put It
Take a family with a qualifying high-deductible health plan (HDHP). The 2026 family HSA limit is $8,750. (Self-only is $4,400, plus $1,000 catch-up at 55+.) Assume:
- 24% federal marginal bracket
- 7% average annual investment return (an assumption, not a promise)
- Money invested in stocks, not parked in cash
- Withdrawals used for qualified medical expenses
The three competing uses of that $8,750:
- Max the HSA and invest it.
- Put it in a taxable brokerage account (the "renter who invests the difference" path from the NerdWallet editor's story).
- Save it toward a down payment or prepay a mortgage at rates above 7%.
Round 1: HSA vs. Taxable Investing
The fair comparison is equal take-home pay, not equal dollars. At 24%, an $8,750 HSA contribution costs you $6,650 in after-tax pay ($8,750 × 0.76). So the taxable account gets $6,650 a year.
Here's the math for each horizon, using a 7% return. The taxable account's gains are taxed at 15% long-term capital gains when sold. I've ignored dividend drag and state taxes to keep the comparison clean.
| Horizon | HSA (tax-free for medical) | Taxable account, after 15% gains tax | HSA advantage |
|---|---|---|---|
| 10 years | $120,890 | $88,070 | $32,820 |
| 20 years | $358,715 | $251,680 | $107,035 |
| 30 years | $826,534 | $563,867 | $262,667 |
Where those come from: the future value of a yearly contribution at 7% is contribution × ((1.07ⁿ − 1) / 0.07). For 20 years that factor is about 40.996, so $8,750 × 40.996 ≈ $358,715. The taxable side is $6,650 × 40.996 ≈ $272,623, minus 15% tax on the $139,623 of gains, which leaves roughly $251,680.
The HSA wins here on three things at once: the deduction going in, no tax on growth, and no tax coming out for medical costs. If you want the layer-by-layer breakdown, our HSA triple tax advantage formula shows how to isolate each piece.
The honest trade-off: HSA money is only tax-free for qualified medical expenses. Non-medical withdrawals before 65 face income tax plus a 20% penalty. After 65, non-medical withdrawals are taxed as ordinary income but with no penalty. A taxable account has no restrictions. If you'd never rack up $358,715 in medical spending over 20 years, part of that balance behaves more like a traditional IRA than a tax-free account. Many people do find qualified expenses in retirement, but this is an assumption you should test, not assume.
This is the kind of analysis Trivexano runs for you, so you don't have to build the spreadsheet yourself.
Round 2: HSA vs. a Mortgage Above 7%
This is where the NerdWallet editor's story gets interesting. Homeownership involves a large guaranteed cost, and today's rate environment makes it larger.
Example: a $400,000 home, 20% down ($80,000), and a $320,000 loan at 7.0% for 30 years. The principal and interest payment is about $2,129 a month. Over 30 years that's roughly $446,000 in interest alone, before property taxes, insurance, and maintenance. Your specific rate, price, and down payment will change every figure here.
Now compare that $80,000 down payment against investing it. At a 7% return for 20 years, $80,000 grows to about $309,600 pre-tax. That is the "investing returns" argument for renting, and it is the piece of the NerdWallet story that deserves attention. A down payment isn't free money sitting in a house. It's capital that could be compounding elsewhere. But a house also gives you shelter, forced savings through principal paydown, and appreciation (which is uncertain). Renting has its own costs: rent increases, no equity, and the discipline required to actually invest the difference. I can't tell you which is right for you. That depends on your local rent-to-price ratio, how long you'll stay, and how likely you are to invest the gap instead of spend it.
For the HSA-versus-mortgage-paydown question specifically, here is the break-even:
- $8,750 into the HSA costs $6,650 after tax.
- $6,650 of extra mortgage principal at 7% earns a guaranteed 7% (interest saved is not taxed, and most people don't get a mortgage interest deduction benefit on marginal dollars once they take the standard deduction).
- After 20 years, $6,650 at 7% becomes $6,650 × 3.8697 ≈ $25,733.
- To match that with $8,750 in the HSA, you need (25,733 / 8,750) = 2.941x growth, which is about 5.5% a year for 20 years.
So if your HSA investments return more than roughly 5.5% annualized, the HSA wins on paper against a 7% mortgage paydown. If they return less, the paydown wins. The catch: the mortgage return is guaranteed and the HSA return is not. A bad decade in the market could flip the answer. We ran this same break-even at different bracket levels in HSA vs. 7% mortgage paydown: the 5.0% break-even return and 5-gate checklist.
Two more variables change this result:
- Bracket: At 22%, the deduction is smaller, so the required HSA return rises. At 32%, it falls.
- Payroll deductions: If you contribute through an employer's cafeteria plan, you also skip FICA at 7.65%. On $8,750 that's another $669 in year one, which lowers your break-even further.
Round 3: The Small Leaks That Fund (or Drain) the Whole Plan
Two of the other stories this week look unrelated, but they connect to the same problem: money leaks you don't calculate.
NerdWallet's "I Can't Stop Buying Surprise Bags" describes the appeal of not knowing what's inside. That's fun, and the wallet damage is real. As an illustration, a $15 surprise bag every week is $780 a year. Invested through an HSA at a 7% return for 20 years, that $780 a year becomes about $32,000 (780 × 40.996). I'm not telling you to give up the fun. It just helps to see the trade-off in dollars.
Then there's "Chase Freedom Flex Ditches Foreign Transaction Fee, Cell Phone Insurance," which reports the card is removing the foreign transaction fee and cell phone insurance while offering a heightened welcome bonus for a limited time. The takeaway isn't about that card. It's that perks change, and any plan that depends on a benefit staying the same is fragile. The HSA has the opposite risk profile. The contribution limits and tax rules are set by statute and adjusted for inflation, though Congress can change them. If you're weighing a rewards bonus against maxing the HSA, run both. We did that in Chase Sapphire's 100,000-point offer vs. the HSA triple-tax advantage.
One more headline is worth a sentence. NerdWallet's "Data Centers Are a Potent, Bipartisan Battleground in the Midterms" reports voter backlash over anticipated costs and local impact. If rising household costs, whether from utilities or elsewhere, make you nervous about your budget, that's an argument for looking at your cash-flow floor before you commit to any of the three options above. A tax-advantaged account you can't afford to fund isn't helping anyone.
Investment Allocation: Where the 7% Actually Comes From
Every table above assumes the HSA is invested. Many HSAs default to cash. If yours sits in a savings account at, say, 1% to 4%, you get the deduction but very little of the growth benefit. Same $8,750 a year for 20 years at 3% grows to about $235,000, not $358,715. That's a $123,000 shortfall against the 7% case. Rates on cash change, so check what your HSA pays now. The full 20-year cost of leaving the balance in cash is in The $146,112 hidden cost of leaving your HSA in cash.
A practical split many people use: keep one deductible's worth in cash (so you can pay a bill without selling investments at a bad time) and invest the rest. If your deductible is $3,500 for self-only or $7,000 for family, that becomes your cash floor. The right number for you depends on your emergency fund, your health, and how much volatility you can stomach.
Medicare at 65: Where the Plan Can Break
The HSA math runs through age 65, but Medicare changes the rules. Once you enroll in Medicare (including Part A), you can no longer contribute to an HSA. Part A coverage can be backdated up to six months when you sign up after 65, so a contribution made during that lookback window can trigger a tax penalty. If you plan to work past 65 with an HDHP, stop contributions about six months before you enroll. The specifics are in The $2,200 HSA Medicare mistake.
The upside after 65: qualified withdrawals stay tax-free, and Medicare premiums count as qualified expenses (Medigap is excluded, per IRS rules). That makes the balance easier to spend on legitimate costs than many people expect.
How the Three Options Stack Up
| Factor | HSA (invested) | Taxable investing / renting | Down payment or mortgage paydown at 7%+ |
|---|---|---|---|
| Tax on contribution | Deductible (plus FICA savings via payroll) | None (after-tax dollars) | None |
| Tax on growth | None | Gains taxed at withdrawal | Not applicable (savings are not taxed) |
| Liquidity | Medical use is free of penalty; other use before 65 is penalized | Fully liquid | Low (equity is hard to access) |
| Return certainty | Market risk | Market risk | Guaranteed on paydown, uncertain on appreciation |
| Main risk | Medical spending may not match balance; Medicare rules | Behavior (spending the difference) | Concentration, maintenance, job mobility |
| Break-even vs. 7% paydown | About 5.5% a year for 20 years at 24% | Higher than that (no deduction) | The benchmark |
No row here is universally the winner. The HSA has the strongest tax profile, the mortgage has the strongest certainty, and taxable investing has the most flexibility.
The Variables That Decide Your Answer
The results above hinge on inputs I had to assume:
- Your marginal bracket (22%, 24%, and 32% produce materially different break-evens)
- Your actual mortgage rate and how long you'll stay in the home
- Whether you have an HDHP in the first place (no eligibility, no HSA)
- Your HSA's investment options and fees
- Your expected medical spending in retirement
- Your age relative to 65 and whether you'll still be working
- Your emergency fund and cash flow
If you haven't yet decided how the HSA fits against an emergency fund, the 5-gate HSA max or emergency fund first framework is a good place to start.
You can model this for your specific situation at Trivexano: plug in your bracket, your rate, and your horizon, and see where the break-even lands.
Bottom Line
The NerdWallet editor's decision to keep renting isn't an argument against homeownership. It's an example of running the numbers instead of following the default. With rates above 7%, the opportunity cost of a big down payment is higher than it was a few years ago. In this example, an invested HSA needs only about 5.5% a year to beat a 7% mortgage paydown at the 24% bracket, and it beat taxable investing by about $107,000 over 20 years. But the mortgage guarantee, the medical-use restriction, and your own cash flow can all change which option is right.
Nobody needs to be pushed toward one answer here. The point is that the answer comes from your inputs, not from a rule of thumb. If you want to see your own break-even, run your numbers at Trivexano before your next contribution decision.
This post is educational and not tax, legal, or investment advice. All returns in the examples are assumptions, not forecasts.
Sources
- I Edit Mortgage Advice for a Living — and Still Rent — NerdWallet
- Data Centers Are a Potent, Bipartisan Battleground in the Midterms — NerdWallet
- Mortgage Rates Today, Wednesday, September 23: Easing, But Still Above 7% — NerdWallet
- I Can’t Stop Buying Surprise Bags — NerdWallet
- Chase Freedom Flex Ditches Foreign Transaction Fee, Cell Phone Insurance — NerdWallet