Usually, your HSA contribution is reported in box 12 of your W-2 with the code W (Company Contributions to Health Savings Account). TurboTax automatically records this amount in the 1099-SA, HSA, MSA section.
Code W reports the combined HSA contributions from you and your employer. So if you contributed $1,500 to your HSA and your employer matched it dollar for dollar, box 12 on your W-2 would show $3,000 with a code W.
What if I made an HSA contribution that wasn't reported on my W-2?
You can also contribute directly to your HSA and get a tax deduction. This is uncommon for employees who make pre-tax contributions at work, but is more common for self-employed or unemployed taxpayers who have an HSA.
Here’s how to enter a post-tax HSA contribution in TurboTax:
- Open (continue) your return in TurboTax. In the search bar, search for hsa and select the Jump to link in the search results.
- On the screen Tell us about the health-related accounts you had in 2023, check the box next to Health Savings Account (HSA) and select Continue.
- If you land on Your HSA summary, select Edit, then make sure the Health Savings Account (HSA) box is checked on the next screen and select Continue. If you see the screen Here’s what we have so far, select Done.
- Answer Yes or No to Did you inherit this HSA?, depending on your situation.
- Enter your contribution on the screen Let’s enter your HSA contributions and select Continue.
- If you contributed too much, you'll see the message You may want to withdraw funds from your HSA. Select the option to either withdraw the excess or pay the penalty.
- Continue answering the questions until you reach Your HSA summary. All your employee contributions will be listed as a deduction, and any contributions made by your employer and not reported on your W-2 will be reported as tax-free company contributions.