Multi-State Tax Filing Guide: How to File When You Worked in Multiple States
A complete guide to filing tax returns when you earned income in more than one state. Covers part-year resident returns, non-resident returns, Form W-2 box 15-20, the credit mechanism, and common filing mistakes.
Filing a state income tax return is straightforward when you live and work in one state all year. The moment your W-2 shows wages in more than one state — because you moved, commuted across a border, or traveled for work — the filing requirement multiplies. The same dollar of income can be taxed by two states, and the only way to avoid paying it twice is to file the right forms in the right order and claim the right credits. The mechanics are not exotic; they are simply unfamiliar the first time through.
This guide walks through the entire multi-state filing process for tax year 2025 (returns filed in 2026). We start with the threshold question of when multi-state filing is required, then walk through the three return types, the W-2 state boxes, the credit mechanism, allocation methods, part-year scenarios, composite returns, two worked examples, and common mistakes. Every rule cited is current as of the 2025 tax year and references the relevant state statute, regulation, or form.
When you must file multiple state returns
Every state with an income tax sets its own filing threshold, typically a function of your filing status, age, and gross income from state sources. California, for example, requires a return if your gross income from all sources exceeds the federal standard deduction for your filing status (Rev. & Tax. Code §18501). New York requires a return if your federal adjusted gross income exceeds $4,000 (NY Tax Law §651). Most non-resident thresholds are lower than they appear because states pull in income sourced to that state regardless of total federal AGI.
You generally must file a non-resident return in any state where (a) you earned wages, (b) your employer withheld state tax, or (c) you have other state-source income such as rental income, business income, or a pass-through entity share. The withholding trigger alone is enough to require a filing because the only way to recover an over-withheld amount is to file. Even one day of work in a state can create a filing obligation in states without a mobile-workforce safe harbor.
The residency side is independent. Your state of domicile always has the right to tax your worldwide income, so you must file a resident return there even if every dollar was earned elsewhere. Some states (notably New York, California, and Virginia) also apply a statutory residency test that pulls you back into resident status if you maintain a permanent place of abode and spend more than 183 days in the state. Both rules are covered in our 183-day rule guide.
The three types of state returns
State returns come in three flavors: resident, non-resident, and part-year resident. The choice depends on your status in that state for the tax year, and a single state may see you file more than one type over time. The forms share a similar architecture but differ in how income is allocated and which credits apply.
Resident return
A resident return (Form 540 in California, IT-201 in New York, IL-1040 in Illinois) reports your worldwide income from all sources and applies the state's full rate schedule. The state taxes interest, dividends, capital gains, retirement distributions, and wages regardless of where they were earned. Resident returns are where you claim the credit for taxes paid to other states, the credit being the principal mechanism for avoiding double taxation.
Non-resident return
A non-resident return (Form 540NR in California, IT-203 in New York, IL-1040-NR in Illinois) reports only income sourced to that state and applies the same rate schedule as the resident return. The form computes a ratio of state-source income to total income and applies that ratio to the state tax computed on your total income. Non-resident returns are required when you worked in the state, sold real estate there, or received a pass-through share of a business operating there.
Part-year resident return
A part-year resident return uses the same form as a non-resident return in most states but splits the year into the resident period and the non-resident period. Income earned while a resident is taxed on worldwide basis; income earned after the move is taxed only to the extent sourced to that state. The credit for taxes paid to other states generally applies only to the resident period, which is a common trap for the unwary.
Form W-2 boxes 15 through 20 explained
The state portion of Form W-2 occupies Boxes 15 through 20, and reading these boxes correctly is the foundation of multi-state filing. Box 15 lists the two-letter state abbreviation and the employer's state tax ID for each state where withholding occurred. A W-2 can have multiple Box 15 entries — one per state — if the employer withheld in more than one state during the year.
Box 16 shows the state wages for each state listed in Box 15. The sum of all Box 16 amounts may exceed Box 1 federal wages because some states tax different items (for example, California taxes elective deferrals to a 401(k) differently in some years) or because the employer allocated wages by day count across multiple states. Box 17 shows the state income tax withheld for each state. Box 18 covers local wages, Box 19 local income tax withheld, and Box 20 the locality name.
A common error is the duplicate-state Box 16 entry where the same wages appear in two states with full withholding in both. This happens when an employee moved mid-year and the payroll system failed to prorate. If the sum of all Box 16 entries is dramatically higher than Box 1, request a corrected W-2 (Form W-2c) before filing. The IRS and state DORs cross-check W-2 wage data, and an uncorrected duplicate triggers automated matching notices.
How the credit mechanism works on the resident return
The credit for taxes paid to other states is the principal mechanism that prevents double taxation in the absence of reciprocity. Almost every state with an income tax offers some version of it, typically computed on a dedicated schedule (California Schedule S, New York Form IT-112-R, Illinois Schedule CR). The credit is not a dollar-for-dollar offset; it is the lesser of the tax actually paid to the other state or your resident state's tax on the same income.
The mechanics are subtle. You first compute your resident state tax on your total income, then compute the resident state tax attributable to the income also taxed by the other state. The credit equals the lesser of that attributable tax or the actual tax paid to the other state. If your resident state has a lower rate than the work state, you bear the difference. If your resident state has a higher rate, you still pay the residual to the resident state.
Several states impose additional limits. New York does not allow a credit for taxes paid to a state that imposes the convenience rule on the same wages (20 NYCRR §132.4). California does not allow a credit for taxes paid on income that is also California-source. Some states (Oregon is an example) only allow a credit for taxes paid on income earned while an Oregon resident. Read the crediting state's schedule instructions carefully before computing.
Allocating income across states
Wage income is allocated by where the work is physically performed, not where the employer is headquartered. The default method for traveling employees is a day-count allocation: count the days worked in each state, divide by total work days, and apply that ratio to total wages. The result is the wage amount reportable as sourced to each state. Most states accept a contemporaneous day log as documentation; some accept reconstructed logs but require more corroboration.
Non-wage income follows source rules that differ by income type. Rental income is sourced to the property location. Business income from a pass-through entity is sourced under the state's apportionment rules, typically a single-sales-factor formula for most states after 2021. Capital gains on real estate are sourced to the property location; capital gains on stock are generally sourced to the seller's domicile at the time of sale. Retirement income is sourced to the resident state under 4 U.S.C. §114 (the federal source rule for non-resident pension income), with military retirement following the federal SCRA rules under 50 U.S.C. §4001.
The allocation methods must be applied consistently across all states. A common error is using a day-count allocation on the resident return but reporting only the work-state withholding on the non-resident return, leaving a gap that the resident state disallows as a credit. Keep your allocation worksheet with the return; auditors ask for it routinely.
Part-year resident returns: the move mid-year scenario
A part-year return is required when you change domicile during the tax year. The mechanics split the year at the move date: income earned before the move is taxed as a resident of the old state (worldwide basis), and income earned after the move is taxed as a non-resident of the old state (source basis only) and as a resident of the new state (worldwide basis). The old state receives a part-year return; the new state receives a part-year return.
The move date is the date you established domicile in the new state, not the date you physically arrived. Domicile is the place you intend to return to after an absence, and changing it requires affirmative acts: a new driver license, voter registration, banking, and ideally a home purchase or lease. The old state may challenge the move date in an audit, so contemporaneous documentation matters. Our residency change checklist walks through the 27 steps.
The credit interaction is one-sided for part-year residents. You can generally claim a credit on the new resident state's return only for taxes paid on income earned after the move (because before the move, you were not yet a resident of the crediting state). The old resident state may or may not allow a credit for taxes paid to the new state on income earned after the move; the rules vary. Plan the timing of large income events (bonus, stock vesting, IRA distribution) around the move date to minimize double taxation.
The composite return option
A composite return is an election available in many states that lets a pass-through entity (partnership, LLC taxed as partnership, or S corporation) file a single return on behalf of its non-resident owners. The entity elects to pay tax at the highest marginal rate on the non-resident owners' share of state-source income, and the owners are relieved of the obligation to file individual non-resident returns in that state. The election is made annually and is irrevocable for the year.
Composite returns are not available in every state and the rules vary widely. California, New York, New Jersey, Illinois, Massachusetts, and most other income-tax states allow composite filings (see, e.g., Cal. Rev. & Tax. Code §18535; NY Tax Law §658(c)). The election is typically made by the entity on its state pass-through return (Form 565 in California, Form IT-204-IP in New York). Owners of pass-through entities should ask the entity whether a composite return is being filed on their behalf before filing their own non-resident returns.
The composite election is a trade-off. The entity pays tax at the top marginal rate, which may be higher than the owner's effective rate, and the owner cannot use losses or credits against the composite-taxable income. For owners with income well below the top bracket or with significant credits, filing an individual non-resident return may produce a better result. Compare both before the entity makes the election.
Worked example: VA resident worked temporarily in NC
A Virginia resident earns $120,000 in wages from a Virginia employer. During 2025, she travels to North Carolina for a 6-week client engagement and performs work there for 30 of her 250 total work days. Her employer properly allocates wages by day count: $14,400 (30/250 × $120,000) appears in NC Box 16, and the rest appears in VA Box 16. NC withholding of approximately $612 (4.5% NC flat rate, ignoring the standard deduction) appears in Box 17.
At year-end she files a North Carolina non-resident return (Form D-400) reporting $14,400 of NC-source wages. After the NC standard deduction ($12,750 single for 2025) and the NC flat 4.5% rate, her NC tax is approximately $74. Her employer withheld $612, so she receives a refund of approximately $538 from NC. She also files a Virginia resident return (Form 760) reporting the full $120,000, computes Virginia tax at the graduated rates (approximately $6,800), and claims a credit on Virginia Schedule OSC for the $74 actually paid to NC. Net Virginia tax is approximately $6,726.
The credit is the lesser of tax paid to NC ($74) or Virginia's tax on the same $14,400 (approximately $860). She gets the smaller credit ($74) and pays the residual to Virginia. Had her employer failed to allocate wages and withheld Virginia tax on the full $120,000, she would have over-withheld in Virginia and owed NC tax with the return — a worse cash-flow outcome. The day-count allocation, even though it required a small NC refund, produced the cleaner result.
Worked example: NY resident moved to FL in July
A New York resident earning $200,000 moves to Florida on July 1, 2025. From January 1 through June 30 he earned $100,000 while a NY resident; from July 1 through December 31 he earned $100,000 while a FL resident. He establishes domicile in Florida on July 1 (new driver license, voter registration, home purchase) and never returns to NY for more than a few days at a time. His employer switches withholding to zero state tax as of July 1 because Florida has no income tax.
At year-end he files a NY part-year resident return (Form IT-203) reporting the full $100,000 of pre-move wages as NY-resident income and zero post-move wages as NY-source income (because he did not perform any work in NY after the move). His NY tax on the resident-period income is approximately $9,500. Florida has no return to file. He does not claim a credit for taxes paid to other states because no other state taxed the post-move income.
The complication: if he remains a New York statutory resident because he kept his NY apartment and spent 100 days in NY visiting, all $200,000 becomes NY-resident income and Florida residency is irrelevant for NY tax purposes. The 183-day rule applies even if Florida is his domicile. Selling or fully leasing out the NY apartment is the standard solution; partial rental with personal use days preserves the statutory residency trap.
Common filing mistakes
Five mistakes dominate multi-state filings. The first is filing only the resident return and ignoring the non-resident return where withholding appears, leaving a refund on the table and triggering a matching notice from the work state. The second is computing the credit for taxes paid to other states as a dollar-for-dollar offset rather than the lesser-of calculation, producing an inflated credit that the resident state rejects. The third is allocating wages by employer location rather than physical work location, which over-reports work-state wages and under-reports home-state wages.
The fourth mistake is using the wrong part-year move date — typically the physical move date rather than the domicile change date — which can shift thousands of dollars of income between states. The fifth is failing to file a non-resident return in a state where the employer mistakenly withheld, leaving the cash with that state indefinitely. Each of these is preventable with a careful review of the W-2 and a 30-minute planning conversation in January.
What to do next
Gather your W-2(s), the prior year's state returns, and a calendar log of the days you worked in each state. List every state that appears in Box 15 of any W-2 and confirm whether you must file there. Run the W-2 wage totals through our multi-state withholding calculator to estimate the tax liability in each state and identify any credit shortfalls. If the result differs materially from your withholding, plan a January estimated payment to close the gap.
If you moved during the year, document the domicile change date and assemble the supporting evidence (lease, driver license, voter registration, banking change) before you file. The first post-move filing is the highest-audit-risk return you will ever submit in the old state, and the documentation must exist when the return is filed, not when the audit notice arrives. Our audit defense guide walks through what examiners look for.
Finally, schedule a 30-minute consult with a CPA who handles multi-state returns in the first year of any new multi-state situation. The fee is typically $200 to $400 and the savings from avoiding a single mistake usually exceed it by an order of magnitude. Bring the calculator output, the W-2(s), the prior year's returns, and the day-count worksheet so the conversation is productive from the first minute.
Frequently asked questions
Do I have to file a state return in every state where I earned income?
How does a part-year resident return differ from a non-resident return?
Can I claim a credit for tax paid to another state if I am a part-year resident?
What happens if my W-2 Box 15-20 shows withholding for a state I never worked in?
Does the federal return care which state I worked in?
Is a composite return the same as a group non-resident return?
Run the numbers
Our free calculator handles reciprocity, the convenience rule, and all 50 state brackets in 90 seconds.
Open calculator