Skip to main content

Health Savings Account (HSA) basics

A Health Savings Account (HSA) is one of the most overlooked wealth-building tools available to American workers. It functions as a medical savings account with tax benefits that exceed even 401(k)s in certain situations. Many people with HDHP plans open HSAs but never contribute significantly or understand how to use them strategically. Understanding HSA mechanics helps you leverage this tool for both immediate medical expenses and long-term retirement savings.

Quick definition: A Health Savings Account is a tax-advantaged savings account paired with high-deductible health plans that allows you to contribute pre-tax money, grow it tax-free, and withdraw it tax-free for qualified medical expenses.

Key takeaways

  • Triple tax advantage: HSA contributions reduce taxable income, growth is tax-free, and withdrawals for medical expenses are tax-free.
  • Contribution limits: $4,150 individual, $8,300 family in 2024 (adjusted annually for inflation).
  • Eligibility: You must be enrolled in an HDHP (high-deductible health plan) and have no other health coverage like Medicare or a spouse's Aetna plan.
  • No "use-it-or-lose-it" rule: Unused balance rolls over indefinitely, unlike Flexible Spending Accounts.
  • Investment and growth: HSA funds can be invested in stocks, bonds, and mutual funds, compounding tax-free over decades.
  • Withdrawal flexibility: After age 65, you can withdraw for any expense; only non-medical expenses before 65 face a 20% penalty.
  • Retirement tool: An HSA becomes a powerful retirement account when you use it strategically—contributing maximally, investing, and deferring withdrawals.

How HSA eligibility works

HSA enrollment depends on three criteria:

You must be enrolled in an HDHP. The IRS defines an HDHP as having a minimum deductible ($1,600 individual, $3,200 family in 2024) and maximum out-of-pocket limits ($8,050 individual, $16,100 family in 2024). Your employer's health insurance must be labeled an HDHP or high-deductible plan for you to open an HSA.

You cannot have other health coverage. If you're enrolled in Medicare, Medicaid, a spouse's non-HDHP plan, dental or vision plans through another employer, or covered under a parent's health plan (if under 26), you're ineligible. The rule is strict—even being covered by a plan on a single day of the month makes you ineligible for HSA contributions that month.

You cannot be claimed as a dependent. If someone else claims you as a dependent on their tax return (typically parents claiming adult children), you're ineligible for HSA enrollment.

Most working Americans with employer-sponsored HDHPs are eligible. Self-employed people can open HSAs if they purchase an HDHP-labeled individual insurance plan. Once you leave an HDHP, you can't contribute more, but you keep the balance indefinitely.

Opening and funding an HSA

Enrollment timing: You typically open an HSA when enrolling in an HDHP, either through an employer's benefits portal or the individual insurance marketplace. The month you become HDHP-eligible, you can establish an account. Contributions for a given calendar year must be made by April 15 of the following year (tax-filing deadline).

Where to open: HSAs are available through three sources: employer-sponsored plans (typically partnered with insurance companies), banks and credit unions, and independent HSA custodians. Custodians like Fidelity, Lively, and HealthEquity offer self-directed accounts where you can invest funds.

Funding methods: Contributions can be made via payroll deduction (employer plan), direct deposit, or checks. If your employer offers an HSA with payroll deduction, use it—pre-tax deductions reduce your taxable income immediately.

Employer matching: Some employers contribute to employees' HSAs, typically $500–$1,500 annually. This is free money—always accept it.

Contribution limits and maximization strategy

2024 contribution limits:

  • Individual coverage: $4,150/year
  • Family coverage: $8,300/year
  • Age 55+: Add $1,050 "catch-up" contribution (individual or family)

These limits adjust annually for inflation, typically increasing $50–$100 per year.

Strategic maximization: For long-term wealth building, max-funding an HSA is powerful. An individual contributing $4,150 annually from age 35 to 65 invests $124,500 over 30 years. If that grows at 6% annually (conservative stock market estimate), it becomes $396,000 tax-free—exceeding most 401(k) account growth for the same contribution.

