Skip to main content
U.S. Tax & Compliance VerificationU.S. Tax Compliance•Official 2026 Tax Year Standard (IRS Pub. 15-T & Rev. Proc. 2025-32)
256-Bit WebCrypto Isolation•0-Byte Server Retention
easyw9form
Track RefundGenerate W-9 FreeFree W-9→
Form W-2 Tax GuideIRS W-2/W-3 Instructions Verified • 2026 Ready

W-2 Box 12 Codes (2026): What 12a-12d, DD, W, D & AA Mean

Confused by letter codes DD, W, D, AA, BB, C, or K in Box 12 of your Form W-2? Use our complete 2026 IRS decoder matrix to understand what every code means, how elective deferrals affect Box 1 wages, and how to report Box 12 correctly on Form 1040.

Key Takeaways for 2026 Compliance

  • Box 12 uses IRS statutory letter codes (A through TT) to report non-wage benefits and retirement deferrals.
  • Lines 12a, 12b, 12c, and 12d are physical row positions 1 through 4, NOT separate IRS tax codes.
  • New for 2026: Code TA (Trump Account § 128), Code TP (Qualified Tips), and Code TT (FLSA Overtime) reflect OBBBA statutory provisions.
  • Code DD (Health Insurance Cost) is 100% NON-TAXABLE and reported for ACA informational purposes only.
  • Code D (401k Pre-Tax) reduces Box 1 wages today; Code AA (Roth 401k) is after-tax and already included in Box 1.
  • Code W (HSA Contributions) legally requires filing IRS Form 8889 with your Form 1040 tax return.
  • Box 14 ("Other") reports state disability deductions (CASDI, SDI, NY PFL) and union dues with custom employer text.
  • Box D ("Control Number") is an optional internal payroll tracking number and can be left blank during e-filing.
2026 Form W-2 Benefit Decoder

Understand Your Form W-2 Line 12 Letter Codes & Benefit Deductions

Box 12 codes track health coverage (DD), HSA funding (W), 401(k) pre-tax deferrals (D), designated Roth contributions (AA/BB), life insurance (C), and uncollected FICA taxes. If you also receive freelance 1099 income, generate an official certified W-9 form online.

What is Box 12 on IRS Form W-2?

DIRECT ANSWER • IRS FORM W-2 DEFINITION

Box 12 on IRS Form W-2 reports non-wage compensation, statutory tax deductions, and employer-sponsored benefits using one- or two-letter IRS codes (A through II). Common codes include Code D for pre-tax 401(k) contributions, Code DD for employer healthcare coverage, Code W for HSA contributions, and Code AA for Roth 401(k) deferrals.

Box 12 on Form W-2 (Wage and Tax Statement) is used by employers to report various types of compensation, deductions, and benefits that do not fall into standard taxable payroll wage categories. This includes pre-tax retirement savings, employer-sponsored healthcare costs, health savings account (HSA) contributions, group-term life insurance, nonqualified deferred compensation, statutory excise taxes, and new federal tax deduction categories.

Because physical space on a printed W-2 form is limited, the IRS uses single- and double-letter codes (ranging from Code A to Code II) printed directly next to a dollar amount. On Copy B of your W-2, you will typically see four sub-lines labeled 12a, 12b, 12c, and 12d.

What is Box 12a, 12b, 12c, and 12d on Form W-2?

CRITICAL IRS RULE • 12a, 12b, 12c & 12d CLARIFIED

Lowercase letters (a, b, c, d) are physical row positions, not tax codes. Row 1 = 12a, Row 2 = 12b, Row 3 = 12c, Row 4 = 12d. Your actual statutory IRS tax code is the uppercase letter printed next to the dollar amount (such as Code DD, W, D, or AA).

One of the most frequent search queries for taxpayers is: "What is Box 12a on W-2?" or "What does 12b mean on my tax return?"

W-2 Sub-LineForm Slot PurposeCommon ExampleWhat It Means on Tax Return
Box 12aFirst benefit entry slotDD $8,450.00Code DD: Employer healthcare cost (100% non-taxable, informational only).
Box 12bSecond benefit entry slotD $19,500.00Code D: Pre-tax 401(k) elective deferrals (already deducted from Box 1 wages).
Box 12cThird benefit entry slotW $3,850.00Code W: HSA contributions (requires filing Form 8889 with Form 1040).
Box 12dFourth benefit entry slotAA $6,000.00Code AA: Designated Roth 401(k) contributions (after-tax retirement savings).
IRS Form W-2 Box 12 Code Finder

Instant Code Decoder: Search Any Letter Code (A to II + 2026 Codes)

Type your 1- or 2-letter uppercase code (e.g., DD, D, W, AA) or benefit name to check taxability, Form 1040 line impact, and required schedules.

