HSA Shop logoHSA Shop

HSA Guide

What Code is HSA Contribution on W-2 Form?

Published June 8, 2024

Check eligibility on the gobrowse 7,000+ HSA-eligible products in the free app.

Get the app
Short answer: HSA contributions are typically not subject to federal income tax and aren’t included in the W-2 'Wages, tips, other compensation' box; they’re reported in 'HSA contributions'/'Distributions from an HSA' and may also appear in Box 12 with code W.

Where HSA contributions appear on W-2

One of the common questions that arises during tax season is what code is the HSA contribution on the W-2 form. Understanding this code is important for individuals who have contributed to a Health Savings Account (HSA) during the year.

When you contribute to an HSA, the contributions are typically not subject to federal income tax. As a result, these contributions are not included in the 'Wages, tips, other compensation' box of your Form W-2. Instead, the HSA contributions will be reported in a separate box labeled 'HSA contributions' or 'Distributions from an HSA'.

Box 12 code W for HSA totals

It's essential to keep in mind that the HSA contributions may also be reported in Box 12 of the W-2 form with the code W. This code indicates the amount of HSA contributions made by both you and your employer, if applicable.

Why understanding the W-2 code matters

During tax season, understanding the code for HSA contributions on your W-2 form is crucial for accurate reporting. This code ensures that the contributions you made to your Health Savings Account (HSA) are properly recognized by the IRS.

Free App

Browse 7,000+ HSA-Eligible Products

Search by symptom, get price alerts, and build your HSA shopping list — all in the free app.

← Back to all articles