State withholding is a prepayment of income tax. Two employees with the same salary can have different deductions because the states where they live and work use different withholding methods.
Where state withholding shows on your W-2
The state income tax withheld from your pay for the year is in box 17 of Form W-2. Box 15 shows the state and your employer’s state ID number, and box 16 shows the wages reported to that state. Boxes 18 to 20 do the same for any city or local income tax.[8][9]
| Box | Label on the 2026 Form W-2 | What it shows |
|---|---|---|
| 15 | State · Employer’s state ID number | The two-letter state code and the ID number the state assigned to your employer |
| 16 | State wages, tips, etc. | The wages your employer reports to that state |
| 17 | State income tax | The state income tax withheld from your pay for the year |
| 18 | Local wages, tips, etc. | The wages reported to a city or other locality |
| 19 | Local income tax | The local income tax withheld |
| 20 | Locality name | Which locality the local amounts belong to |
Each state decides what counts as wages in box 16, so the IRS tells employers to check the state’s own reporting rules. The boxes have room for two states and two localities, separated by a broken line. If your employer has to report more than two, it gives you a second Form W-2. Copy 2 of the form is the one meant for your state, city or local tax return.[8][9]
Example: a Pennsylvania employee with $50,000 of taxable compensation and no exemption has 3.07% withheld: $50,000 × 3.07% = $1,535. Box 15 shows PA and the employer’s Pennsylvania ID number, box 16 shows $50,000 and box 17 shows $1,535.[1] If no state income tax was withheld, for example because you live and work in one of the nine states below, box 17 is blank.
Where wages are untaxed in 2026
Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington and Wyoming have no individual state tax on wages earned in-state by a resident. See the official sources for each state.
How states calculate withholding
| State | How an employer figures the deduction |
|---|---|
| Pennsylvania | Withhold 3.07% of taxable compensation unless an exemption applies. |
| Arizona | Use the employee’s elected percentage from Form A-4. The default is 2% of gross taxable wages if the employee does not submit the form. |
| Arkansas | The regular formula annualizes wages, applies a standard deduction and withholding table, subtracts the allowance credits, and divides by the number of pay periods. |
| California | Employees use Form DE 4 to set state allowances or request extra withholding. The employer uses the EDD withholding schedules. |
Reciprocity across state lines
Pennsylvania has reciprocal agreements with Indiana, Maryland, New Jersey, Ohio, Virginia and West Virginia for covered employee compensation. For example, an eligible Maryland resident working in Pennsylvania can give the employer REV-419. The employer agrees to withhold and remit Maryland tax.
Remote work
New York generally counts days spent telecommuting as New York workdays when a nonresident employee’s primary office is in the state. The Department of Taxation and Finance explains when a separate office established by the employer qualifies for different treatment.