Do You Pay Capital Gains Taxes in HSA Account?

Many people wonder if they need to pay capital gains taxes in their HSA accounts. The good news is that in most cases, you do not have to pay capital gains taxes on investments within your HSA.

HSAs (Health Savings Accounts) are tax-advantaged accounts that allow individuals to save for medical expenses on a tax-free basis. Contributions to an HSA are tax-deductible, and withdrawals used for qualified medical expenses are also tax-free.

Here are some key points to keep in mind about capital gains taxes in an HSA:

  • Contributions to an HSA are made with pre-tax dollars, so any growth or gains within the account are also tax-deferred.
  • If you invest your HSA funds in stocks, bonds, or mutual funds, any capital gains from these investments are not subject to capital gains taxes as long as the money remains in the HSA.
  • However, if you use your HSA funds for non-medical expenses before the age of 65, you will be subject to income taxes and a 20% penalty on the withdrawn amount.
  • After the age of 65, you can withdraw funds from your HSA for non-medical expenses without penalty, but they will be subject to income taxes.

Overall, HSAs offer a unique opportunity to save for medical expenses while enjoying significant tax benefits. By understanding the rules and regulations surrounding capital gains taxes in an HSA, you can make the most of this valuable savings tool.


Many individuals are curious about whether capital gains taxes apply to their HSA accounts, and the encouraging news is that, in most instances, these taxes do not come into play for investments held within an HSA.

Health Savings Accounts (HSAs) allow you to save for medical expenses with significant tax advantages. Contributions are tax-deductible, and any money withdrawn for qualified medical expenses remains tax-free.

Here's a breakdown of what you need to know about capital gains taxes in an HSA:

  • Contributions are made with pre-tax earnings, which means that any gains you earn while your money sits in the HSA are not taxed until you withdraw them for non-qualified expenses.
  • If you decide to invest in stocks, bonds, or other assets through your HSA, capital gains achieved on those investments are tax-deferred as long as those funds remain in the account.
  • Be cautious, though! If you withdraw HSA funds for non-medical expenses before turning 65, you will face regular income tax rates plus an additional 20% penalty on the amount taken out.
  • Once you reach 65, you can access your HSA funds for non-medical expenditures without facing the penalty, yet those withdrawals will still be subject to standard income tax.

Overall, HSAs provide a great opportunity for individuals to get ahead in covering medical expenses while enjoying notable tax benefits. By fully understanding the implications of capital gains taxes in HSAs, you can effectively harness this powerful savings tool to your advantage.

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