Popular:
Showing 33 of 33 official IRS codes
CodeBenefit / Statutory NameIRS Tax StatusForm 1040 ReportingDetails
DD
Cost of Employer-Sponsored Health Coverage (ACA)
Total cost of employer-sponsored group health insurance under the ACA (includes employer subsidy and employee payroll deductions).
100% NON-TAXABLE (INFO ONLY)
Info Only (No 1040 Form)100% tax-free ACA health report
▼ More
D
Traditional 401(k) Pre-Tax Elective Deferrals
Voluntary pre-tax elective salary deferrals to a traditional Section 401(k) retirement plan (including SIMPLE 401(k) arrangements).
PRE-TAX (REDUCES BOX 1)
Line 1a ExcludedPre-tax (deducted from Box 1)
▼ More
W
Health Savings Account (HSA) Contributions
Combined employer contributions and employee pre-tax payroll salary deductions to an HSA through a Section 125 cafeteria plan.
PRE-TAX (REQUIRES FORM 8889)
Attach Form 8889Reconcile HSA on Line 9
▼ More
AA
Designated Roth 401(k) Contributions
Designated after-tax employee elective deferrals to a Roth 401(k) plan. Future qualified distributions and growth are 100% tax-free.
AFTER-TAX (INCLUDED IN BOX 1)
Line 1a IncludedAfter-tax (in Box 1 gross wages)
▼ More
C
Taxable Cost of Group-Term Life Insurance Over $50,000
Taxable value of employer-provided group-term life insurance coverage exceeding $50,000 (calculated via IRS Table I rates).
TAXABLE (INCLUDED IN BOX 1)
Line 1a IncludedFringe benefit already in Box 1
▼ More
G
Section 457(b) Deferred Compensation Plan
Elective deferrals and employer contributions to an IRS Section 457(b) plan for government and tax-exempt entity employees.
PRE-TAX (REDUCES BOX 1)
Line 1a ExcludedPre-tax 457(b) deferral
▼ More
E
Section 403(b) Salary Reduction Contributions
Elective pre-tax salary reduction contributions under an IRS Section 403(b) plan for public schools, hospitals, and 501(c)(3) non-profits.
PRE-TAX (REDUCES BOX 1)
Line 1a ExcludedPre-tax 403(b) salary reduction
▼ More
BB
Designated Roth 403(b) Contributions
Designated after-tax elective contributions to a Roth 403(b) retirement plan for non-profit, medical, and educational institution employees.
AFTER-TAX (INCLUDED IN BOX 1)
Line 1a IncludedAfter-tax Roth 403(b) deferral
▼ More
EE
Designated Roth Governmental 457(b) Contributions
Designated after-tax employee contributions to a governmental Section 457(b) Roth retirement plan.
AFTER-TAX (INCLUDED IN BOX 1)
Line 1a IncludedAfter-tax Roth 457(b) deferral
▼ More
S
SIMPLE IRA Salary Reduction Contributions
Employee salary reduction contributions under an IRS Section 408(p) SIMPLE IRA or SIMPLE 401(k) plan.
PRE-TAX (REDUCES BOX 1)
Line 1a ExcludedPre-tax SIMPLE IRA deferral
▼ More
F
Section 408(k)(6) Salary Reduction SEP (SARSEP)
Elective pre-tax salary deferrals under a grandfathered Salary Reduction Simplified Employee Pension (SARSEP) plan established before 1997.
PRE-TAX (REDUCES BOX 1)
Line 1a ExcludedPre-tax SARSEP deferral
▼ More
H
Section 501(c)(18)(D) Tax-Exempt Trust Plan
Elective pre-tax contributions to a Section 501(c)(18)(D) tax-exempt pension trust funded solely by employee contributions created before June 25, 1959.
PRE-TAX (DEDUCTIBLE ON 1040)
Schedule 1 (Part II)Above-the-line tax deduction
▼ More
A
Uncollected Social Security or RRTA Tax on Tips
Social security or RRTA tax on reported cash tips that could not be withheld from regular hourly wages.
TAXABLE (ADD TO FORM 1040)
Schedule 2: Line 13Uncollected tip FICA tax owed
▼ More
B
Uncollected Medicare Tax on Tips
Medicare tax on reported cash tips that could not be withheld due to insufficient hourly wages.
TAXABLE (ADD TO FORM 1040)
Schedule 2: Line 13Uncollected tip Medicare owed
▼ More
M
Uncollected Social Security/RRTA Tax on Former Employee Life Insurance
Uncollected social security tax on group-term life insurance over $50,000 for retired or former employees.
TAXABLE (SCHEDULE 2)
Schedule 2: Line 13Uncollected FICA on life ins.
▼ More
N
Uncollected Medicare Tax on Former Employee Life Insurance
Uncollected Medicare tax on the taxable value of group-term life insurance over $50,000 for former employees.
TAXABLE (SCHEDULE 2)
Schedule 2: Line 13Uncollected Medicare on life ins.
▼ More
K
20% Excise Tax on Excess Golden Parachute Payments
20% federal excise tax under IRC § 4999 on excess golden parachute payments received during corporate acquisitions.
EXCISE TAX (SCHEDULE 2)
Schedule 2: Line 17k20% parachute excise tax
▼ More
J
Nontaxable Third-Party Sick Pay
Sick pay paid by a third-party insurer funded with employee after-tax premiums (100% tax-free).
NON-TAXABLE (INFO ONLY)
No Entry (Tax-Free)3rd-party disability sick pay
▼ More
L
Substantiated Employee Business Expense Reimbursements
Nontaxable employee business travel, mileage, and meal reimbursements paid under an accountable plan.
NON-TAXABLE (ACCOUNTABLE PLAN)
No Entry (Accountable)Substantiated expense reimbursements
▼ More
P
Excludable Moving Expenses for Armed Forces Members
Direct moving expense reimbursements for active-duty Armed Forces members moving pursuant to military PCS orders.
NON-TAXABLE (MILITARY ONLY)
Form 3903 (Military)Armed Forces PCS moving costs
▼ More
Q
Nontaxable Military Combat Pay
Military pay for active service in an IRS-designated combat zone (completely excluded from income tax).
NON-TAXABLE (EITC ELIGIBLE)
Line 1b (Optional)Tax-free combat pay (EITC boost)
▼ More
R
Employer Contributions to Archer MSA
Employer contributions made to an Archer Medical Savings Account (Archer MSA).
REQUIRES FORM 8853
Attach Form 8853Archer MSA contributions
▼ More
T
Employer-Provided Adoption Assistance Benefits
Adoption assistance benefits provided by an employer (including Section 125 cafeteria pre-tax salary reductions).
REQUIRES FORM 8839
Attach Form 8839Employer adoption assistance
▼ More
V
Income from Nonstatutory Stock Options (NSO)
Income recognized from the exercise of nonstatutory stock options (spread between FMV and strike price).
TAXABLE (INCLUDED IN BOX 1)
Line 1a IncludedNSO stock spread (cost basis)
▼ More
Y
Section 409A Nonqualified Deferred Compensation Deferrals
Current-year salary/bonus deferrals under an IRS Section 409A nonqualified deferred compensation plan.
INFORMATIONAL (DEFERRED)
Info Only (Deferred)Section 409A deferrals
▼ More
Z
Section 409A Nonqualified Plan Failure (20% Penalty)
Income under a nonqualified deferred compensation plan that failed IRS Section 409A compliance rules.
TAXABLE + 20% PENALTY
Schedule 2: Line 17h409A 20% penalty tax owed
▼ More
FF
Qualified Small Employer HRA (QSEHRA) Benefits
Total permitted health insurance and medical reimbursement benefits under a Qualified Small Employer HRA.
NON-TAXABLE (QSEHRA)
Form 8962 (Optional)QSEHRA health reimbursement
▼ More
GG
Section 83(i) Qualified Equity Grants Income
Income recognized from qualified stock grants under IRS Section 83(i) upon expiration of the 5-year deferral period.
INCLUDED IN BOX 1
Line 1a IncludedSection 83(i) equity income
▼ More
HH
Section 83(i) Aggregate Deferrals
Cumulative aggregate deferrals under Section 83(i) qualified stock elections as of the close of the calendar year.
INFORMATIONAL (DEFERRED)
Info Only (Deferred)Section 83(i) cumulative deferral
▼ More
II
Medicaid Waiver Payments Excluded from Income
Difficulty of care payments and Medicaid waiver payments for providing in-home care (excludable under Notice 2014-7).
NON-TAXABLE (NOTICE 2014-7)
Line 1a ExcludedMedicaid waiver (Notice 2014-7)
▼ More
TP
Total Cash Tips Reported to Employer
Statutory code under 2026 IRS Instructions reporting total cash tips for federal qualified tip deduction calculations.
2026 UPDATE (TIP DEDUCTION)
Form 1040: Tip Ded.2026 cash tip deduction
▼ More
TT
Total Qualified Overtime Compensation
Statutory reporting code under 2026 IRS rules for the 1.5x FLSA premium portion of qualified overtime pay.
2026 UPDATE (OVERTIME PREMIUM)
Form 1040: Overtime2026 FLSA overtime premium
▼ More
TA
Employer Contributions to Trump Account (IRC § 128)
Reports employer contributions paid to a qualified account under Internal Revenue Code Section 128.
2026 UPDATE (SECTION 128)
Line 1a Excluded2026 IRC § 128 Trump account pre-tax
▼ More
Code DD
100% NON-TAXABLE (INFO ONLY)
Cost of Employer-Sponsored Health Coverage (ACA)
Total cost of employer-sponsored group health insurance under the ACA (includes employer subsidy and employee payroll deductions).
Form 1040 Reporting:
Info Only (No 1040 Form)100% tax-free ACA health report
▼ View Example & Warnings
Code D
PRE-TAX (REDUCES BOX 1)
Traditional 401(k) Pre-Tax Elective Deferrals
Voluntary pre-tax elective salary deferrals to a traditional Section 401(k) retirement plan (including SIMPLE 401(k) arrangements).
Form 1040 Reporting:
Line 1a ExcludedPre-tax (deducted from Box 1)
▼ View Example & Warnings
Code W
PRE-TAX (REQUIRES FORM 8889)
Health Savings Account (HSA) Contributions
Combined employer contributions and employee pre-tax payroll salary deductions to an HSA through a Section 125 cafeteria plan.
Form 1040 Reporting:
Attach Form 8889Reconcile HSA on Line 9
▼ View Example & Warnings
Code AA
AFTER-TAX (INCLUDED IN BOX 1)
Designated Roth 401(k) Contributions
Designated after-tax employee elective deferrals to a Roth 401(k) plan. Future qualified distributions and growth are 100% tax-free.
Form 1040 Reporting:
Line 1a IncludedAfter-tax (in Box 1 gross wages)
▼ View Example & Warnings
Code C
TAXABLE (INCLUDED IN BOX 1)
Taxable Cost of Group-Term Life Insurance Over $50,000
Taxable value of employer-provided group-term life insurance coverage exceeding $50,000 (calculated via IRS Table I rates).
Form 1040 Reporting:
Line 1a IncludedFringe benefit already in Box 1
▼ View Example & Warnings
Code G
PRE-TAX (REDUCES BOX 1)
Section 457(b) Deferred Compensation Plan
Elective deferrals and employer contributions to an IRS Section 457(b) plan for government and tax-exempt entity employees.
Form 1040 Reporting:
Line 1a ExcludedPre-tax 457(b) deferral
▼ View Example & Warnings
Code E
PRE-TAX (REDUCES BOX 1)
Section 403(b) Salary Reduction Contributions
Elective pre-tax salary reduction contributions under an IRS Section 403(b) plan for public schools, hospitals, and 501(c)(3) non-profits.
Form 1040 Reporting:
Line 1a ExcludedPre-tax 403(b) salary reduction
▼ View Example & Warnings
Code BB
AFTER-TAX (INCLUDED IN BOX 1)
Designated Roth 403(b) Contributions
Designated after-tax elective contributions to a Roth 403(b) retirement plan for non-profit, medical, and educational institution employees.
Form 1040 Reporting:
Line 1a IncludedAfter-tax Roth 403(b) deferral
▼ View Example & Warnings
Code EE
AFTER-TAX (INCLUDED IN BOX 1)
Designated Roth Governmental 457(b) Contributions
Designated after-tax employee contributions to a governmental Section 457(b) Roth retirement plan.
Form 1040 Reporting:
Line 1a IncludedAfter-tax Roth 457(b) deferral
▼ View Example & Warnings
Code S
PRE-TAX (REDUCES BOX 1)
SIMPLE IRA Salary Reduction Contributions
Employee salary reduction contributions under an IRS Section 408(p) SIMPLE IRA or SIMPLE 401(k) plan.
Form 1040 Reporting:
Line 1a ExcludedPre-tax SIMPLE IRA deferral
▼ View Example & Warnings
Code F
PRE-TAX (REDUCES BOX 1)
Section 408(k)(6) Salary Reduction SEP (SARSEP)
Elective pre-tax salary deferrals under a grandfathered Salary Reduction Simplified Employee Pension (SARSEP) plan established before 1997.
Form 1040 Reporting:
Line 1a ExcludedPre-tax SARSEP deferral
▼ View Example & Warnings
Code H
PRE-TAX (DEDUCTIBLE ON 1040)
Section 501(c)(18)(D) Tax-Exempt Trust Plan
Elective pre-tax contributions to a Section 501(c)(18)(D) tax-exempt pension trust funded solely by employee contributions created before June 25, 1959.
Form 1040 Reporting:
Schedule 1 (Part II)Above-the-line tax deduction
▼ View Example & Warnings
Code A
TAXABLE (ADD TO FORM 1040)
Uncollected Social Security or RRTA Tax on Tips
Social security or RRTA tax on reported cash tips that could not be withheld from regular hourly wages.
Form 1040 Reporting:
Schedule 2: Line 13Uncollected tip FICA tax owed
▼ View Example & Warnings
Code B
TAXABLE (ADD TO FORM 1040)
Uncollected Medicare Tax on Tips
Medicare tax on reported cash tips that could not be withheld due to insufficient hourly wages.
Form 1040 Reporting:
Schedule 2: Line 13Uncollected tip Medicare owed
▼ View Example & Warnings
Code M
TAXABLE (SCHEDULE 2)
Uncollected Social Security/RRTA Tax on Former Employee Life Insurance
Uncollected social security tax on group-term life insurance over $50,000 for retired or former employees.
Form 1040 Reporting:
Schedule 2: Line 13Uncollected FICA on life ins.
▼ View Example & Warnings
Code N
TAXABLE (SCHEDULE 2)
Uncollected Medicare Tax on Former Employee Life Insurance
Uncollected Medicare tax on the taxable value of group-term life insurance over $50,000 for former employees.
Form 1040 Reporting:
Schedule 2: Line 13Uncollected Medicare on life ins.
▼ View Example & Warnings
Code K
EXCISE TAX (SCHEDULE 2)
20% Excise Tax on Excess Golden Parachute Payments
20% federal excise tax under IRC § 4999 on excess golden parachute payments received during corporate acquisitions.
Form 1040 Reporting:
Schedule 2: Line 17k20% parachute excise tax
▼ View Example & Warnings
Code J
NON-TAXABLE (INFO ONLY)
Nontaxable Third-Party Sick Pay
Sick pay paid by a third-party insurer funded with employee after-tax premiums (100% tax-free).
Form 1040 Reporting:
No Entry (Tax-Free)3rd-party disability sick pay
▼ View Example & Warnings
Code L
NON-TAXABLE (ACCOUNTABLE PLAN)
Substantiated Employee Business Expense Reimbursements
Nontaxable employee business travel, mileage, and meal reimbursements paid under an accountable plan.
Form 1040 Reporting:
No Entry (Accountable)Substantiated expense reimbursements
▼ View Example & Warnings
Code P
NON-TAXABLE (MILITARY ONLY)
Excludable Moving Expenses for Armed Forces Members
Direct moving expense reimbursements for active-duty Armed Forces members moving pursuant to military PCS orders.
Form 1040 Reporting:
Form 3903 (Military)Armed Forces PCS moving costs
▼ View Example & Warnings
Code Q
NON-TAXABLE (EITC ELIGIBLE)
Nontaxable Military Combat Pay
Military pay for active service in an IRS-designated combat zone (completely excluded from income tax).
Form 1040 Reporting:
Line 1b (Optional)Tax-free combat pay (EITC boost)
▼ View Example & Warnings
Code R
REQUIRES FORM 8853
Employer Contributions to Archer MSA
Employer contributions made to an Archer Medical Savings Account (Archer MSA).
Form 1040 Reporting:
Attach Form 8853Archer MSA contributions
▼ View Example & Warnings
Code T
REQUIRES FORM 8839
Employer-Provided Adoption Assistance Benefits
Adoption assistance benefits provided by an employer (including Section 125 cafeteria pre-tax salary reductions).
Form 1040 Reporting:
Attach Form 8839Employer adoption assistance
▼ View Example & Warnings
Code V
TAXABLE (INCLUDED IN BOX 1)
Income from Nonstatutory Stock Options (NSO)
Income recognized from the exercise of nonstatutory stock options (spread between FMV and strike price).
Form 1040 Reporting:
Line 1a IncludedNSO stock spread (cost basis)
▼ View Example & Warnings
Code Y
INFORMATIONAL (DEFERRED)
Section 409A Nonqualified Deferred Compensation Deferrals
Current-year salary/bonus deferrals under an IRS Section 409A nonqualified deferred compensation plan.
Form 1040 Reporting:
Info Only (Deferred)Section 409A deferrals
▼ View Example & Warnings
Code Z
TAXABLE + 20% PENALTY
Section 409A Nonqualified Plan Failure (20% Penalty)
Income under a nonqualified deferred compensation plan that failed IRS Section 409A compliance rules.
Form 1040 Reporting:
Schedule 2: Line 17h409A 20% penalty tax owed
▼ View Example & Warnings
Code FF
NON-TAXABLE (QSEHRA)
Qualified Small Employer HRA (QSEHRA) Benefits
Total permitted health insurance and medical reimbursement benefits under a Qualified Small Employer HRA.
Form 1040 Reporting:
Form 8962 (Optional)QSEHRA health reimbursement
▼ View Example & Warnings
Code GG
INCLUDED IN BOX 1
Section 83(i) Qualified Equity Grants Income
Income recognized from qualified stock grants under IRS Section 83(i) upon expiration of the 5-year deferral period.
Form 1040 Reporting:
Line 1a IncludedSection 83(i) equity income
▼ View Example & Warnings
Code HH
INFORMATIONAL (DEFERRED)
Section 83(i) Aggregate Deferrals
Cumulative aggregate deferrals under Section 83(i) qualified stock elections as of the close of the calendar year.
Form 1040 Reporting:
Info Only (Deferred)Section 83(i) cumulative deferral
▼ View Example & Warnings
Code II
NON-TAXABLE (NOTICE 2014-7)
Medicaid Waiver Payments Excluded from Income
Difficulty of care payments and Medicaid waiver payments for providing in-home care (excludable under Notice 2014-7).
Form 1040 Reporting:
Line 1a ExcludedMedicaid waiver (Notice 2014-7)
▼ View Example & Warnings
Code TP
2026 UPDATE (TIP DEDUCTION)
Total Cash Tips Reported to Employer
Statutory code under 2026 IRS Instructions reporting total cash tips for federal qualified tip deduction calculations.
Form 1040 Reporting:
Form 1040: Tip Ded.2026 cash tip deduction
▼ View Example & Warnings
Code TT
2026 UPDATE (OVERTIME PREMIUM)
Total Qualified Overtime Compensation
Statutory reporting code under 2026 IRS rules for the 1.5x FLSA premium portion of qualified overtime pay.
Form 1040 Reporting:
Form 1040: Overtime2026 FLSA overtime premium
▼ View Example & Warnings
Code TA
2026 UPDATE (SECTION 128)
Employer Contributions to Trump Account (IRC § 128)
Reports employer contributions paid to a qualified account under Internal Revenue Code Section 128.
Form 1040 Reporting:
Line 1a Excluded2026 IRC § 128 Trump account pre-tax
▼ View Example & Warnings