Many people underfund HSAs because they use them for immediate medical expenses. A smarter strategy:

  1. Contribute the maximum from payroll deduction or direct deposit.
  2. Pay medical expenses out-of-pocket if you can afford it (don't reimburse from HSA immediately).
  3. Let HSA funds invest and grow tax-free.
  4. Keep receipts for all medical expenses paid out-of-pocket (required by IRS).
  5. Withdraw from HSA in retirement to reimburse historical medical expenses or for current expenses.

This defers taxes and maximizes investment compounding. You're essentially creating a tax-free medical retirement fund.

Understanding HSA triple tax advantage

Tax advantage #1: Pre-tax contributions reduce income taxes

If you contribute $4,150 to an HSA and your tax bracket is 22%, you save $913 in federal income tax. Contributions are also exempt from payroll taxes (FICA) if deducted from payroll, saving an additional 7.65% ($318).

Total first-year tax savings: approximately $1,231.

Tax advantage #2: Tax-free investment growth

Unlike a regular savings account earning interest that's taxed annually, HSA investments grow tax-free. $4,150 invested at 6% annual returns compounds to:

  • After 10 years: $7,435
  • After 20 years: $13,300
  • After 30 years: $23,840

The growth ($19,690 over 30 years) is entirely tax-free. In a regular taxable account earning 6% in a 22% tax bracket, the after-tax growth would be only $9,170 (22% of gains taxed annually). HSA growth is 2.1x higher.

Tax advantage #3: Tax-free withdrawals for qualified expenses

When you withdraw HSA funds for "qualified medical expenses," the withdrawal is tax-free. Qualified expenses include:

  • Health insurance premiums (only COBRA, Medicare, and long-term care premiums count)
  • Copays and coinsurance
  • Deductibles
  • Medications (prescription and over-the-counter approved by a healthcare provider)
  • Dental work (fillings, crowns, orthodontics)
  • Vision care (glasses, contacts, LASIK)
  • Physical therapy, chiropractors, acupuncture
  • Medical equipment (crutches, wheelchairs, glucose monitors)
  • Mental health and substance abuse treatment
  • Hearing aids and related care

Non-qualified expenses (cosmetic surgery, gym memberships, vitamins without a prescription) face a 20% penalty plus income tax.

HSA as an investment account

Most people treat HSAs like savings accounts, keeping cash in them. This is a mistake. An HSA is actually a better retirement investing account than a 401(k) in certain situations.

Why invest HSA funds?

For most people, medical expenses can be paid from current cash flow—you don't need to liquidate HSA funds immediately. By keeping the HSA invested, it compounds tax-free for decades, similar to a Roth IRA but even better (no income limits, higher contribution limits).

How to invest an HSA:

  1. Choose a custodian that allows self-directed investing (Fidelity, Vanguard, Charles Schwab, not all banks).

  2. Open investment options like low-cost index funds or target-date funds.

  3. Contribute the maximum annually.

  4. Keep funds invested in stocks until age 55–60, then transition to bonds.

  5. Keep receipts for medical expenses throughout your working years.

  6. In retirement, reimburse yourself from the HSA for medical expenses paid years earlier (if you still have receipts), or use HSA for current medical costs.

Example: Sarah's HSA strategy

Sarah, age 35, enrolled in an HDHP, contributes $4,150 annually to her HSA, and invests it in a stock index fund averaging 7% annual returns.

Year 1: Contributes $4,150, balance: $4,150 Year 5: Contributes $20,750 total, balance: $24,500 (after 7% annual growth) Year 10: Contributes $41,500 total, balance: $60,000 (after compounding) Year 30 (age 65): Contributes $124,500 total, balance: $396,000 (after 30 years at 7%)

At 65, Sarah retires. She pays medical expenses from HSA funds:

  • Medicare premium: $200/month = $2,400/year
  • Dental work: $1,500/year
  • Medications: $500/year
  • Total annual medical: $4,400

Her $396,000 HSA lasts 90 years at current spending ($4,400/year), with continued investment growth. The entire amount and growth are tax-free—a massive advantage versus a taxable retirement account.

Tax advantage flowchart

The HSA's three-layer tax benefit compounds over time. Understanding the flow from contribution through investment to retirement withdrawal maximizes the advantage.

HSA withdrawal and record-keeping requirements

Withdrawal rules:

  • Before age 65: You can withdraw for qualified medical expenses tax-free. Non-qualified withdrawals are taxed as income plus a 20% penalty.

  • After age 65: You can withdraw for any reason. Qualified medical expenses remain tax-free; non-qualified withdrawals are taxed but face no penalty (similar to a traditional IRA).

Record-keeping: The IRS requires you to keep medical receipts to substantiate withdrawals, even years later. Best practice:

  1. Keep all medical receipts and explanation of benefits statements.
  2. Track what you pay out-of-pocket versus what you reimburse from HSA.
  3. Consider a spreadsheet or HSA app tracking expenses and dates.
  4. Keep receipts at least 7 years (IRS audit period).

If you're audited and don't have receipts, you must repay the amount with penalties and interest.

HSA vs. FSA: key differences

Flexible Spending Accounts (FSAs) are similar to HSAs but have significant differences.

FeatureHSAFSA
Employer requirementMust be HDHP-compatibleCan be any plan
Contribution limit$4,150 (individual) 2024$3,300 (individual) 2024
RolloverUnlimited rollover$640 carryover, rest forfeited
InvestmentsCan invest (at custodian choice)Usually savings only
OwnershipYou own foreverPlan owns it; loses if you leave
Use-it-or-lose-itNoYes (mostly)
Withdrawals after 65Tax-free medical, taxed non-medicalN/A (plan ends)

FSA advantages:

  • Available even with non-HDHP plans
  • Employer contributions sometimes higher
  • Slightly lower contribution requirements

HSA advantages:

  • Triple tax benefit (pre-tax, growth, withdrawal)
  • Invest and compound
  • Keep forever
  • Higher contribution limits
  • Rollover indefinitely

For most people, if eligible for an HSA, it's superior to an FSA. FSAs are appropriate when you must use funds for near-term expenses (predictable annual costs like dependent care).

Real-world examples

Example 1: Marcus, age 28, single, healthy, employer HSA match

Marcus enrolled in an HDHP. His employer contributes $1,000 to his HSA. He contributes $2,150 from payroll (totaling $3,150 of the $4,150 limit). He invests all HSA funds in a stock index fund.

Year 1 costs:

  • Contributions: $3,150 (from Marcus) + $1,000 (employer) = $4,150
  • Medical expenses: $400 (some out-of-pocket)
  • Tax savings: $3,150 × 22% = $693

Marcus pays:

  • HDHP premium: $120/month = $1,440
  • Medical out-of-pocket: $400
  • Net HSA tax savings: -$693
  • Net cost: $1,440 + $400 - $693 = $1,147

Meanwhile, his $4,150 HSA balance is invested and growing. Over 37 years to age 65, at 7% annual returns, it becomes $396,000. In retirement, this tax-free medical fund covers decades of healthcare costs without reducing his Social Security or other income for tax purposes.

Example 2: Patricia, age 50, type 2 diabetes, catch-up contributions

Patricia earns $80,000, is in a 22% tax bracket, and qualifies for HSA catch-up contributions ($1,050 extra at age 50+). She contributes the maximum: $4,150 + $1,050 = $5,200.

Tax savings:

  • Federal income tax: $5,200 × 22% = $1,144
  • Payroll tax (FICA): $5,200 × 7.65% = $398
  • Total year 1 tax savings: $1,542

Patricia's medical costs annually: $3,500 (medications, visits, tests). She pays out-of-pocket, using her emergency fund to replenish. Her HSA balance grows:

  • Year 1: $5,200 + tax savings = $6,742 invested
  • Year 10: ~$82,000 (after contributions and 7% growth)
  • Year 15 (age 65): ~$130,000

In retirement, she reimburses herself from her HSA for 15 years of accumulated out-of-pocket medical expenses ($3,500 × 15 = $52,500), leaving $77,500 tax-free medical funds for additional retirement care.

Example 3: James, age 32, self-employed, sporadic medical needs

James is self-employed and purchased an HDHP-eligible individual health plan. He can open an HSA and contribute $4,150 annually. He's inconsistent—some years contributing $2,000, other years skipping contributions when cash flow is tight.

He doesn't maximize the HSA, but over 33 years, his average contribution is $3,000/year = $99,000 total. At 6% growth, it becomes $238,000 by age 65. Even underfunding, the HSA generates substantial wealth.

The key: any amount he contributes receives triple tax benefits and compounds indefinitely.

Common mistakes

Not investing HSA funds. Keeping an HSA in cash earns 0.5% interest; investing in index funds earns 6%+ annually. Over decades, this is the difference between $100,000 and $300,000.

Using HSA for current expenses immediately. This defeats the wealth-building purpose. If you can afford out-of-pocket medical costs, pay them and let the HSA grow. Defer withdrawals until retirement or when truly needed.

Not keeping receipts. Without receipts, the IRS can disallow withdrawals and assess penalties. Keep documentation organized.

Over-contributing. Contributions above limits are penalized 6% annually until corrected. If you contribute $5,000 to a $4,150 limit, correct it by April 15 of the next year.

Forgetting catch-up contributions at 55. Many people age 55+ don't know they can contribute an extra $1,050 annually. Inform yourself at 55 and maximize it for 10 years until 65.

Losing HSA when changing jobs. Your HSA is yours forever. When you leave an employer, roll the balance to a personal HSA at a custodian you control. Don't leave it in the old employer plan.

FAQ

Can I use my HSA to pay for my spouse's medical expenses?

Yes, if your spouse is married to you and claimed as your dependent. You can reimburse your spouse for expenses or have the HSA pay directly. Spouse coverage requires family-level HDHP enrollment.

What happens to my HSA when I turn 65 and enroll in Medicare?

You become ineligible to contribute to a new HSA. However, your existing balance remains yours permanently. You can continue withdrawing for medical expenses tax-free. After 65, non-medical withdrawals are taxed but face no 20% penalty (treated like traditional IRA withdrawals).

Can I invest my HSA in individual stocks or risky assets?

Yes, if your HSA custodian allows it. Many custodians restrict investments to mutual funds or index funds for simplicity. Check your HSA provider's investment options. Individual stocks are allowed by some (Fidelity, Schwab) but not others.

What if I have a health FSA through my employer—can I also have an HSA?

Only if your FSA is specifically "HSA-compatible." Standard FSAs make you ineligible for HSA contributions that year. Check with your employer's benefits department.

Can I carry an HSA balance if I leave my job?

Yes, absolutely. Your HSA is your personal property. If your employer sponsored the account, you can roll it to a personal HSA at an independent custodian (Fidelity, Lively, Charles Schwab). You keep the full balance and can continue contributing if you maintain HDHP coverage through individual insurance or a new employer.

How do I prove I paid medical expenses years ago if audited?

The IRS requires receipts and documentation. Best practice: keep a spreadsheet listing medical expenses, dates, amounts, and providers. Attach receipts or EOBs (explanation of benefits). If receipts are lost, a contemporaneous written statement can sometimes substantiate expenses, but original documentation is stronger.

Summary

Health Savings Accounts are powerful tax-advantaged accounts for people enrolled in high-deductible health plans. They offer triple tax benefits: pre-tax contributions reduce income taxes, investment growth is tax-free, and withdrawals for medical expenses are tax-free. Contribution limits are $4,150 individually or $8,300 for families in 2024, plus catch-up contributions of $1,050 for age 55+. The most powerful HSA strategy involves max-contributing, investing the funds in diversified index funds, and deferring withdrawals until retirement, allowing decades of tax-free compounding. HSAs can grow to $300,000–$500,000 by retirement, creating a tax-free medical fund for late-life care. Properly used, an HSA exceeds 401(k)s in tax efficiency and wealth-building potential.

Next

FSA vs HSA