HSA as a Stealth Retirement Account: The Triple Tax Advantage Most FIRE Pursuers Miss

I’ve been on the path to FIRE for 8 years now, and I’m consistently amazed at how many people in our community overlook one of the most powerful tax-advantaged accounts available: the Health Savings Account (HSA). Not as a medical fund—though it certainly is that—but as a stealth retirement account with triple tax advantages that even a Roth IRA can’t match.

The Triple Tax Advantage

Let me break down why HSAs are potentially the best retirement vehicle you’ve never fully utilized:

  1. Tax-deductible contributions: Every dollar you contribute reduces your taxable income. For 2026, that’s up to $4,400 for individuals or $8,750 for families (plus $1,000 catch-up if you’re 55+). If you contribute through payroll deductions, you also avoid FICA taxes.

  2. Tax-free growth: Invest your HSA funds in index funds, and all growth is tax-free. Unlike a brokerage account where you’re paying capital gains, or even a Roth where you paid taxes upfront, your HSA grows completely tax-free.

  3. Tax-free withdrawals: As long as you use the funds for qualified medical expenses, withdrawals are completely tax-free. And here’s the kicker: there’s no time limit on when you can reimburse yourself.

The “Save Receipts Forever” Strategy

Here’s where it gets interesting for FIRE folks. Instead of using your HSA to pay for current medical expenses:

  • Pay out-of-pocket for all medical expenses using regular checking/credit cards
  • Save those receipts meticulously (I’ll get to Beancount tracking in a moment)
  • Invest your HSA funds aggressively in low-cost index funds
  • Let it grow tax-free for 10, 20, or 30 years
  • Reimburse yourself for those old receipts whenever you want cash

There’s no statute of limitations. A receipt from 2026 can be reimbursed in 2046. By then, your HSA could have tripled in value, and you’re pulling out tax-free money using decades-old receipts.

After age 65, you can also withdraw for non-medical expenses (you’ll pay regular income tax but no penalty)—basically making it function like a traditional IRA, except you’ve already gotten years of tax-free medical reimbursement potential.

The Math That Changed My Mind

Let’s say you’re a family maxing out HSA contributions at $8,750/year for 20 years at a 7% average return:

  • In HSA: ~$359,000 (completely tax-free if used for medical, or mostly tax-free via the receipt strategy)
  • Same amount in taxable brokerage (assuming 15% capital gains): You’d lose about $53,850 to taxes
  • That’s $53K+ in your pocket instead of the IRS’s

And unlike 401(k)s or IRAs, there are no required minimum distributions with HSAs. You control the timeline.

Tracking This in Beancount

Here’s my current account structure:

Assets:HSA:Cash                    ; HSA uninvested cash
Assets:HSA:Investments:VTSAX       ; HSA invested in index funds
Assets:Reimbursable:Medical        ; Track unreimbursed medical expenses

Every time I pay a medical bill out-of-pocket, I record it as:

2026-03-10 * "Dentist - Annual Cleaning"
  Expenses:Health:Dental              250.00 USD
  Assets:Reimbursable:Medical        -250.00 USD

This way, I can run a query anytime to see my total “reimbursement pool”—money I can pull from my HSA tax-free whenever I want. Right now I’m sitting on about $12,400 in unreimbursed expenses spanning 3 years.

Questions for the Community

I’m curious how others here are approaching this:

  1. Are you using the “save receipts” strategy, or paying medical expenses directly from HSA?
  2. How are you tracking unreimbursed medical expenses in Beancount? (I feel like my approach could be improved)
  3. What’s your HSA investment allocation? (I’m 100% VTSAX since this is a 20+ year horizon for me)
  4. Do you have a plan for when to start reimbursing yourself? (Early retirement? Age 65? Never, and leave it as inheritance?)

With healthcare costs being one of the biggest wildcards in FIRE planning—especially in those gap years between early retirement and Medicare eligibility—I feel like HSAs deserve way more attention in our community. Would love to hear how others are thinking about this!

Tina, this is excellent advice! As a CPA, I recommend this strategy to my clients constantly, but I’m always shocked by how few people actually implement it.

The Professional Accounting Perspective

The “save receipts forever” approach is brilliant from a tax optimization standpoint, but the key to making it work is maintaining an ironclad audit trail. The IRS absolutely will scrutinize HSA withdrawals if they audit you, and you need to be ready.

Here’s what I’ve learned from helping clients set this up:

Proper Account Structure in Beancount

I recommend a slightly more detailed hierarchy than what you showed:

Assets:HSA:Fidelity:Cash
Assets:HSA:Fidelity:Investments:VTSAX
Assets:HSA:Fidelity:Investments:VTIAX
Assets:Reimbursable:Medical:Year2026
Assets:Reimbursable:Medical:Year2025
Assets:Reimbursable:Medical:Year2024
Expenses:Health:Medical
Expenses:Health:Dental
Expenses:Health:Vision
Expenses:Health:Prescriptions