Code DD: Employer-Sponsored Health Coverage Cost (100% Non-Taxable)

DIRECT ANSWER • IS CODE DD TAXABLE?

No, Code DD is not taxable. Code DD reports the total combined cost of employer-sponsored group health insurance under the Affordable Care Act (ACA). It includes both what your employer paid and what was deducted pre-tax from your paychecks. It does not increase your taxable wages and requires no extra tax forms on Form 1040.

The most searched term for Form W-2 Box 12 is "w2 box 12 code dd". Many taxpayers are alarmed when they see a large dollar amount (such as $8,000 or $16,000) printed next to Code DD on Line 12a or 12b, fearing it represents taxable income.

Employers generally report the cost of applicable employer-sponsored health coverage in Box 12 using Code DD, subject to IRS reporting rules and applicable transitional relief. The amount reported with Code DD is informational and isn't taxable income. Key facts to know:

  • What it includes: Major medical health insurance, employer subsidies, and employee pre-tax health premium contributions.
  • What it excludes: Standalone dental or vision plans, Health Flexible Spending Accounts (FSAs) funded solely through salary reductions, and Health Savings Accounts (HSAs, which are reported under Code W).
  • Impact on Form 1040: Exactly $0.00. You enter it into your tax filing software solely for data verification. It has zero impact on your tax refund or taxes owed.

