Which Box 12 for HSA? A Comprehensive Guide to Health Savings Accounts

When it comes to Health Savings Accounts (HSAs), understanding the tax forms and box numbers is crucial for proper filing and maximizing your benefits. Box 12 of the W-2 form is where HSA contributions are reported.

Here is a comprehensive guide to which Box 12 code is used for HSA contributions:

  • Box 12 Code W: This code is used to report HSA contributions made through a Section 125 cafeteria plan provided by an employer.
  • Box 12 Code DD: This code is used to report the total amount of HSA contributions, including both employee and employer contributions.

It's essential to differentiate between the codes to accurately report your HSA contributions and ensure you receive the tax benefits associated with them. If you have multiple jobs or contribute to multiple HSAs, you may see different codes in Box 12 for each employer.

By understanding the significance of Box 12 for HSA contributions, you can effectively manage your healthcare expenses and plan for future medical needs.


When it comes to Health Savings Accounts (HSAs), understanding the intricacies of your tax forms, particularly Box 12 of the W-2, is essential for optimizing your financial benefits. Accurate reporting of HSA contributions can save you money come tax season.

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