If you live in one state and work in another, you generally pay state income tax in both places, but you don’t pay full tax twice on the same dollar. Your home state taxes all of your income wherever you earned it. The state where you work taxes the wages you earned inside its borders. To keep those two claims from stacking, states use reciprocal agreements or a credit on your resident return for taxes paid to the other state. Whether you pay state income tax where you live or work depends on which two states are involved, how you work (in person, remote, hybrid), and which relief mechanism applies.
Your Home State Taxes All Your Income
Start with the baseline. Your state of residence taxes your entire income, regardless of where it was earned. Wages from an out-of-state employer, freelance payments from clients in other states, rental income from property elsewhere, investment gains: all of it goes on your resident return. This is the rule that makes the rest of the picture necessary, because without something to offset it, every dollar that crossed a state line would get taxed twice.
Your Work State Taxes What You Earn There
States also tax nonresidents on income sourced within their borders. If you physically travel into another state and perform work there, the compensation tied to those workdays is taxable by that state. You file a nonresident return reporting only the income sourced to that state, not your full year.
Filing thresholds vary. Some states require a nonresident return the moment you earn a dollar there. Others set a day count, a dollar floor, or a combination. If you travel for work even occasionally, check each state’s threshold; the penalties for missed nonresident returns tend to surface years later with interest attached.
How to Avoid Being Taxed Twice
Reciprocal Agreements
About a dozen states and the District of Columbia have reciprocal tax agreements with neighboring states. If you live in one participating state and work in the other, you owe income tax only to your home state. Your employer withholds for your state of residence, and you skip the nonresident return entirely. Activating the arrangement usually requires filing an exemption form with your employer so they stop withholding for the work state.
These agreements exist mostly between neighbors with heavy cross-border commuting, and the specific pairs aren’t always intuitive. Some are one-directional. Confirm the agreement between your two states before assuming it applies. If your employer already withheld for the work state, you’ll need to file there for a refund and correct the withholding going forward.
The Resident Credit for Taxes Paid to Another State
When no reciprocal agreement exists, your home state almost certainly offers a credit for taxes you paid to the other state on the same income. The mechanics: file a nonresident return in the work state and pay tax on the income sourced there. On your resident return, claim a credit equal to the lesser of the tax you actually paid to the other state or the tax your home state would have charged on that same income.
The credit doesn’t always zero out double taxation to the penny. If the work state’s rate is lower than your home state’s rate, you effectively pay the difference to your home state. If it’s higher, you still owe the full amount to the work state, but your home state credit is capped at what it would have taxed. Either way, you never pay the full rate to both states on the same dollar.
One common error: using the amount withheld on your W-2 for the work state instead of the actual tax liability calculated on that state’s return. The credit is based on tax owed, not tax withheld. Using the wrong figure can create an underpayment in one state or leave money on the table in the other.
When One State Has No Income Tax
Nine states impose no individual income tax on wages: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, and Wyoming. New Hampshire was the most recent addition, having fully repealed its tax on interest and dividends effective January 1, 2025. If you live and work in one of these states, you have no state income tax obligation on your earnings.
When only one side of the equation is a no-tax state, the outcome flips depending on direction. Live in Texas and commute to a state that taxes nonresident income? You’ll owe the work state, with no home-state tax to offset it. Live in a taxing state and commute into a no-tax state? You’ll owe only your home state. The resident-credit mechanism doesn’t help in the first scenario, because there’s no home-state tax to reduce.
Remote and Hybrid Workers
Remote work has scrambled the traditional “you pay where you show up” framework. If you work from home in State A for an employer headquartered in State B, most states source the income to wherever you’re sitting when you do the work. Under that approach, a fully remote worker owes tax only to their home state.
A small group of states disagrees. New York, along with Delaware, Nebraska, Oregon, Pennsylvania, and Connecticut, applies some version of the “convenience of the employer” rule. If your remote arrangement exists for your own convenience rather than because your employer needs you elsewhere, the state where the office is located can tax you as though you were working from that office. New York’s version is the most aggressive and the most litigated. The “necessity” exception is narrow: you essentially need to show that your employer required remote work and that no office space was available to you.
Connecticut applies its version only to residents of other convenience-rule states, making it retaliatory rather than broadly applicable. Pennsylvania’s reach is limited by its reciprocal agreements with several neighbors. The practical result: a remote worker in New Jersey with a New York employer can owe tax to New York on income earned entirely from a home office in New Jersey. New Jersey provides a credit, but if the rates differ, the math can sting.
Moving Mid-Year
Relocate during the calendar year and you’ll generally file a part-year resident return in each state. The old state taxes what you earned while you lived there; the new state taxes what you earned after you arrived. For a single job with steady wages, the split is usually proportional to the months in each state.
Investment income, interest, and dividends are typically allocated based on where you lived when you received them. Rental income from real property follows the property’s location, not yours. If income ends up taxable in both states during the transition, the resident credit applies the same way it does for cross-border commuters.
What catches people is the residency determination itself. Signing a lease in the new state doesn’t automatically move your domicile there on day one. If the old state decides your domicile never actually changed, it can claim you as a full-year resident and tax everything you earned that year. Untangling overlapping residency claims after the fact is expensive and slow.
How States Decide Which One Is Your Home
Because your home state taxes all of your income, states pay close attention to who counts as a resident. Two concepts matter. Domicile is your permanent home, the place you consider your real base and intend to return to. You can only have one domicile at a time, and it doesn’t change until you establish a new one somewhere else. Physical presence matters separately: many states treat anyone who spends more than 183 days within their borders in a tax year as a statutory resident, even if their domicile is elsewhere.
When a state audits residency, it looks at concrete actions, not declarations. Voter registration, driver’s license, primary bank accounts, where your children attend school, whether you sold or kept your former home: these are the factors that carry weight. Claiming you moved to a no-tax state while keeping a house, a voter registration, and community ties in your old state is the exact pattern auditors look for.
Local Income Taxes
Some cities and counties add their own income taxes on top of the state levy, with rates typically ranging from under 0.1% to around 2.5%. Some localities tax everyone who works within their borders, some tax only residents, and some do both. Unlike state-level taxes, local income taxes rarely come with reciprocal agreements or robust credit mechanisms, so you can end up owing a local tax to the city where you work and a separate one to the city where you live. Not every state authorizes local income taxes, but where they apply, they can produce unexpected bills.
Special Rules for Military and Transportation Workers
Federal law overrides the usual live-versus-work analysis for a few groups. Under the Servicemembers Civil Relief Act, a service member doesn’t gain or lose a state tax residence just because military orders moved them. Their income remains taxable only by their state of legal residence. The Military Spouses Residency Relief Act lets a military spouse elect to keep their prior state of legal residence, adopt the service member’s state, or use the permanent duty station state, and income the spouse earns at the duty station is not taxable there if their legal residence is elsewhere.1Office of the Law Revision Counsel. 50 USC 4001 – Residence for Tax Purposes
Congress has also protected workers who routinely cross state lines. Railroad employees who work in more than one state can be taxed only by their state of residence.2Office of the Law Revision Counsel. 49 USC 11502 – Withholding State and Local Income Tax Truck drivers and other motor carrier employees regularly working across multiple states get the same protection.3Office of the Law Revision Counsel. 49 USC 14503 – Withholding State and Local Income Tax by Certain Carriers Airline employees can be taxed by their state of residence or by a state where they earn more than 50 percent of their total compensation measured by scheduled flight time; in practice, most are taxable only at home, since flight time rarely concentrates in a single state.4Office of the Law Revision Counsel. 49 USC 40116 – State Taxation