Advertisement
Quick answer

Code W in Box 12 of your W-2 means HSA contributions (employer + employee pre-tax through payroll). Tax treatment: Pre-tax (already excluded).

What Code W means

If you also put money into the HSA outside of payroll, you may be able to deduct that extra amount on Form 8889 โ€” but not the Code W amount, which is already tax-free.

Does Code W affect my taxes?

The total contributed to your Health Savings Account through payroll โ€” both your pre-tax contributions and any your employer added. It's already excluded from your Box 1 wages.

Where to find Code W on your W-2

Box 12 has up to four slots โ€” labeled 12a, 12b, 12c, and 12d. Each slot shows a letter code and a dollar amount. The 12aโ€“12d labels are just line numbers; the actual code is the small letter next to the money. So "12a: W 5,000" means Code W with a $5,000 amount. When you file, enter the code and amount exactly as shown.

Advertisement

Frequently asked questions

The total contributed to your Health Savings Account through payroll โ€” both your pre-tax contributions and any your employer added. It's already excluded from your Box 1 wages.
Enter the code and amount into your tax software exactly as they appear on the W-2. The software handles the rest โ€” you don't calculate anything by hand.
Box 12 has up to four slots labeled 12a, 12b, 12c, and 12d. Each slot holds a letter code and a dollar amount. The small letter (like W) is the code; the number next to it is the amount. The 12aโ€“12d labels are just line labels, not codes.
Advertisement