Code D (Pre-Tax 401k) vs. Code AA (Roth 401k) Explained

DIRECT ANSWER • CODE D VS CODE AA SUMMARY

Code D reports traditional pre-tax 401(k) contributions (already deducted from Box 1 taxable wages today). Code AA reports designated Roth 401(k) contributions made with after-tax dollars (included in Box 1 wages today; qualified retirement distributions and growth are 100% tax-free).

Retirement deferrals are the second most common category in Box 12. The two most critical codes to understand are Code D (Traditional 401k) and Code AA (Roth 401k).

Math Comparison: How Code D and Code AA Impact Box 1 Gross Taxable Wages

Simplified example: Assuming no other adjustments affect Box 1, suppose an employee earns an annual gross salary of $100,000 and contributes $10,000 to their retirement plan:

Traditional 401(k) (Code D)
• Gross Salary: $100,000
• 401(k) Contribution: $10,000 (Pre-tax)
• W-2 Box 1 Wages: $90,000
• W-2 Box 12: D $10,000.00
Tax savings today; withdrawals in retirement are taxed as ordinary income.
Designated Roth 401(k) (Code AA)
• Gross Salary: $100,000
• Roth Contribution: $10,000 (After-tax)
• W-2 Box 1 Wages: $100,000
• W-2 Box 12: AA $10,000.00
No tax deduction today; Qualified Roth distributions can generally be tax-free, subject to applicable IRS rules.

