What Do the Boxes on a W-2 Mean?

Updated July 9, 2026 5 min read

A W-2 arrives every year in a familiar envelope, but the grid of numbered and lettered boxes rarely gets a full read beyond box 1. Each box is reporting something specific to the IRS and the Social Security Administration, and knowing what’s behind each number makes the form far less mysterious.

The short answer

A W-2 reports wages and tax withholding for the year, broken into numbered boxes for federal figures and lettered boxes for identifying information, plus a set of coded entries in box 12 for benefits and contributions that don’t fit elsewhere. Together, these boxes tell the IRS what was earned, what was withheld, and what pretax benefits reduced taxable pay.

The identifying boxes

Boxes a through f identify the people and entities involved: the employee’s Social Security number, the employer’s identification number, and both parties’ names and addresses. These don’t affect any calculation, but errors here, such as a misspelled name or wrong Social Security number, can cause processing delays or mismatches when a return is filed.

The core wage and withholding boxes

What box 12 codes actually mean

Box 12 uses single or double letter codes to report items like retirement plan contributions, employer-sponsored health coverage costs, or dependent care benefits, each with its own dollar amount attached. A code often flagged here marks whether the employee was an active participant in an employer retirement plan, which can affect the deductibility of a separate IRA contribution.

State and local boxes

Boxes 15 through 20 mirror the federal information at the state and local level, listing state wages, state tax withheld, and any local tax withheld, which matters for anyone who worked in more than one state during the year or lived somewhere with local income tax.

How this differs from other income forms

A W-2 exists specifically because of the employer-employee relationship, which is a useful contrast with how 1099 forms report income differently for independent contractors — no tax is withheld in that arrangement the way it is on a W-2. If a payer withheld tax on a payment for a reason unrelated to standard wages, that situation may separately trigger backup withholding rules, which work differently from the W-2 withholding process entirely.

What to weigh

The boxes on a W-2 aren’t arbitrary — each one corresponds to a specific figure the IRS or Social Security Administration uses, and matching them against pay stubs is one of the more reliable ways to catch an employer error before filing. When numbers don’t reconcile, following up with the employer for a corrected W-2 is generally more straightforward than trying to resolve the mismatch after a return has already been filed.