Breaking out reimbursable amounts by year makes it easier when you eventually do reimburse yourself—you can match withdrawals to specific tax years if needed.

Balance Assertions Are Your Friend

With HSA accounts, I use balance assertions religiously:

2026-03-15 balance Assets:HSA:Fidelity:Cash 2847.32 USD
2026-03-15 balance Assets:HSA:Fidelity:Investments:VTSAX 18450.88 USD

This catches any missed transactions or data entry errors. HSA providers sometimes have delays in posting transactions, and you want to catch discrepancies early.

A Real Client Success Story

One of my clients (small business owner, family of 4) has been doing this strategy for 5 years:

  • Total unreimbursed medical expenses accumulated: $14,200
  • HSA balance: $52,000 (invested in 60/40 stocks/bonds)
  • Estimated tax savings vs. paying from HSA: ~$4,800 (between federal/state income tax + FICA on contributions)

When she hit a rough business patch last year and needed cash, she was able to pull $8,000 tax-free from her HSA by reimbursing old medical expenses. That flexibility was a lifesaver—and completely legal and documented.

The One Pitfall: HSA Provider Changes

Here’s where people mess up: when you change jobs and switch HSA providers, you MUST track the rollover carefully. I’ve had multiple clients accidentally “lose” years of contribution basis because they didn’t properly account for transfers.

In Beancount, I use:

2025-10-15 * "HSA Rollover from OldProvider to Fidelity"
  Assets:HSA:OldProvider:Cash        -3240.50 USD
  Assets:HSA:OldProvider:Investments -12500.00 USD
  Assets:HSA:Fidelity:Cash            3240.50 USD
  Assets:HSA:Fidelity:Investments    12500.00 USD

This maintains the complete history across providers—critical for proving contribution basis if audited.

My Question to the Community

How are others handling the receipt storage side of this?

I tell my clients to:

  1. Photograph every receipt with a smartphone
  2. Store in cloud backup (Google Drive, iCloud, etc.)
  3. Link the file path in Beancount transaction metadata

But I’m curious if anyone has found a more elegant solution. A searchable database? OCR scanning into text?

The receipts are the foundation of this entire strategy—lose them, and you’re paying taxes + penalties on withdrawals. I’d love to hear what’s working for others!

This discussion is fantastic! I’ve been doing this for 3 years now and I wish I’d started earlier. Let me share my journey and some practical tips.

My HSA Migration Story

I discovered the “shoebox strategy” (as some call it) back in 2023 when I was already 2 years into maxing my HSA but had been spending directly from it for medical expenses. Big mistake! I left thousands in tax-free growth on the table.

Since 2023, I’ve been:

  • Paying all medical expenses from my regular checking account
  • Maxing HSA contributions ($8,750/year for my family)
  • Investing 100% of the HSA in VTSAX (I’m 38, so time horizon is 20+ years)
  • Tracking every unreimbursed expense in Beancount

Current status:

  • HSA balance: ~$31,500
  • Unreimbursed medical expenses: $8,940
  • That’s $8,940 I can pull out tax-free whenever I want!

My Beancount Evolution (Start Simple!)

Year 1 (2023): I just tracked the HSA balance as one account. Didn’t even track unreimbursed expenses—I kept receipts in a folder but nothing systematic.

Year 2 (2024): Added basic tracking:

Assets:HSA:HealthEquity
Assets:Reimbursable:Medical

Year 3 (2026): Now I’m more sophisticated (thanks to this community):

Assets:HSA:HealthEquity:Cash
Assets:HSA:HealthEquity:VTSAX
Assets:Reimbursable:Medical
Expenses:Health:Medical
Expenses:Health:Dental  
Expenses:Health:Vision
Expenses:Health:Prescriptions

The point: Don’t let perfect be the enemy of good. Start tracking something even if your structure isn’t perfect. You can always refactor later (that’s the beauty of plain text!).

The “Shoebox” Goes Digital

For receipt storage, here’s my system:

  1. Immediate capture: When I get a receipt, I snap a photo with my phone using the iOS Notes app
  2. Monthly processing: Once a month, I move all medical receipt photos to a dedicated folder: ~/Documents/Receipts/Medical/2026/
  3. Naming convention: 2026-03-10-dentist-annual-cleaning-250.jpg
  4. Beancount metadata: I link the file in the transaction:
2026-03-10 * "Dentist - Annual Cleaning"
  receipt: "~/Documents/Receipts/Medical/2026/2026-03-10-dentist-annual-cleaning-250.jpg"
  Expenses:Health:Dental              250.00 USD
  Assets:Reimbursable:Medical        -250.00 USD

