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.
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?
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?
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-Line | Form Slot Purpose | Common Example | What It Means on Tax Return |
|---|---|---|---|
| Box 12a | First benefit entry slot | DD $8,450.00 | Code DD: Employer healthcare cost (100% non-taxable, informational only). |
| Box 12b | Second benefit entry slot | D $19,500.00 | Code D: Pre-tax 401(k) elective deferrals (already deducted from Box 1 wages). |
| Box 12c | Third benefit entry slot | W $3,850.00 | Code W: HSA contributions (requires filing Form 8889 with Form 1040). |
| Box 12d | Fourth benefit entry slot | AA $6,000.00 | Code AA: Designated Roth 401(k) contributions (after-tax retirement savings). |
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.
| Code | Benefit / Statutory Name | IRS Tax Status | Form 1040 Reporting | Details |
|---|---|---|---|---|
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: Employer-Sponsored Health Coverage Cost (100% Non-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
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:
Code W: HSA Contributions & Mandatory Form 8889 Filing
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)
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 Box | Official Label & Purpose | Standard Codes Used | Is It Required by IRS? |
|---|---|---|---|
| Box 12 (12a-12d) | Statutory non-wage benefits & elective deferrals | Codes A through TT | Yes. Mandatory statutory IRS codes for benefits and deferrals. |
| Box 14a & 14b | "Other" state taxes, union dues, tipped occupation codes | CASDI, SDI, NY PFL, UNION, SEC 127 | Informational. Free-form text created by employer payroll software. |
| Box d | "Control number" (Don't confuse with Box 12 Code D) | e.g. ADP-99214-X8 | No. 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:
| Code | Official IRS Description | Taxability Status | Possible Tax-Return Action |
|---|---|---|---|
| A | Uncollected Social Security or RRTA tax on tips | Taxable Owed | Report on Schedule 2 (Form 1040), Part II, line 13. |
| B | Uncollected Medicare tax on tips | Taxable Owed | Report on Schedule 2 (Form 1040), Part II, line 13. |
| C | Taxable cost of group-term life insurance over $50,000 | Taxable Fringe | Already included in Box 1 gross wages; no extra form. |
| D | Elective deferrals to Section 401(k) plan | Pre-Tax Deferral | Already subtracted from Box 1. May qualify for Form 8880 Saver's Credit. |
| E | Elective deferrals to Section 403(b) plan | Pre-Tax Deferral | Already subtracted from Box 1. |
| F | Elective deferrals to Section 408(k)(6) SARSEP (Note: generally could no longer be established after 1996) | Pre-Tax Deferral | Already subtracted from Box 1. |
| G | Elective deferrals to Section 457(b) plan | Pre-Tax Deferral | Already excluded from Box 1 federal wages. |
| H | Elective deferrals to Section 501(c)(18)(D) plan | Included in Box 1; potentially deductible | May be claimed as an adjustment to income on Schedule 1 (Form 1040). |
| J | Nontaxable third-party sick pay | Non-Taxable | Informational only; do not add to Box 1 income. |
| K | 20% excise tax on excess golden parachute payments | Excise Tax | May require Schedule 2 (Form 1040) if excess payment is considered wages. |
| L | Substantiated employee business expense reimbursements | Non-Taxable | Accountable plan reimbursements; not reported on Form 1040. |
| M | Uncollected Social Security/RRTA tax on life insurance (former employees) | Taxable Owed | Report on Schedule 2 (Form 1040), Part II, line 13. |
| N | Uncollected Medicare tax on life insurance (former employees) | Taxable Owed | Report on Schedule 2 (Form 1040), Part II, line 13. |
| P | Excludable moving expense reimbursements paid directly to a member of the U.S. Armed Forces or intelligence community. | Non-Taxable | May require Form 3903 to determine deduction. |
| Q | Nontaxable combat pay (Military) | Non-Taxable | Optional election on Form 1040 to increase EITC refund. |
| R | Employer contributions to Archer MSA | Pre-Tax | May require IRS Form 8853. |
| S | Employee salary reduction to SIMPLE IRA plan | Pre-Tax Deferral | Already excluded from Box 1 federal wages. |
| T | Employer adoption assistance benefits | Excludable | May require IRS Form 8839 to calculate exclusion/credit. |
| V | Income from nonstatutory stock options (NSO) | Taxable Fringe | Already included in Box 1; proof of stock cost basis. |
| W | Health Savings Account (HSA) contributions | Pre-Tax (Form 8889) | Report using Form 8889 when applicable. |
| Y | Section 409A nonqualified deferred compensation deferrals | Deferred | Informational; income tax deferred until distribution. |
| Z | Section 409A plan failure income (20% penalty tax) | Taxable + 20% Penalty | Report 20% penalty tax on Schedule 2 (Form 1040), Part II, line 17h. |
| AA | Designated Roth 401(k) contributions | After-Tax Roth | Included in Box 1. Informs IRS of Roth basis. |
| BB | Designated Roth 403(b) contributions | After-Tax Roth | Included in Box 1 wages. |
| DD | Cost of employer-sponsored health coverage (ACA) | Not Taxable | Informational only. |
| EE | Designated Roth governmental 457(b) contributions | After-Tax Roth | Included in Box 1 wages. |
| FF | Qualified Small Employer HRA (QSEHRA) benefits | Non-Taxable | May require Form 8962. |
| GG | Section 83(i) qualified equity grants income | Included in Box 1 | Box 1 wages/income treatment (already included). |
| HH | Section 83(i) aggregate equity deferrals | Deferred Info | Informational tracking of startup stock deferrals. |
| II | Medicaid waiver payments excluded under Notice 2014-7 | Non-Taxable | Excluded from Box 1; refer to IRS guidance for EITC election details. |
| TP | Total cash tips reported to employer (2026 Update) | Tip Deduction | Reported on Form 1040 to claim the federal qualified tip income deduction. |
| TT | Total qualified overtime compensation (FLSA premium) | Overtime Deduction | Reported on Form 1040 to verify statutory overtime deductions. |
| TA | Employer contributions to Trump Account (IRC § 128) | Pre-Tax Deferral | Excluded from Box 1 wages up to statutory program limits under OBBBA. |
Uncollected Taxes & Section 409A Penalties (Codes A, B, M, N, K, Z)
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:
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.
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.
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.
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
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:
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)
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:
Reported Cash Tips
Reports total cash and card tips received by service workers. Used directly on Form 1040 to substantiate qualified tip deductions.
Qualified Overtime Pay
Tracks 1.5x FLSA statutory overtime premium pay for hourly workers. Enables eligible taxpayers to claim statutory overtime deductions.
Trump Account Contributions
Reports pre-tax employer contributions paid to a qualified account under IRC Section 128, excluded from Box 1 federal taxable wages.
Step-by-Step: How to Enter Form W-2 Box 12 on Form 1040
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:
DD, W, D, or AA) to the exact sub-line (12a, 12b, 12c, or 12d) where it appears on your physical W-2 statement.Moving from W-2 Employee to 1099 Independent Contractor?
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
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).
- 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 ↗