Pennsylvania treats you as a resident if you are domiciled there, or if you keep a permanent place of abode there and spend more than 183 days of the year in the state. Domicile continues until a new one is established, and the person who says it changed has to show it.
Checked Nov 20, 2026
Pennsylvania: the 30-day test
Someone domiciled in Pennsylvania is not a resident for a year in which they keep no permanent place of abode in Pennsylvania, keep one elsewhere for the whole year, and spend no more than 30 days in the state.
Checked Nov 20, 2026
Pennsylvania: moving abroad Disputed
Pennsylvania's regulation says a U.S. citizen does not ordinarily change domicile by going abroad. Its tax department's guidance treats a private-sector person living in a foreign country as domiciled there.
Courts or tax authorities disagree on this. Check with a professional before relying on it.
The two official texts point in different directions. Xpat relies on neither: outside the 30-day test it says Pennsylvania may still treat you as a resident.
Checked Nov 20, 2026
Xpat fetches every source again each month to spot changes, keeps each edition it reads, and re-reads each rule against its sources at least once a quarter. Use the tools to see how these rules apply to you: Taxes, Invest.
Pennsylvania DOR — determining residency: what it means for Americans abroad · Xpat