How to Invest With Your HSA, and Why

Health savings accounts have great benefits, including a triple tax advantage and the ability to invest your savings.

Many, or all, of the products featured on this page are from our advertising partners who compensate us when you take certain actions on our website or click to take an action on their website. However, this does not influence our evaluations. Our opinions are our own. Here is a list of our partners and here's how we make money.


The investing information provided on this page is for educational purposes only. NerdWallet, Inc. does not offer advisory or brokerage services, nor does it recommend or advise investors to buy or sell particular stocks, securities or other investments.

Updated · 3 min read
Profile photo of Alana Benson
Written by Alana Benson
Lead Writer
Profile photo of Pamela de la Fuente
Assigning Editor
Nerdy takeaways
  • A health savings account (HSA) helps save toward medical expenses and also offers triple tax benefits.

  • Contributions reduce your taxable income, the money grows tax-free, and withdrawals for qualified expenses aren’t taxed either.

  • You can invest HSA dollars the same way you would an individual retirement account (or other investment account).

  • Make HSA contributions by the tax-filing deadline to lower your taxable income.

It’s hard enough to motivate yourself to save for retirement, but saving for your future medical costs? How responsible does a person have to be?

Thankfully, health savings accounts, or HSAs, are tools that make saving for future health-related expenses less painful. These accounts allow you to save money, but they also allow you to invest. With open enrollment coming up, an HSA might be something to consider.

“One cool trick is to invest the money in an HSA just like you invest in your IRA,” Victor Medina, a certified financial planner and founder of Palante Wealth Advisors in Pennington, New Jersey, said in an email interview.

Advertisement
NerdWallet rating 

4.8

/5
NerdWallet rating 

5.0

/5
NerdWallet rating 

4.6

/5

Fees 

$0

per online equity trade

Fees 

$0.005

per share; as low as $0.0005 with volume discounts

Fees 

$0

Account minimum 

$0

Account minimum 

$0

Account minimum 

$0

Promotion 

None

no promotion available at this time

Promotion 

Exclusive!

U.S. residents who open a new IBKR Pro account will receive a 0.25% rate reduction on margin loans. Terms apply.

Promotion 

Earn up to $10,000

when you transfer your investment portfolio to Public.

Investing through an HSA

Think of your HSA as a home for your medical money. Just like a brokerage account or an IRA, you’ll need to put money into the account before you buy investments. Then, after you fund the account, you can start investing.

Some HSAs offer tools that help you choose your investments and provide automatic rebalancing, so your portfolio stays within your preferred allocation. Others allow you to select from specific investments, such as stocks, bonds, mutual funds and ETFs.

Whatever method you choose, investing your money through an HSA will likely allow it to grow faster than by saving alone. However, if your HSA is offered through an employer, you may have fewer options for how you can invest your money.

Take advantage of the triple tax benefit

Once you start investing through your HSA, you can begin reaping the rewards — one of the biggest being the triple tax benefit, Medina said.

“Another cool trick is that the accounts are triple tax-advantaged, which means contributions are tax-deductible, growth is tax-free and the distributions are tax-free when used for qualified medical expenses. In addition, unlike a 401(k) or IRA, you don’t have to deduct money from the account at a certain age.”

If you’re investing over the long term in your HSA, that tax-free growth can make a significant difference in the amount of money you keep.

Prepare for long-term care

According to data from insurance company Genworth Financial, the median annual cost of an in-home health aide in 2021 was $61,776; a private room in a nursing home cost about $108,405 a year.

Thinking about getting older can be challenging for many reasons, not least of all because of the financial burden that can accompany aging. But investing in an HSA can allow you to prepare for those expenses in advance.

If you invested $200 in an HSA every month starting when you were 30 years old and earned the stock market’s standard 10% annual return, by the time you were 70, you could have almost $1.3 million — a significant nest egg for your golden years.

And while it may be tempting to use your HSA money along the way, Faron Daugs, a CFP and CEO of Harrison Wallace Financial Group in Libertyville, Illinois, often advises against that.

“With clients that are generally working and still making a living, if they do qualify to contribute, I often encourage them not to use those funds on an annual basis, so let them sit aside and grow almost like you would in an IRA,” says Daugs.

Pay yourself back later

If you can avoid taking out HSA funds as you go, you can reap the benefits down the road. Unlike flexible spending accounts, or FSAs, which require you to spend the money within a specific time or otherwise forfeit it, HSAs can be rolled over from year to year.

“You are not required to reimburse yourself in the same year. You are only restricted to reimbursing yourself for expenses that occurred after the date the account was established,” said Medina in an email.

The benefit is that “You can contribute money into the account, let it grow for decades and then take a lump-sum distribution in the future that would put money in your pocket tax-free." Just “make sure to keep the receipts for what you paid out of pocket for medical expenses,” said Medina.

Hack your IRA

According to Daugs, HSAs have a little trick up their sleeve to help people who don’t have a considerable amount of money saved up: You can rollover a maximum of your annual HSA contribution limit for that year ($3,850 for individuals in 2023, $4,150 in 2024) from a traditional or Roth IRA into your HSA.

The IRA to HSA rollover is a neat trick you can use if you have an unexpected medical expense and your HSA isn’t as fleshed out as you’d like it to be.

» Need a retirement account? See our list of the best IRAs.

And while HSAs have a lot of benefits, they aren’t for everyone. Because participants must be on a high-deductible plan to have an HSA, that can be a deal-breaker for some. Choosing a health plan during open enrollment will depend on your situation and the options available to you.

Next steps:

Get more smart money moves – straight to your inbox
Sign up and we’ll send you Nerdy articles about the money topics that matter most to you along with other ways to help you get more from your money.