Box 17 on your W-2 shows the total state income tax your employer withheld from your paychecks over the calendar year. That money has already been sent to the state on your behalf. When you file your state return, you claim it as a payment against your tax bill: if withholding exceeded what you owe, you get a refund; if it fell short, you pay the difference.
What the Number Represents
Each pay period, your employer calculates state income tax based on your wages, your filing status, and the allowances you claimed on your state withholding form. The Box 17 figure is the sum of those deductions for the year. Treat it as a receipt for state income tax prepaid on your behalf.
Box 17 sits next to Box 15, which lists the two-letter state abbreviation and your employer’s state ID number, and Box 16, which lists the wages subject to that state’s income tax.
How Box 16 and Box 17 Fit Together
Box 16 answers a different question than Box 17. Box 16 is how much of your income the state considers taxable. Box 17 is how much tax was actually taken out of it.1Internal Revenue Service. Form W-2 Wage and Tax Statement
Box 16 often differs from Box 1 (your federal wages) because states set their own rules on what counts as taxable income. Some states exempt certain government pension income the federal government still taxes, which pulls Box 16 below Box 1. Others add back deductions the federal code allows, pushing Box 16 higher. Your state return starts from Box 16, calculates the tax, and then applies Box 17 as a credit.
When Box 17 Is Blank
An empty Box 17 is not automatically an error. Nine states levy no individual income tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, and Wyoming. If you work entirely in one of them, there is nothing to withhold.
Reciprocity agreements between neighboring states can also leave the work-state line blank. About half the states with an income tax have at least one reciprocal deal in place. If you live in one state and commute to a reciprocal state for work, filing the right withholding exemption form tells your employer to withhold for your home state only. Box 17 in that case shows resident-state withholding, not work-state withholding. If your employer withheld for the wrong state, you generally have to file a non-resident return there to recover the money and still pay tax at home.
When You Worked in More Than One State
The W-2 has space for two states in the Box 15 through 17 area, separated by a dotted line. Each row shows a state abbreviation in Box 15, taxable wages for that state in Box 16, and withholding for that state in Box 17. If you had income in three or more states, your employer issues an additional W-2 carrying the same personal information and the extra state data.2Internal Revenue Service. 2026 General Instructions for Forms W-2 and W-3
You generally owe a return in every state where you earned income. Each state looks only at its own row. Your resident-state return usually reports all your income and gives you a credit for taxes paid to the other states, so the same dollars are not taxed twice.
What Box 17 Does Not Cover
Box 17 is state income tax only. Two other kinds of withholding sit elsewhere on the W-2, and confusing them is a common filing mistake.
Local income taxes, charged by cities, counties, or school districts, go in Boxes 18 and 19. Box 18 is the wages subject to the local tax; Box 19 is the amount withheld.1Internal Revenue Service. Form W-2 Wage and Tax Statement The Box 19 amount is claimed on a local tax return, not your state return. These local taxes are common in Ohio, Pennsylvania, and New York City, among other places.
Mandatory state payroll items like State Disability Insurance and Paid Family Leave belong in Box 14, the informational catch-all. You might see codes such as “CA SDI” or “NYPFL” there. They are not income taxes and should not appear in Box 17. If a payroll system lumps a disability insurance deduction into Box 17, it inflates your apparent state withholding and can cause a mismatch when the state compares its records to your return.
Using Box 17 on Your State Return
On your state return, the Box 17 amount goes on the line for state income tax withheld. Every state form labels the line a little differently, and tax software carries the figure over automatically from your W-2 entry. The state subtracts that withholding from your total tax liability to work out whether you owe a balance or are due a refund.
If your withholding fell well short of the actual tax, most states charge an underpayment penalty plus interest. If you had significant non-wage income during the year, such as investment gains, rental income, or freelance earnings, wage withholding alone probably was not enough. Quarterly estimated payments to the state fill that gap.
Using Box 17 on Your Federal Return
If you itemize on Schedule A of Form 1040, the state income tax you paid during the year, including the Box 17 withholding, counts toward the state and local tax (SALT) deduction. It goes on line 5a of Schedule A. You can instead deduct state and local sales taxes on that line, but you cannot claim both.3Internal Revenue Service. Topic No. 503, Deductible Taxes
The combined SALT deduction, covering state income tax, real property tax, and personal property tax, is capped. For the 2025 tax year the base cap is $40,000 ($20,000 if married filing separately), and it increases by 1 percent each year through 2029. A phase-out reduces the cap for higher incomes.3Internal Revenue Service. Topic No. 503, Deductible Taxes
If you take the standard deduction, Box 17 still matters for your state return but does not change your federal tax.
If Box 17 Looks Wrong
If the Box 17 number does not match your pay stubs, or if it lists withholding for a state where you never worked, contact your employer’s payroll department and ask for a corrected form. The correction is issued on Form W-2c, which your employer files with the Social Security Administration and provides to you.4Internal Revenue Service. About Form W-2 C, Corrected Wage and Tax Statement
Do not just change the number on your return. State revenue departments match their records against what employers reported, and filing a different figure than what is on file invites a notice or audit. If a corrected W-2 will not arrive before the deadline, file with the best information you have, attach an explanation, and amend once the W-2c is in hand.