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 in your name, and it counts as a prepayment against whatever state income tax you actually owe when you file your return. If more was withheld than you owe, you get the difference back as a refund. If less was withheld, you pay the balance. The same figure can also feed into your federal return if you itemize deductions.
Reading Box 17 Alongside Boxes 15 and 16
Box 17 never stands alone. It sits in a group with Box 15, which carries the two-letter state abbreviation and your employer’s state ID number, and Box 16, which shows the wages the state considers taxable.1Internal Revenue Service. Form W-2 Wage and Tax Statement
Box 16 and Box 17 answer two different questions. Box 16 tells you how much of your income the state is taxing. Box 17 tells you how much was already withheld from that income. The Box 16 figure often differs from the federal wages in Box 1 because states have their own rules about what counts as taxable: some exempt certain pension income the federal government still taxes, others add back deductions the federal code allows. Your state return starts with the Box 16 amount and uses the Box 17 withholding as a credit against the tax calculated on it.
When Box 17 Is Blank
A blank Box 17 is not necessarily an error. Nine states have no individual income tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, and Wyoming. If you work entirely within one of those states, your employer has nothing to withhold. Washington does tax certain capital gains above a high threshold, but that is not withheld from wages.
Reciprocity agreements can also leave the box empty for your work state. About half the states with an income tax have at least one reciprocal agreement with a neighbor. If you live in one state and commute to a reciprocal state for work, you can file a withholding exemption form so your employer withholds for your home state only. In that situation, Box 17 shows withholding for your resident state rather than the state where you physically worked. If your employer withheld for the wrong state anyway, you’ll need to file a return in that state to claim a refund, and still pay tax on your resident-state return.
What Box 17 Looks Like With Multiple States
The W-2 has room for two states in the Boxes 15 through 17 area, separated by a dotted line. Each line shows one state abbreviation, that state’s taxable wages, and the withholding for that state. If you earned income in three or more states during the year, your employer issues a second W-2 with the same personal information in Boxes a through f and the additional state data filled in.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 only cares about its own line. When you prepare your resident-state return, you report all your income but typically get a credit for taxes paid to the other states so you are not taxed twice on the same dollars.
What Doesn’t Belong in Box 17
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 levied by cities, counties, or school districts appear in Boxes 18 and 19. Box 18 shows the wages subject to the local tax, and Box 19 shows the amount withheld.1Internal Revenue Service. Form W-2 Wage and Tax Statement That Box 19 figure is credited on your local tax return, not your state return. These local taxes are common in municipalities across Ohio, Pennsylvania, and New York City, among other places.
Mandatory state payroll taxes like State Disability Insurance and Paid Family Leave are a different category entirely. They go in Box 14, the catch-all for informational items, usually with a code such as “CA SDI” or “NYPFL.” These are not income taxes and do not belong in Box 17. If an employer accidentally lumps a disability insurance deduction into Box 17, it inflates your apparent state withholding and can trigger problems when the state tries to match its records to your return.
Using Box 17 on Your State Return
On your state income tax return, the Box 17 figure goes on the line for state tax withheld. Every state labels that line slightly differently, and tax software pulls it in automatically from your W-2 entry. The withholding is subtracted from your total state tax liability to determine whether you owe a balance or are due a refund.
When Box 17 withholding falls well short of your actual state tax, the state can charge an underpayment penalty plus interest. Most states use safe-harbor rules similar to the federal system: you generally avoid penalties if your withholding and estimated payments covered at least 90 percent of your current-year tax or 100 percent of your prior-year tax, with a stricter 110 percent threshold for higher earners in many states. Interest rates on underpayments vary by state but typically run between 7 and 12 percent annually.
If you had significant non-wage income during the year, such as investment gains, rental income, or freelance earnings, Box 17 withholding from wages alone probably wasn’t enough. Quarterly estimated payments to the state fill that gap.
Using Box 17 on Your Federal Return
If you itemize deductions on Schedule A of Form 1040, the state income tax in Box 17 counts toward the state and local tax (SALT) deduction. You report state and local income taxes on line 5a of Schedule A. You can elect to deduct state and local sales taxes instead, but not both.3Internal Revenue Service. Topic No. 503, Deductible Taxes
The total SALT deduction, combining state income tax with 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). A phase-out reduces the cap if your modified adjusted gross income exceeds $500,000 ($250,000 for married filing separately), shrinking it by 30 cents per dollar over the threshold until it bottoms out at $10,000.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 affect your federal tax calculation.
What to Do if Box 17 Is Wrong
If Box 17 doesn’t match your pay stubs, or shows withholding for a state where you did not work, contact your employer’s payroll department and ask for a corrected form. The correction comes 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
Don’t just adjust the number on your return and hope it works out. The state revenue department matches its records against what your employer reported, and filing a different figure invites a notice or audit. If you can’t get a corrected W-2 before the filing deadline, file with the best information you have, attach an explanation, and amend once the W-2c arrives.