Code W: HSA Contributions & Mandatory Form 8889 Filing

DIRECT ANSWER • CODE W & FORM 8889

Code W reports combined employer contributions and employee pre-tax payroll salary deductions to a Health Savings Account (HSA). If Code W appears on your W-2, you must file IRS Form 8889 with Form 1040 to verify contributions did not exceed statutory annual limits.

W-2 Box 12 Code W reports employer contributions and employee pre-tax payroll contributions to a Health Savings Account (HSA). If Code W appears on your W-2, you generally need Form 8889 to report your HSA contributions and determine any deduction or additional tax that applies.

For 2026, the HSA contribution limit is $4,400 for self-only HDHP coverage and $8,750 for family HDHP coverage. Individuals age 55 or older may generally contribute an additional $1,000 catch-up contribution.

Comparison: Box 12 vs. Box 14 ("Other") vs. Box D (Control Number)

DIRECT ANSWER • BOX 12 VS BOX 14 VS BOX D

Box 12 uses mandatory IRS letter codes (A-TT) for federal tax benefits and deferrals. Box 14 is an informational catch-all for state taxes (CASDI, NY PFL) and union dues using employer text. Box D is an optional internal payroll control number for tracking.

Taxpayers frequently confuse Box 12, Box 14, and Box D on Form W-2. Here is how each box functions:

