State Wages and Tips on W-2: Box 16, Box 17, and Local Taxes

State wages and tips on a W-2 appear in Box 16, and the state income tax withheld from those wages appears in Box 17. Together with the state name and employer ID in Box 15, they tell your state revenue department how much of your pay it can tax and how much you’ve already prepaid through payroll. Your state return uses both numbers directly, and the state will match what you report against what your employer already filed.

What Box 16 Reports

Box 16, labeled “State wages, tips, etc.,” is the total compensation your employer calculated as taxable under a particular state’s income tax rules.1Internal Revenue Service. 2026 General Instructions for Forms W-2 and W-3 It always travels with Box 15, where your employer enters the two-letter state abbreviation and the state-assigned employer ID number. Box 17 on the same line shows the tax withheld for that state.

If you worked in more than one state during the year, your employer either uses a separate line for each state on a single W-2 or issues you a second W-2. Each row of Boxes 15, 16, and 17 stands on its own, and the state abbreviation in Box 15 has to match the wages and withholding reported next to it.

If you live and work entirely in a state with no personal income tax, Boxes 15 through 17 will be blank and you won’t file a state wage return at all. That changes the moment any of your work is performed in a state that does tax wages, since that state can still require withholding.

Why Box 16 May Not Match Box 1

A common assumption is that state wages should equal the federal taxable wages in Box 1. They often don’t, and neither number is wrong. The difference comes from pre-tax deductions that federal law excludes from wages but some states don’t.

Federal law lets you make pre-tax contributions to a 401(k) plan, and those contributions are excluded from Box 1.2Internal Revenue Service. Topic No. 424, 401(k) Plans For 2026, the deferral limit is $24,500, or $32,500 if you’re 50 or older.3Internal Revenue Service. 401(k) and Profit-Sharing Plan Contribution Limits Most states follow the federal treatment and exclude those contributions from Box 16 too. A handful of states don’t allow the deduction, and in those states your employer adds the 401(k) contributions back into Box 16, so it comes in higher than Box 1 by the amount you deferred.

The same logic applies to benefits funded through a Section 125 cafeteria plan, including health insurance premiums, flexible spending accounts, and dependent care accounts. Federal rules exclude those amounts from Box 1. Most states conform, but a few require them to be included in state taxable wages, again pushing Box 16 above Box 1. Where the state return begins with federal adjusted gross income, you’ll usually see a specific line asking you to add back any deductions the state doesn’t recognize.

Box 16 landing below Box 1 is less common for W-2 wages, but it can happen when a state excludes a type of compensation the federal government taxes. If the two boxes differ, the explanation almost always traces to a pre-tax item your state treats differently.

What Box 17 Reports

Box 17 is the total state income tax your employer withheld from your paychecks during the year and remitted to the state named in Box 15. On your state return, you enter it as tax already paid. The state compares that prepayment against your actual liability, and the difference is either your refund or your balance due.

Employers compute the amount using state-published withholding tables together with the state withholding certificate you filed (the state’s version of the federal W-4). Claiming fewer allowances raises the amount withheld each paycheck; claiming more lowers it. After a marriage, a new child, a second job, or any similar change, updating the state form with your employer is what keeps Box 17 in line with what you’ll actually owe.

How Box 17 Affects Your Federal Return

The withholding in Box 17 does double work: it’s a state prepayment, and it’s also deductible on your federal return if you itemize on Schedule A. State and local income taxes go on Line 5a of Schedule A.4Internal Revenue Service. Instructions for Schedule A (Form 1040) For 2026, the combined SALT deduction is capped at $40,400 ($20,200 if married filing separately). Anything above the cap gives you no federal benefit.

The cap phases down if your modified adjusted gross income exceeds $500,000 ($250,000 married filing separately), but it can’t fall below $10,000 ($5,000 married filing separately).4Internal Revenue Service. Instructions for Schedule A (Form 1040) If you take the standard deduction instead of itemizing, Box 17 has no direct effect on your federal return.

Local Taxes in Boxes 18 Through 20

State tax isn’t the only wage-based tax some employees pay. Cities, counties, and school districts in states like Pennsylvania, Ohio, and Maryland can impose their own income taxes. When they do, Box 18 shows the wages subject to local tax, Box 19 shows the local tax withheld, and Box 20 identifies the locality by name. These boxes mirror 16 and 17 but apply to a specific local jurisdiction, and an entry in Box 19 usually means a separate local return.

Working in More Than One State

If you lived in one state and worked in another, expect two lines of Boxes 15, 16, and 17, one per state. Your state of residence generally taxes all your income regardless of where you earned it, while the state where you physically worked taxes what you earned inside its borders. You file in both, and your resident state usually offers a credit for the tax you paid to the other state, capped at what your resident state would have charged on the same income.

About 20 states and the District of Columbia have reciprocal agreements with at least one neighboring state. Under one of these agreements, you file a nonresidency certificate with your employer so that withholding goes only to your home state. That collapses the multi-state W-2 lines back to a single entry and a single return. If withholding still went to the wrong state, you’ll need a nonresident return there to recover it.

Fixing Errors in Boxes 15 Through 17

Errors in the state boxes happen more often than people expect, particularly when employers operate across state lines or change payroll systems mid-year. Wages get allocated to the wrong state, withholding gets reported under the wrong state ID, or the Box 16 total doesn’t tie to your final pay stub. Compare the boxes to your year-end pay stub before you file.

Start with your employer’s payroll department. If an error is confirmed, the employer issues a corrected Form W-2c and files it with the Social Security Administration.5Internal Revenue Service. General Instructions for Forms W-2 and W-3 (2026)6Internal Revenue Service. About Form W-2 C, Corrected Wage and Tax Statements For 2026 wages, employers must furnish your W-2 by February 1, 2027. If you haven’t received a corrected form by the end of February, you can call the IRS at 800-829-1040 for help getting one from your employer.

Entering the Numbers on Your State Return

On the state return, the Box 16 amount goes on the line for state taxable wages, which is the starting point for calculating what you owe. The Box 17 amount goes on the line for state withholding, which the state subtracts from that liability. If your W-2 has two states, each Box 16 belongs on its own state’s return, and each Box 17 with it. Confirm that Box 15 lines up across the row so the right wages sit next to the right withholding. Mismatched rows are one of the most common data-entry errors and a routine cause of processing delays.

In a multi-state situation, file the nonresident state first, then the resident state, so the credit for tax paid elsewhere can flow through correctly. Keep copies of both returns; your resident state may require the nonresident return as documentation of the credit you claim.