Do You Pay Capital Gains on HSA Stocks?

When it comes to investing your Health Savings Account (HSA) funds in stocks, many people wonder about the tax implications and whether they need to pay capital gains taxes on any profits earned. The good news is that HSAs offer a triple tax advantage, which means you can enjoy tax-free growth on your investments as long as the funds are used for qualified medical expenses. This includes any gains you make on stocks within your HSA.

Here are some key points to keep in mind:

  • Contributions to your HSA are tax-deductible, grow tax-free, and withdrawals for qualified medical expenses are also tax-free.
  • If you sell stocks within your HSA and realize a capital gain, the profit is not subject to capital gains tax as long as the funds remain in the HSA and are used for eligible medical expenses.
  • However, if you withdraw money from your HSA for non-medical purposes, the gains on stocks would be subject to income tax and potentially a 20% penalty if you are under 65 years old.
  • It's important to keep track of your HSA transactions and ensure that any withdrawals are for qualified medical expenses to avoid tax implications.
  • Consult with a financial advisor or tax professional for personalized advice on managing your HSA investments and understanding the tax implications.

Overall, investing in stocks within your HSA can be a smart way to grow your savings for healthcare costs in a tax-advantaged manner, but it's crucial to stay informed about the rules and regulations to maximize the benefits.


Are you considering investing your HSA funds in stocks? If so, you might be asking, do I pay capital gains on HSA stocks? The great news is that HSAs provide a unique triple tax advantage that allows your investments to grow tax-free as long as the funds are utilized for qualified medical expenses. Gains made on stocks within your HSA are also protected from capital gains taxes.

Download our FREE mobile app to get more of the following

Over 7,000+ HSA eligible items for sale.
Check on product HSA (Health Savings Account) eligibility
Get price update notifications
And more!

Did you find this page useful?

Subscribe to our Newsletter