Do Health Savings Accounts Pay Capital Gains Tax on HSA Gains?

Health Savings Accounts (HSAs) are a popular option for individuals looking to save for medical expenses tax-free. One common question that comes up is whether HSAs are subject to capital gains tax on the gains earned within the account.

Unlike traditional investment accounts, where capital gains are typically taxed, HSAs offer a unique tax advantage when it comes to earnings within the account. Here's some key information to consider:

  • HSAs provide a triple tax benefit: contributions are tax-deductible, earnings grow tax-free, and withdrawals for qualified medical expenses are also tax-free.
  • When you contribute to an HSA, you can invest those funds, similar to a 401(k) or IRA, allowing your money to potentially grow over time.
  • Any gains earned within an HSA are not subject to capital gains tax as long as the funds are used for qualified medical expenses.
  • If you withdraw money from your HSA for non-qualified expenses, you may be subject to income tax and a 20% penalty.
  • It's important to keep accurate records of your HSA transactions to ensure compliance with IRS regulations.

In summary, HSAs offer a tax-advantaged way to save for medical expenses, including the ability to earn investment gains without being taxed on capital gains. By using HSA funds for qualified medical expenses, you can enjoy tax-free growth and withdrawals, making it a valuable tool for healthcare savings.


Health Savings Accounts (HSAs) are an excellent financial tool, especially for those who want to plan for future medical expenses while enjoying tax benefits. One question that often arises is whether HSAs incur capital gains tax on the money earned within the account. Fortunately, the answer is no. HSAs provide a unique platform for savings that includes investing without the typical tax liabilities found in standard investment accounts.

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