Then I back up that entire folder to iCloud and Google Drive (redundancy for the win!).

Beancount Query for Reimbursement Pool

Want to know how much you can pull out tax-free? Here’s the query I run:

SELECT account, sum(position) WHERE account ~ 'Reimbursable:Medical'

Boom—instant answer. That number represents my “emergency tax-free cash reserve” if I ever need it.

The Psychological Challenge

Here’s what nobody talks about: it’s hard to watch your HSA balance grow while paying medical bills out-of-pocket.

Last month my daughter broke her arm (she’s fine!). The ER bill was $1,850. My HSA balance was $30,000. Every fiber of my being wanted to just pay from the HSA and be done with it.

But I didn’t. I paid from checking, saved the receipt, and logged it in Beancount. Why? Because that $1,850 could turn into $3,700+ in 15 years at 7% growth—completely tax-free.

The mindset shift: Don’t think of your HSA as “medical money.” Think of it as your most tax-advantaged investment account that happens to have a medical expense reimbursement feature.

Reality Check: Keep an Emergency Fund

That said, this strategy only works if you have a real emergency fund. You need to be able to cash-flow medical expenses without stress. If paying $2,000 out-of-pocket for an ER visit would cause financial strain, you’re not ready for this strategy yet.

Build that 3-6 month emergency fund first. Then start the HSA receipt accumulation game.

My Answer to Tina’s Original Questions

  1. Save receipts strategy - 100% yes since 2023
  2. Tracking in Beancount - Simple structure, focus on accuracy over complexity
  3. HSA allocation - 100% VTSAX (age 38, long time horizon)
  4. When to reimburse - Planning to start at 45 if I go part-time, or 65 if I stay working. Treating it like a bridge fund between early retirement and Medicare.

Great discussion, everyone! This is exactly the kind of practical financial wisdom that makes this community so valuable.

This thread is gold! As someone who works with small business owners all day, I have a practical question about the self-employed side of HSAs.

Self-Employed HSA Contributions: How to Track?

Most of my clients are self-employed (sole proprietors, single-member LLCs). They don’t have an “employer” making contributions—they’re both the employer AND the employee.

My question: How are you tracking self-employed HSA contributions in Beancount?

The IRS treats self-employed HSA contributions as both:

  1. A deduction on Schedule 1 (Form 1040) - adjusts gross income
  2. Technically an “employer contribution” for tax purposes (not subject to self-employment tax)

Do you track it as:

; Option A - Simple approach
2026-01-15 * "HSA Contribution"
  Assets:HSA:Lively:Cash       729.00 USD
  Assets:Checking             -729.00 USD

Or do you get fancy and track the tax-deductible nature:

; Option B - Track tax benefit
2026-01-15 * "HSA Contribution"
  Assets:HSA:Lively:Cash              729.00 USD
  Assets:TaxDeductible:HSA           -729.00 USD  ; Track deduction
  Assets:Checking                    -729.00 USD

I’m leaning toward Option A for simplicity, but I’m curious how others handle this, especially when you’re trying to calculate tax savings at year-end.

Lost Receipts - What Happens?

Alice mentioned the nightmare scenario: what if you lose your receipts?

I had a client who did this. He’d been accumulating medical expenses for 2 years without the HSA reimbursement strategy ($6,200 worth). His laptop died and his “backup” was… let’s just say it wasn’t actually backing up.

Lost 2 years of receipts = $6,200 he couldn’t prove for tax-free withdrawal.

The lesson: Test your backups! Don’t just assume iCloud/Google Drive is working. Actually try restoring a file every few months to verify.

Small Business Owner Reality Check

One more thing for the small business owners in this community: This strategy is fantastic if you have stable cash flow.

But if you’re in the startup/early business phase where every dollar counts and cash is tight, paying medical expenses out-of-pocket can be genuinely stressful.

There’s nothing wrong with using your HSA normally (paying medical expenses directly) until your business is on more solid financial ground. The perfect shouldn’t be the enemy of the good here.

Once you’re consistently profitable and have that 6-month runway, then switch to the “save receipts” approach. Your financial health (and mental health) is worth more than optimizing a few thousand dollars in tax-free growth if it’s causing stress.

My Current Approach

For what it’s worth, I’m 2 years into this strategy myself:

  • Self-employed bookkeeper (no employees)
  • Maxing individual HSA: $4,400/year
  • 100% invested in a target retirement fund (I’m less aggressive than some of you VTSAX folks!)
  • Unreimbursed medical: $3,850 accumulated
  • Tracking in Beancount: Simple structure (Option A above)

Great discussion, everyone! This is exactly why I love this community—real people sharing real strategies with real numbers.