W-2 Box 12 Codes: What Each Letter Means
W2 box 12 codes are letters paired with dollar amounts that report benefits, deferrals and certain taxes outside the main wage boxes. The four most asked are DD (health coverage cost, not taxable), D (401(k) deferral), W (employer HSA contributions) and C (taxable group-term life insurance). Some change what you owe. Others don’t. The IRS General Instructions for Forms W-2 and W-3 define every code.
| What | Rule |
|---|---|
| How an entry looks | The capital letter code sits left of the vertical line and the dollar amount sits right of it, with a decimal point and cents but no dollar sign or comma. |
| Code DD | Reports the cost of employer-sponsored health coverage. The amount is not taxable. |
| Code D | Reports 401(k) elective deferrals. The Retirement plan box in Box 13 is checked, and the amount shows in Box 3 even though it is left out of Box 1. |
| Code W | Reports all employer HSA contributions, including amounts an employee elected through a Section 125 cafeteria plan. |
| Code C | Reports the taxable cost of group-term life coverage over $50,000. It is already included in Boxes 1, 3 and 5, so it explains why your taxable wages run higher. |
The codes come from the General Instructions for Forms W-2 and W-3 published by the IRS. The 2026 version lists codes A through II, plus the new codes TA, TP and TT.
How do you read Box 12a to 12d?
Box 12 has four lines, 12a through 12d. Each line holds one code on the left and one amount on the right. Formatting follows the entry rules in the quick answer above, so a missing decimal point on your copy is worth flagging to your employer.
If your employer has more than four items to report, it issues a second W-2 for the extras. That’s normal, and you report both forms. One exception: prior-year USERRA make-up deferrals can repeat code D, each with its year, such as D 24 2250.00. For any other repeat, read the instructions’ wording for that code.
An empty Box 12 is fine. It means none of the codes apply to you, and there’s nothing to do. Need the rest of the form? The full W-2 box-by-box breakdown covers it.
Sort every code into one of three groups
- Informational. Nothing to enter on your return. Code DD is the example.
- Already out of Box 1. The amount was excluded from taxable wages, so don’t subtract it again. Code D fits here.
- Adds tax or needs action. Code C raises taxable wages, and code W may need a separate form.
Employers: run each payroll deduction through this same sort before you fill in a W-2.
How to sort any Box 12 code
- Does the code add tax or need another form?Yes:Action: handle it on your return, as with codes A, B, K or W.No:go to the next question
- Is the amount already left out of Box 1?Yes:Excluded: don’t subtract it again, as with code D.No:go to the next question
- Is the code only reporting information, like DD?Yes:Informational: nothing to enter on your return.No:Look up the code in the current IRS instructions.
Answer in order to see what your code means for your return.
W-2 Box 12 codes list from the IRS instructions
The 2026 instructions list Box 12 codes A through II, plus TA, TP and TT, which are new for 2026 forms. The table below groups every code by what you do with it, so you can find your letter and your next step in one pass. Treat it as a w2 box 12 codes explained reference, and look at the current year’s instructions before you rely on it, because the list changes.
Group markers: Info means nothing to enter on your return. Excluded means the amount is already out of Box 1. Action means the amount adds tax or may need another form. The wording in the middle column is shortened. The full definition for each code is in the IRS instructions.
| Code | What it reports | What you do with it |
|---|---|---|
| A | Uncollected Social Security or RRTA tax on tips | Action: this is additional tax; see the Form 1040 instructions |
| B | Uncollected Medicare tax on tips | Action: additional tax, same as code A |
| C | Taxable cost of group-term life coverage over $50,000 | Action: already included in Boxes 1, 3 and 5, so don’t add it again |
| D | Elective deferrals to a 401(k) plan | Excluded: already out of Box 1, so don’t subtract it again |
| E, F, G, H, S | Elective deferrals to 403(b), SEP, 457(b), 501(c)(18)(D) and SIMPLE plans | Excluded: same treatment as code D; see how pre-tax deductions lower taxable wages |
| J | Nontaxable sick pay | Info |
| K | 20% excise tax on excess golden parachute payments | Action: additional tax |
| L | Substantiated employee business expense reimbursements | Info |
| M, N | Uncollected Social Security and Medicare tax on group-term life coverage (former employees) | Action: additional tax |
| P | Excludable moving expense reimbursements | Info: reported here for military members only |
| Q | Nontaxable combat pay | Info: you may choose to include it for the earned income credit |
| R | Employer contributions to an Archer MSA | Action: may require a separate form |
| T | Adoption benefits | Action: may require a separate form |
| V | Income from exercising nonstatutory stock options | Info: already included in Boxes 1, 3 and 5 |
| W | All employer HSA contributions, including Section 125 elections | Action: may require Form 8889 |
| Y | Deferrals under a nonqualified deferred compensation plan | Info |
| Z | Income under a nonqualified plan that fails section 409A | Action: additional tax |
| AA, BB, EE | Designated Roth contributions to 401(k), 403(b) and governmental 457(b) plans | Not excluded: already included in Boxes 1, 3 and 5 |
| CC | Reserved for future use | Nothing to do |
| DD | Cost of employer-sponsored health coverage | Info: the amount is not taxable |
| FF | Small employer health reimbursement arrangement benefits | Info: may affect a premium tax credit claim |
| GG | Income from a qualified equity grant under section 83(i) | Info: already included in Boxes 1, 3 and 5 |
| HH | Aggregate deferrals under a section 83(i) election | Info |
| II | Medicaid waiver payments excluded from income | Info: may matter for the earned income credit |
| TA | Employer contributions to a Trump account (new for 2026 forms) | See the 2026 additions below |
| TP | Total cash tips reported to the employer (new for 2026 forms) | See the 2026 additions below |
| TT | Half portion of time-and-a-half overtime pay (new for 2026 forms) | See the 2026 additions below |
Two points trip people up. Roth codes sit on the taxable side, so the amount is part of your Box 1 wages. And pre-tax codes such as D still show up in Box 3, because Social Security tax applies to those deferrals.
What does code DD mean on a W-2?
Code DD shows the total cost of the health coverage your employer sponsors, and it is not taxable. It’s a w-2 code dd box 12 entry that tells you what the coverage was worth, not what you earned.
Who has to report it
The IRS instructions say employers must report the cost of employer-sponsored health coverage in Box 12 under code DD. The figure combines the employer’s share and the employee’s share. Because it isn’t income, you don’t enter it on your return, and it can’t shrink your refund.
The instructions give no W-2 count threshold. They describe transitional relief for certain employers and plan types, so a small employer may not be required to report it. Check the ACA tax provisions pages on IRS.gov for the current relief.
Some items stay out of DD. Health FSA salary reductions aren’t counted, apart from employer contributions beyond the employee’s own election. S corporation premiums for 2%-or-more shareholders are left out and show up in Box 1 wages instead.
Your DD amount will usually exceed what you paid. Your paycheck deduction covers only your share, while DD adds the employer’s share. See why paycheck deductions differ from W-2 totals.
What do codes D, W and C mean, and does each change your taxes?
Only code C is added to your taxable wages, and even then you enter nothing extra. Codes D and W are already out of Box 1, and every amount is already counted in the right boxes on your W-2. The three codes below are the ones people most often misread.
Code D: 401(k) deferral
Code D is the pre-tax 401(k) elective deferral you chose to make from your pay. The amount is excluded from Box 1, so your taxable wages are already lower. It still appears in Box 3 and Box 5 because Social Security and Medicare tax apply to it. Don’t subtract it again. Roth 401(k) contributions don’t use D. They’re reported under code AA and are included in Boxes 1, 3 and 5. Among w2 box 12 codes, D also comes with the Retirement plan box checked in Box 13.
Code W: HSA contributions
Code W reports all employer contributions to your Health Savings Account, including pre-tax amounts you elected through a Section 125 cafeteria plan. Those dollars are already excluded from Box 1, so they aren’t a deduction to claim again. You report the activity on Form 8889, and that’s where you check your contribution limit. Compare the W total with the limit for your coverage type, since excess contributions can create tax.
Code C: group-term life over $50,000
Code C is the taxable cost of employer-paid group-term life insurance above $50,000 of coverage. It’s already included in Boxes 1, 3 and 5. Your return needs no further entry. It simply explains why your taxable wages run higher than your paychecks suggest. To see how deferrals move gross pay toward take-home pay, read how gross pay becomes net pay.
Worked example: one employee
Maria earns $60,000.00 in gross wages. She defers $3,000.00 to her 401(k), and her employer adds $1,000.00 to her HSA. Her employer also reports $200.00 of taxable group-term life.
| Item | Amount | Effect on Box 1 |
|---|---|---|
| Gross wages | $60,000.00 | Starting point |
| Code D deferral | $3,000.00 | Subtracted: -$3,000.00 |
| Code W HSA | $1,000.00 | No change, already excluded |
| Code C life insurance | $200.00 | Added: +$200.00 |
| Box 1 result | $57,200.00 | $60,000 – $3,000 + $200 |
Boxes 3 and 5 for Maria show $59,200.00, because the deferral stays in them, the HSA amount comes out and the life insurance is added. The W amount reaches her return only through Form 8889.
Common mistakes with codes D, W and C
| Mistake | What to do instead |
|---|---|
| Adding the code D amount to income | Leave it alone. It’s already excluded from Box 1. |
| Deducting code W again on your return | Report it on Form 8889 only. A double deduction can draw an IRS notice, so respond to it by the date shown. |
| Adding code C on top of Box 1 | Don’t. It’s already in Boxes 1, 3 and 5. |
| Spotting a wrong amount in Box 12 | Ask your employer for a corrected W-2c. For a personal tax question, ask a CPA. |
Worked example: one W-2 with codes D, W and DD
Box 12 amounts only change Boxes 1, 3 and 5 through the exclusions you’ve already seen, and the arithmetic is short. The figures below are illustrative, for tax year 2026, and belong to an invented employee named Dana.
| Item | Amount | How it’s treated |
|---|---|---|
| Gross wages | $50,000.00 | Starting point |
| Code D (401(k) deferral) | $4,000.00 | Out of Box 1; stays in Boxes 3 and 5 |
| Code W (cafeteria plan HSA election) | $1,500.00 | Out of Box 1, 3 and 5 |
| Box 1 wages | $44,500.00 | $50,000 − $4,000 − $1,500 |
| Box 3 and Box 5 wages | $48,500.00 | $50,000 − $1,500 |
| Code DD (health coverage cost) | $9,000.00 | Informational; not in the arithmetic |
Box 3 counts wages only up to the Social Security wage base, which is $184,500 for 2026. Dana’s $48,500 sits far below it, so nothing is capped. If you want the reasoning behind Box 3 and Box 5 keeping deferrals, see why Boxes 3 and 5 still include 401(k) deferrals.
One detail to check on your own form: add D and W to Box 1 and you should land on gross pay. If it doesn’t, another deduction is in play.
What are the new codes TA, TP and TT for tax year 2026?
Three codes are new on Box 12 for tax year 2026 forms: TA, TP and TT. Your W-2 for 2025 won’t show them, because 2026 forms go out in early 2027, with the February 1, 2027 deadline.
| Code | What it reports | Link to other boxes |
|---|---|---|
| TA | Employer contributions to a Trump account under a Section 128 program | None noted |
| TP | Total cash tips reported to the employer | An occupation code goes in Box 14b |
| TT | Only the half portion of time-and-a-half overtime | Overtime stays subject to income tax withholding, Social Security and Medicare tax |
Short version of “what does TT mean on W-2?”: it isolates the premium half of your overtime pay, not your total overtime. Code TP pairs with the tipped occupation code described on the Box 14 and 14b page.
These w2 box 12 codes 2026 entries are reporting lines. Don’t assume any deduction amount from them. Read the final General Instructions for Forms W-2 and W-3 before you claim anything.
Next step: match each code to your return
Find your letter in the table above, check its group, and act only on the codes marked Action. Info and Excluded codes need nothing from you.
If a code or amount looks wrong, ask your employer for a corrected form. The employer fixes it with Form W-2c, files Copy A with the SSA and gives you a copy. Employers who spot their own error should file one too.
This page is general information, not tax or legal advice for a specific business. For your own return, ask a CPA or the IRS.
Official sources used for this article:
Frequently Asked Questions
Is code DD included in my taxable income?
No. The IRS instructions state that the amount reported with code DD is not taxable. It shows the cost of employer-sponsored health coverage, combining the employer’s and employee’s shares. You don’t enter it on your return, and it doesn’t raise or lower your taxable wages in Box 1.
What is the difference between code D and code AA?
Code D reports pre-tax 401(k) elective deferrals, which are left out of Box 1. Code AA reports designated Roth 401(k) contributions, which are included in Boxes 1, 3 and 5. So D lowers your taxable wages now, while AA does not.
Do I enter code W on my tax return if my employer already excluded it?
You don’t deduct it again, but you may still need a form. Code W covers all employer HSA contributions, including Section 125 elections, and those dollars are already out of Box 1. HSA activity is generally reported on Form 8889, so ask a CPA if your situation is unusual.
Can Box 12 show the same code twice?
Yes, in one case the instructions describe. Prior-year USERRA make-up deferrals are entered separately with their year, for example D 24 2250.00 and D 25 1250.00. Otherwise, an employer with more than four Box 12 items issues an additional Form W-2 for the extras.
Do small employers have to report code DD?
Not always. The IRS instructions say employers must report health coverage cost under code DD, but they describe transitional relief for certain employers and certain plan types. Whether relief covers a given employer depends on its plan, so check the ACA tax provisions pages on IRS.gov.
What does an empty Box 12 on my W-2 mean?
It means none of the Box 12 codes apply to your pay for that year, so there is nothing to enter on your return. If you expected a code, such as a 401(k) deferral under code D, ask your employer’s payroll contact whether the form is complete.
