$Missed Deductions

What is Box 12 on my W-2 and what do the codes mean?

Understanding Your Returnintermediate2 answers · 7 min readUpdated February 28, 2026

Quick Answer

Box 12 shows pre-tax benefits using single-letter codes. Code D means 401(k) contributions, C is group life insurance over $50,000, DD shows employer health coverage costs (for information only). The average Box 12 shows $8,000-$15,000 in combined pre-tax benefits, with 401(k) contributions (Code D) being the most common.

Best Answer

DF

Diana Flores, Tax Credits & Amendments Specialist

W-2 employees who want to understand their pre-tax benefits and how they affect their taxes

Top Answer

What does Box 12 show on your W-2?


Box 12 on Form W-2 reports various pre-tax benefits and employer contributions using single-letter codes. According to IRS Publication 15-A, employers must report these benefits to help you understand your total compensation and ensure accurate tax filing.


Box 12 can contain up to four separate entries, each with a letter code and dollar amount. These codes represent benefits that either:

  • Reduce your taxable income (pre-tax deductions)
  • Provide information for other tax forms
  • Affect your eligibility for certain tax benefits

  • The most common Box 12 codes


    Here are the codes you're most likely to see and what they mean:


    Code D - 401(k) contributions: Your pre-tax retirement contributions. If you see "D $6,000," you contributed $6,000 to your 401(k) during the year. This amount was already subtracted from Box 1 (taxable wages).


    Code C - Group-term life insurance: The taxable value of employer-provided life insurance coverage over $50,000. If your employer provides $200,000 in life insurance, the taxable value of the excess $150,000 appears here.


    Code DD - Employer health coverage: The total cost of employer-sponsored health insurance (employer + employee portions). This is informational only - you don't pay tax on this amount. The average DD amount is $7,500-$12,000 for single coverage, $18,000-$22,000 for family coverage.


    Code AA - Designated Roth contributions: After-tax Roth 401(k) contributions. Unlike Code D, these don't reduce your current taxable income but will be tax-free in retirement.


    Code B - Uncollected Social Security tax: Rare - only appears if you had benefit payments that couldn't have Social Security tax withheld.


    Code E - Pre-tax transportation/parking benefits: Employer-provided commuter benefits, up to $315/month for 2026.


    Example: Reading a typical Box 12


    Let's examine Box 12 for an employee earning $85,000 with comprehensive benefits:


    ```

    Box 12:

    D 7,500.00

    C 156.00

    DD 19,200.00

    E 1,800.00

    ```


    This shows:

  • D $7,500: Employee contributed $7,500 to 401(k) (pre-tax)
  • C $156: Taxable value of group life insurance over $50,000
  • DD $19,200: Total health insurance cost (informational)
  • E $1,800: Pre-tax parking/transit benefits ($150/month)

  • Less common but important codes


    Code F - Simple IRA contributions: Pre-tax contributions to employer SIMPLE IRA plans.


    Code G - Section 457 contributions: Pre-tax contributions to government/nonprofit 457(b) plans.


    Code H - Section 501(c)(18)(D) contributions: Contributions to certain tax-exempt organization retirement plans.


    Code J - Nontaxable sick pay: Employer-paid sick leave that's not subject to income tax.


    Code K - 20% excise tax on excess golden parachute payments: Rare - only for highly compensated executives.


    Code M - Uncollected Social Security tax on group-term life: Social Security tax on Code C amounts that couldn't be collected.


    Code P - Excludable moving expense reimbursements: Pre-2018, this showed non-taxable moving expenses. Now rarely used due to tax law changes.


    Code R - Employer contributions to HSA: Tax-free employer contributions to your Health Savings Account.


    Code S - Employee salary reduction to Section 408(p) SIMPLE: Another way to report SIMPLE IRA contributions.


    Code T - Employer-provided adoption benefits: Tax-free adoption assistance, up to annual limits.


    Code V - Income from exercise of nonstatutory stock options: Shows income from exercising non-qualified stock options.


    Code W - Employer contributions to HSA: Same as Code R - tax-free HSA contributions.


    How Box 12 affects your taxes


    Codes that reduce your current taxes:

  • D, AA, F, G, H, S (retirement contributions)
  • E (transportation benefits)
  • R, W (HSA contributions)

  • Codes that increase your taxable income:

  • C (group life insurance over $50,000)
  • V (stock option income)

  • Informational codes (no current tax impact):

  • DD (health coverage cost)
  • J (nontaxable sick pay)
  • T (adoption benefits - may affect adoption credit)

  • What you should verify


    1. Code D amount matches your 401(k) statements - errors here can affect your tax calculation

    2. Code C is reasonable - should be about $2.76 per $1,000 of life insurance over $50,000 (varies by age)

    3. Code DD seems realistic - average employer health coverage costs $7,500-$22,000

    4. Pre-tax codes (D, E, R) were properly excluded from Box 1 - your taxable wages should be reduced by these amounts


    Red flags in Box 12


  • Missing Code D when you contributed to 401(k) - could mean contributions weren't processed properly
  • Code C with no group life insurance - might indicate payroll error
  • Extremely high Code DD amounts - could signal COBRA or other premium issues
  • Unknown codes - use our form explainer to identify unusual codes

  • What you should do


    1. Match Code D to your 401(k) year-end statement - they should be identical

    2. Verify pre-tax deductions reduced Box 1 correctly - add Codes D, E, R to Box 1, compare to gross pay minus health insurance

    3. Check if Code C affects other taxes - group life insurance over $50,000 is subject to Social Security and Medicare tax

    4. Use our form explainer for unusual codes - some codes affect specific tax situations

    5. Keep Box 12 information for next year's planning - helps estimate future pre-tax savings


    Key takeaway: Box 12 Code D (401k contributions) is the most important for taxes, directly reducing your taxable income. Code DD (health coverage cost) is informational only but averages $15,000-$20,000 for most employees. Always verify Code D matches your retirement account statements.

    Key Takeaway: Box 12 Code D shows 401(k) contributions that directly reduce taxable income, while Code DD shows total health coverage costs (informational only, averaging $15,000-$20,000).

    Common Box 12 codes and their tax impact

    CodeWhat It RepresentsTax ImpactTypical Amount
    D401(k) pre-tax contributionsReduces taxable income$2,000 - $23,500
    CGroup life insurance over $50kIncreases taxable income$50 - $500
    DDTotal health coverage costInformational only$7,500 - $22,000
    AARoth 401(k) contributionsNo current tax reduction$1,000 - $23,500
    ETransportation benefitsReduces taxable income$300 - $3,780
    R/WHSA employer contributionsTax-free$500 - $4,300
    VStock option incomeIncreases taxable incomeVaries widely

    More Perspectives

    DF

    Diana Flores, Tax Credits & Amendments Specialist

    Employees with basic benefits who need to understand the most common Box 12 codes

    The 3 Box 12 codes simple filers see most


    Most W-2 employees with basic benefit packages will see these three codes in Box 12:


    Code D - Your 401(k) contributions: This is the most important code for your taxes. If you see "D $3,000," you contributed $3,000 to your 401(k) during the year. This money was taken from your paycheck before taxes, which is why your Box 1 wages are lower than your gross salary.


    Code DD - Health insurance cost: This shows what your employer paid for health insurance (their portion plus your portion). You might see "DD $8,400" even though you only paid $1,200 - the DD shows the full premium cost. This is just for your information; you don't pay tax on it.


    Code C - Life insurance value: If your employer provides life insurance worth more than $50,000, this shows the taxable value of the excess coverage. Most people see small amounts like "C $48" or "C $156."


    What these codes mean for your taxes


    Code D saves you money: Every dollar in Code D reduces your taxable income. If you're in the 22% tax bracket and have "D $4,000," you saved about $880 in federal taxes ($4,000 × 22% = $880).


    Code DD is just information: This doesn't affect your taxes at all. It's required reporting so you can see the full value of your health benefits.


    Code C might cost you a little: This amount is taxable income, but it's usually small. "C $156" means you pay tax on an extra $156 of income - about $34 in extra taxes if you're in the 22% bracket.


    Quick verification for simple filers


    1. Check that Code D matches your 401(k) statement - they should be exactly the same

    2. Make sure Code D amount was subtracted from your wages - your gross pay minus Code D (and health insurance premiums) should roughly equal Box 1

    3. Don't worry about Code DD - it's informational and doesn't affect your tax return


    If you only see these three codes, your Box 12 is straightforward. Use our refund estimator to see how your 401(k) contributions (Code D) increased your refund by reducing your taxable income.


    Key takeaway: Code D (401k) saves you taxes by reducing taxable income, Code DD (health costs) is just informational, and Code C (life insurance) adds a small amount to taxable income.

    Key Takeaway: For simple filers, Code D (401k) saves taxes, Code DD (health costs) is informational only, and Code C (life insurance) adds small taxable income.

    Sources

    w2 box 12pre tax benefits401khealth insuranceemployer benefits

    Reviewed by Diana Flores, Tax Credits & Amendments Specialist on February 28, 2026

    This content is for educational purposes only and is not a substitute for professional tax advice. Consult a qualified tax professional for advice specific to your situation.

    What is Box 12 on W-2? Codes D, C, DD Explained | MissedDeductions