Form W-2 BoxOfficial Label & PurposeStandard Codes UsedIs It Required by IRS?
Box 12 (12a-12d)Statutory non-wage benefits & elective deferralsCodes A through TTYes. Mandatory statutory IRS codes for benefits and deferrals.
Box 14a & 14b"Other" state taxes, union dues, tipped occupation codesCASDI, SDI, NY PFL, UNION, SEC 127Informational. Free-form text created by employer payroll software.
Box d"Control number" (Don't confuse with Box 12 Code D)e.g. ADP-99214-X8No. Internal payroll tracking code. Can be left blank when e-filing.

2026 IRS Master Decoder Matrix (All 33 Codes A to TT)

Below is the complete official IRS reference table for all letter codes appearing in Box 12 of Form W-2:

CodeOfficial IRS DescriptionTaxability StatusPossible Tax-Return Action
AUncollected Social Security or RRTA tax on tipsTaxable OwedReport on Schedule 2 (Form 1040), Part II, line 13.
BUncollected Medicare tax on tipsTaxable OwedReport on Schedule 2 (Form 1040), Part II, line 13.
CTaxable cost of group-term life insurance over $50,000Taxable FringeAlready included in Box 1 gross wages; no extra form.
DElective deferrals to Section 401(k) planPre-Tax DeferralAlready subtracted from Box 1. May qualify for Form 8880 Saver's Credit.
EElective deferrals to Section 403(b) planPre-Tax DeferralAlready subtracted from Box 1.
FElective deferrals to Section 408(k)(6) SARSEP (Note: generally could no longer be established after 1996)Pre-Tax DeferralAlready subtracted from Box 1.
GElective deferrals to Section 457(b) planPre-Tax DeferralAlready excluded from Box 1 federal wages.
HElective deferrals to Section 501(c)(18)(D) planIncluded in Box 1; potentially deductibleMay be claimed as an adjustment to income on Schedule 1 (Form 1040).
JNontaxable third-party sick payNon-TaxableInformational only; do not add to Box 1 income.
K20% excise tax on excess golden parachute paymentsExcise TaxMay require Schedule 2 (Form 1040) if excess payment is considered wages.
LSubstantiated employee business expense reimbursementsNon-TaxableAccountable plan reimbursements; not reported on Form 1040.
MUncollected Social Security/RRTA tax on life insurance (former employees)Taxable OwedReport on Schedule 2 (Form 1040), Part II, line 13.
NUncollected Medicare tax on life insurance (former employees)Taxable OwedReport on Schedule 2 (Form 1040), Part II, line 13.
PExcludable moving expense reimbursements paid directly to a member of the U.S. Armed Forces or intelligence community.Non-TaxableMay require Form 3903 to determine deduction.
QNontaxable combat pay (Military)Non-TaxableOptional election on Form 1040 to increase EITC refund.
REmployer contributions to Archer MSAPre-TaxMay require IRS Form 8853.
SEmployee salary reduction to SIMPLE IRA planPre-Tax DeferralAlready excluded from Box 1 federal wages.
TEmployer adoption assistance benefitsExcludableMay require IRS Form 8839 to calculate exclusion/credit.
VIncome from nonstatutory stock options (NSO)Taxable FringeAlready included in Box 1; proof of stock cost basis.
WHealth Savings Account (HSA) contributionsPre-Tax (Form 8889)Report using Form 8889 when applicable.
YSection 409A nonqualified deferred compensation deferralsDeferredInformational; income tax deferred until distribution.
ZSection 409A plan failure income (20% penalty tax)Taxable + 20% PenaltyReport 20% penalty tax on Schedule 2 (Form 1040), Part II, line 17h.
AADesignated Roth 401(k) contributionsAfter-Tax RothIncluded in Box 1. Informs IRS of Roth basis.
BBDesignated Roth 403(b) contributionsAfter-Tax RothIncluded in Box 1 wages.
DDCost of employer-sponsored health coverage (ACA)Not TaxableInformational only.
EEDesignated Roth governmental 457(b) contributionsAfter-Tax RothIncluded in Box 1 wages.
FFQualified Small Employer HRA (QSEHRA) benefitsNon-TaxableMay require Form 8962.
GGSection 83(i) qualified equity grants incomeIncluded in Box 1Box 1 wages/income treatment (already included).
HHSection 83(i) aggregate equity deferralsDeferred InfoInformational tracking of startup stock deferrals.
IIMedicaid waiver payments excluded under Notice 2014-7Non-TaxableExcluded from Box 1; refer to IRS guidance for EITC election details.
TPTotal cash tips reported to employer (2026 Update)Tip DeductionReported on Form 1040 to claim the federal qualified tip income deduction.
TTTotal qualified overtime compensation (FLSA premium)Overtime DeductionReported on Form 1040 to verify statutory overtime deductions.
TAEmployer contributions to Trump Account (IRC § 128)Pre-Tax DeferralExcluded from Box 1 wages up to statutory program limits under OBBBA.

Uncollected Taxes & Section 409A Penalties (Codes A, B, M, N, K, Z)

DIRECT ANSWER • UNCOLLECTED TAXES & PENALTIES

Codes A & B (uncollected FICA on tips), M & N (uncollected FICA on group life insurance), Code K (golden parachutes), and Code Z (Section 409A failures) represent unpaid taxes or penalties that must be reported as additional tax on Schedule 2 (Form 1040).

While most Box 12 codes track tax-deferred savings or health benefits, certain codes indicate uncollected tax liabilities or statutory penalties that must be reported as additional tax owed on your Form 1040 return:

Codes A & BSchedule 2, Line 13

Uncollected FICA Taxes on Cash Tips

Triggered when employees receive cash tips but their regular paycheck wages are insufficient to cover full Social Security (Code A) and Medicare (Code B) withholdings.

Codes M & NSchedule 2, Line 13

Uncollected FICA on Life Insurance (Former Employees)

Applies to retirees receiving company-provided group life insurance exceeding $50,000 where FICA taxes were not withheld at the time of coverage.

Code KSchedule 2, Line 17k

Golden Parachute 20% Excise Tax

A mandatory 20% federal excise tax under IRC § 4999 assessed on excess severance and compensation packages triggered during corporate mergers and acquisitions.

Code ZSchedule 2, Line 17h

Section 409A Plan Failure (20% Penalty Tax)

Assessed when a nonqualified deferred compensation agreement violates IRS § 409A statutory rules. Requires regular tax plus a statutory 20% penalty.

Code II: Medicaid Waiver Payments

DIRECT ANSWER • CODE II MEDICAID WAIVER PAYMENTS

Code II reports Medicaid waiver difficulty of care payments excluded from gross income under IRS Notice 2014-7. These payments are 100% non-taxable, but taxpayers may elect to include them as earned income to calculate the Earned Income Tax Credit (EITC).

The IRS added Code II to help track difficulty of care payments that are excluded from gross income:

Code II

Medicaid Waiver Payments

Difficulty of care payments excluded from gross income under Notice 2014-7, with an optional election to include them for EITC or Additional Child Tax Credit calculation purposes.

2026 Statutory Updates: Codes TA, TP, & TT (OBBBA Provisions)

DIRECT ANSWER • 2026 STATUTORY CODES

Tax Year 2026 introduces Code TA (Trump Account § 128 contributions), Code TP (Qualified Cash Tips reported for tip deductions), and Code TT (FLSA Qualified Overtime Premium pay) under federal tax legislation.

Following the enactment of recent federal tax legislation, the IRS introduced three statutory letter codes for Tax Year 2026 Forms W-2 to support federal deductions:

Code TPTip Deduction

Reported Cash Tips

Reports total cash and card tips received by service workers. Used directly on Form 1040 to substantiate qualified tip deductions.

Form 1040 Qualified Tip Exemption
Code TTOvertime Premium

Qualified Overtime Pay

Tracks 1.5x FLSA statutory overtime premium pay for hourly workers. Enables eligible taxpayers to claim statutory overtime deductions.

FLSA Overtime Compensation
Code TAIRC § 128 Account

Trump Account Contributions

Reports pre-tax employer contributions paid to a qualified account under IRC Section 128, excluded from Box 1 federal taxable wages.

IRC Section 128 Pre-Tax Deferral

Step-by-Step: How to Enter Form W-2 Box 12 on Form 1040

DIRECT ANSWER • FORM 1040 REPORTING SUMMARY

Enter Box 12 codes exactly as printed into your tax software. Do NOT adjust Box 1 wages manually (payroll already calculated pre-tax and fringe adjustments). Attach Form 8889 if Code W is present, Schedule 2 if uncollected taxes (Codes A, B, M, N) appear, and Form 8880 for Saver's Credit.

When preparing your federal tax return in TurboTax, H&R Block, TaxAct, or TaxSlayer, follow these 4 essential compliance steps:

1
Do NOT Adjust Box 1 Gross Wages Manually
Your payroll processing provider has already subtracted pre-tax retirement deferrals (Codes D, E, G, S) and already added taxable fringe benefits (Codes C, V) into Box 1. Never alter Form 1040 Line 1a gross wages manually.
2
Select the Exact Uppercase Code from the Dropdown
Match the uppercase statutory code (e.g., DD, W, D, or AA) to the exact sub-line (12a, 12b, 12c, or 12d) where it appears on your physical W-2 statement.
3
Attach Mandatory IRS Schedules When Prompted
Code W Present: Complete IRS Form 8889 (Health Savings Accounts) to reconcile contributions and avoid 20% excise penalties.
Codes A, B, M, N, K, or Z Present: Verify your tax preparation software generates Schedule 2 (Form 1040) for uncollected taxes and excise liabilities.
Code T Present: Complete and attach IRS Form 8839 to claim statutory qualified adoption assistance exclusions.
4
Verify Saver's Credit Eligibility on Form 8880
If you contributed to a 401(k) (Code D) or Roth 401(k) (Code AA), you might be eligible to claim the Retirement Savings Contributions Credit on Form 8880 for up to a $1,000 ($2,000 MFJ) tax credit, provided your adjusted gross income is under statutory limits ($40,250 single / $60,375 head of household / $80,500 married filing jointly in 2026) and you meet other IRS requirements.

Moving from W-2 Employee to 1099 Independent Contractor?

DIRECT ANSWER • W-2 VS 1099 TRANSITION

Transitioning from W-2 to 1099 eliminates Box 12 benefit tracking. You receive 1099-NEC/MISC forms, pay self-employment tax (15.3% SECA), and provide a completed Form W-9 to clients before receiving payments. You can deduct 100% of self-employed healthcare and retirement contributions on Schedule C/1.

If you transition from a traditional W-2 job to 1099 freelancing, consulting, or independent contracting, you will no longer receive a Form W-2 with Box 12 codes at year-end.

Instead of employer-provided benefits, you become responsible for self-employment tax (SECA: 15.3% for Social Security and Medicare) and purchasing your own private health insurance. The significant tax advantage? You can write off 100% of self-employed health insurance premiums, HSA contributions, and business expenses directly on Schedule C!

Before receiving payments from clients, you will need to provide a signed Form W-9. You can generate a certified IRS-ready W-9 PDF in under 60 seconds with our free 2026 Form W-9 Generator or calculate your estimated take-home pay with our Paystub Generator.

Explore Free Tax Calculators & Statutory Guides

Paycheck Calculator (All 50 States)
See how Box 12 deductions (401k, HSA, health insurance) impact your actual take-home pay after federal and state taxes.
2026 Tax Bracket Calculator
Model how your W-2 Box 1 taxable wages plus 401(k) pre-tax deferrals affect your marginal and effective tax brackets.
Self-Employment Tax Calculator
Transitioning to 1099? Calculate your SECA (Social Security + Medicare) obligations without employer matching.
W-2 vs 1099: Employee vs Contractor
Learn when you receive a Form W-2 with Box 12 codes vs. a Form 1099-NEC with zero withholding.
2025/2026 Federal Tax Brackets Guide
Complete statutory income tax brackets for Single, Married Filing Jointly, MFS, and Head of Household.
How to Fill Out a W-9 (Step-by-Step)
Master Line 1 legal names, LLC tax classifications, and SSN vs EIN privacy rules for independent contractors.

Frequently Asked Questions

What is Box 12 on Form W-2 and what is it used for?

Box 12 on IRS Form W-2 is used by employers to report non-wage compensation, statutory tax deductions, and employer-sponsored benefits using one- or two-letter IRS codes (A through II). Common codes include Code D for pre-tax 401(k) contributions, Code DD for employer healthcare coverage, Code W for HSA contributions, and Code AA for Roth 401(k) deferrals.

What do Box 12a, 12b, 12c, and 12d mean on Form W-2?

Lines 12a, 12b, 12c, and 12d are simply four physical row slots on Form W-2 provided so employers can report up to four different benefits on a single document. The lowercase letters "a, b, c, d" are line position markers and are NOT tax codes. Your statutory IRS code is the uppercase letter (such as DD, W, D, or AA) printed to the left of the dollar figure.

What does Code DD in Box 12 mean? Is it taxable?

Code DD reports the total combined cost of employer-sponsored group health insurance coverage under the Affordable Care Act (ACA). Code DD is 100% NON-TAXABLE and strictly informational. It does NOT increase your taxable wages in Box 1, does NOT reduce your tax refund, and requires no additional tax forms on your Form 1040 return.

What does Code DD mean in Box 12a or Box 12b of my W-2?

Whether Code DD appears on line 12a, 12b, 12c, or 12d, it means the exact same thing: the total value of your employer-provided health coverage. The "a" or "b" just designates the row on the page. It is 100% tax-free and informational only.

What does Code D in Box 12 of Form W-2 mean?

Code D represents voluntary pre-tax elective deferrals to a traditional 401(k) retirement plan. This money was deducted from your paychecks before federal income taxes were calculated, so it has ALREADY been subtracted from your Box 1 taxable wages. You do not need to manually deduct it on Form 1040.

What is the difference between Code D and Code AA in Box 12?

Code D represents traditional pre-tax 401(k) contributions (which lower your Box 1 taxable income today). Code AA represents designated Roth 401(k) contributions made with after-tax dollars (which do NOT lower Box 1 wages today, but qualified retirement distributions and growth are 100% tax-free).

What does Code W in Box 12 mean on Form W-2?

Code W reports combined employer contributions and employee pre-tax payroll deductions to a Health Savings Account (HSA). When Code W appears on your W-2, you MUST complete and attach IRS Form 8889 to your Form 1040 return to verify you did not exceed statutory annual HSA contribution limits.

What is Box 14 on Form W-2 and how is it different from Box 12?

Box 14 (labeled "Other") is an informational catch-all box used by employers and payroll processors to report state-specific deductions and employer-specific items (such as CASDI, SDI, NY PFL, union dues, Section 127 educational assistance, or auto lease values). Unlike Box 12 which uses strict IRS statutory letter codes (A–II), Box 14 uses free-form employer text descriptions.

What is Box D on Form W-2 (Control Number)?

Box D contains a "Control number" assigned by your employer's payroll processing provider (such as ADP, Paychex, or Workday) to track your W-2 in their electronic database. It is NOT required by the IRS. If Box D is blank or your tax filing software does not require it, you can leave it empty when e-filing.

What do Code BB, Code E, and Code G mean in Box 12?

Code E represents pre-tax salary reduction contributions to a Section 403(b) retirement plan for teachers and non-profit workers. Code BB represents after-tax designated Roth contributions to a 403(b) plan. Code G represents pre-tax elective deferrals to a Section 457(b) government or tax-exempt deferred compensation plan.

What do Codes A, B, M, and N mean for uncollected taxes?

Codes A and B report uncollected Social Security and Medicare taxes on cash tips. Codes M and N report uncollected Social Security and Medicare taxes on taxable group-term life insurance over $50,000 for former employees. These amounts MUST be reported on Form 1040 Schedule 2 (Part II, Line 13) as additional tax owed.

What are Section 409A and Section 83 Deferrals (Codes Y, Z, GG, HH)?

Code Y reports current-year deferrals under a Section 409A nonqualified deferred compensation plan (deferred from current income tax). Code Z reports nonqualified plan failures, triggering a mandatory 20% penalty tax on Schedule 2. Codes GG and HH track startup stock elections under IRC Section 83(i).

What is the W-2 Box 12 Code II?

Code II is used to report Medicaid waiver payments excluded from gross income under IRS Notice 2014-7. These are typically difficulty of care payments.

What does Code TP mean in Box 12 of Form W-2 (2026)?

Code TP is a statutory reporting code introduced under 2026 IRS instructions that reports total cash tips received by service and hospitality workers. This amount is used on Form 1040 to figure the federal qualified tip income deduction.

What does Code TT mean in Box 12 of Form W-2 (2026)?

Code TT reports qualified overtime compensation (specifically the 1.5x FLSA premium portion of overtime pay) under 2026 statutory tax provisions, enabling hourly workers to document eligible overtime deductions.

What does Code TA mean in Box 12 of Form W-2 (2026)?

Code TA reports pre-tax employer contributions to a qualified Trump Account under Internal Revenue Code Section 128 and OBBBA legislation, excluded from Box 1 federal taxable wages up to annual statutory program limits.

What should I do if Box 12 on my W-2 is completely blank?

If Box 12 is blank, that is completely normal! It simply means you had no pre-tax retirement contributions (401k/403b), no employer HSA funding, no group-term life insurance over $50,000, and your employer was not required to report health insurance costs under ACA rules.

Is Box 12 already included in Box 1 wages on my Form W-2?

It depends on the code: Pre-tax retirement deferrals (Codes D, E, G, S, TA) have ALREADY been subtracted from Box 1. Taxable fringe benefits (Code C for life insurance over $50k, Code V for stock options) have ALREADY been added into Box 1. Informational codes (Code DD for healthcare) do not affect Box 1 at all.

Can Box 12 retirement contributions qualify me for the Saver's Credit?

Yes! Pre-tax elective deferrals (Codes D, E, F, G, S) and designated Roth contributions (Codes AA, BB, EE) reported in Box 12 can qualify low- to moderate-income taxpayers for the Retirement Savings Contributions Credit (Saver's Credit) on IRS Form 8880, worth up to $1,000 ($2,000 married filing jointly).

Official IRS Sources & Citations
  • IRS.gov: 2026 General Instructions for Forms W-2 and W-3 (Cat. No. 25979S) (IRS Catalog 25979S).Official Source ↗
  • IRS.gov: Form W-2 (Wage and Tax Statement) Official PDF (OMB No. 1545-0008).Official Source ↗
  • U.S. Code — Cornell Legal Information Institute: 26 U.S. Code § 401(k) - Cash or Deferred Arrangements (26 U.S.C. § 401(k)).Official Source ↗
  • U.S. Code — Cornell Legal Information Institute: 26 U.S. Code § 6051(a)(14) - Employer Reporting of Group Health Plan Costs (ACA Code DD) (26 U.S.C. § 6051(a)(14)).Official Source ↗
  • Electronic Code of Federal Regulations (eCFR): 26 CFR § 1.401(k)-1 - Certain Cash or Deferred Arrangements (26 CFR § 1.401(k)-1).Official Source ↗
  • IRS.gov: Instructions for Form 8889 (Health Savings Accounts - Code W) (IRS Form 8889).Official Source ↗

EasyW9Form Tax Compliance Editorial Board

Reviewed against IRS Publications & Treasury Regulations. EasyW9Form provides independent educational tax resources based on publicly available IRS guidelines, forms, and instructions. This site is not affiliated with or endorsed by the Internal Revenue Service.

Editorial Process & Citations →
Recommended Next Steps

Continue Reading Compliance Guides