Skip to content
← All posts

Pennsylvania Counts Days Midnight to Midnight: The Proof Problem

Quinn Moran · September 12, 2026

The short answer

Pennsylvania counts a day against its 183-day statutory-residency test only if you were in the state from midnight to midnight, so a partial travel day does not count. Most states count any part of a day. The catch is evidentiary: an auditor who cannot see when you crossed the border will treat the day as a full one, so the benefit of the rule exists only where there is a contemporaneous record of the departure.

The Benjamin Franklin Bridge at dusk, carrying traffic across the Delaware River between Philadelphia and New Jersey
the Benjamin Franklin Bridge. Photo: Diego Delso, CC BY-SA 4.0, via Wikimedia Commons

Most US states that run a statutory-residency test count any part of a day. Land at 11 p.m. and the day belongs to that state. Pennsylvania does not work that way: a day counts against its 183-day test only if you were in the state from midnight to midnight. It is one of the more forgiving counting rules in the country, and it is also the one most easily lost in an audit, because a rule that turns on when you left is worth exactly as much as the record of when you left.

What the 183 days actually attaches to

Pennsylvania taxes you as a resident under either of two tests, both defined in 61 Pa. Code § 101.1. The day count belongs to only one of them.

Domicile is the first. Pennsylvania is your permanent home, the place to which you intend to return whenever absent. You hold exactly one domicile at a time, and it stays put until you actually establish a new one somewhere else. No number of days moves it on its own.

Statutory residency is the second, and it is arithmetic. You are domiciled elsewhere, you maintain a permanent place of abode in Pennsylvania, and you spend more than 183 days of the taxable year in the state, measured midnight to midnight. Meet both prongs and Pennsylvania taxes you as a full resident on everything.

There is a third count, less discussed, that runs the other way. A person domiciled in Pennsylvania is treated as a nonresident if they maintained no permanent abode in Pennsylvania at any point in the year, maintained one elsewhere for the whole year, and spent no more than 30 days in the state. Same midnight-to-midnight basis, much tighter ceiling.

TestWhat it requiresDay counting
DomicilePennsylvania is the permanent home you intend to return toNo day count
Statutory residencyA permanent place of abode in Pennsylvania and more than 183 days in the stateMidnight to midnight
Domiciled-nonresident ruleNo Pennsylvania abode at any time, an abode elsewhere all year, and no more than 30 days in the stateMidnight to midnight

The two tests answer different questions and fail in different ways, which is why the full factor list, the abode definition and the move-year mechanics sit together in the Pennsylvania residency guide rather than in a single rule of thumb.

Why the travel day is free

Under any-part-of-a-day counting, a Sunday evening flight home costs a day. Under Pennsylvania's rule it costs nothing, because the calendar day was not spent entirely in the state. For someone crossing the border weekly, that definitional difference is not marginal — it is the gap between a year that lands comfortably under the threshold and one that does not.

The forgiveness runs entirely on proof, though, and the default is unfavourable. An auditor who cannot see your border crossings will assume full days. Contemporaneous location records showing you left at 7 p.m. are what turn a counted day into an uncounted one; a reconstruction assembled in April from memory and calendar entries is a much weaker artefact, and it arrives after the number it is meant to support has already been asserted on a return.

This is the same asymmetry that shows up across state residency enforcement, where departments increasingly read utility and device data to test whether a claimed move happened at all — the mechanics of that are covered in how states use smart meter and cell phone data. Pennsylvania's version is narrower and more specific: not did you move, but were you here for the entire calendar day.

Abode is the other half of the test

The day count does nothing on its own. A permanent place of abode is a dwelling maintained for an indefinite period, owned or rented. Places held only for a fixed, particular purpose are excluded, and student dorms and employer-provided housing do not count.

So a person who maintains no Pennsylvania dwelling does not become a statutory resident on the day count alone, however many days they spend in the state — the abode prong fails, and both prongs are required. The reverse is also true: a Pennsylvania apartment kept year-round is inert for this test as long as the days stay at or under 183. Threshold comparisons across states rarely make this dependency visible, which is part of why a bare threshold table like the state-by-state 183-day guide is a starting point rather than an answer. If the question is purely arithmetic — how many days a given travel pattern actually consumes — a 183-day calculator does that part.

Where the count stops answering the question

Statutory residency is arithmetic. Domicile is argument. Pennsylvania treats domicile as fixed until three things line up: physical presence in a new place, intent to make it the permanent home, and abandonment of the old one. What the Department weighs is documentary and social — where the family lives and where children attend school, which home functions as the real one and what happened to the Pennsylvania house, driver's licence, voter and vehicle registration, the address on the federal return, employment and business interests, banks, physicians, clubs and congregations.

The snowbird pattern is where the two tests get confused with each other. Six months and a day in Florida does not end Pennsylvania domicile by itself. If the Pennsylvania house, doctors and grandchildren remain the centre of gravity, the Commonwealth still treats you as its resident, and the day count never entered into it.

What is at stake in that case is also unusual. Because Pennsylvania exempts Social Security and qualified distributions from pensions, 401(k)s and IRAs once retirement and the plan's age or service requirements are met, the exposure for a retiree is often not wages at all. It is interest, dividends and capital gains, which Pennsylvania taxes for residents and not for nonresidents. The same asymmetry drives the move-year timing point: for the nonresident portion of a part-year year, Pennsylvania does not tax interest, dividends or gains on intangibles, so the date a stock sale falls relative to the move date changes its treatment.

Whether the centre of gravity has moved is not a day count, and no location log settles it. The log settles one prong of one test.

Three numbers the day count does not decide

The headline rate is a flat 3.07%, which reads tame next to New York or California. It is not the whole bill.

Under Act 32, a municipality and school district levy an earned income tax collected through payroll using PSD codes, commonly on the order of another 1–2%. Philadelphia sits outside Act 32 and taxes wages at 3.74% for residents and 3.43% for nonresidents, effective 1 July 2025 and on a slow legislated decline. A Philadelphia resident's real rate on wages is closer to 6.8%.

Reciprocity complicates the border cases rather than simplifying them. Pennsylvania has wage reciprocity with Indiana, Maryland, New Jersey, Ohio, Virginia and West Virginia, so a New Jersey resident working in Philadelphia has their wages taxed by New Jersey. The agreement covers the state tax only: Philadelphia's nonresident wage tax still applies to people who work in the city, and non-wage Pennsylvania-source income is untouched by reciprocity either way.

None of these three turn on a running count of days. They turn on where the residence is and where the work is performed — which is why a clean 183-day record can coexist with a local tax question it says nothing about.

What an audit asks the count to show

Pennsylvania's enforcement is steady rather than theatrical. The move-year return is the screen: a part-year PA-40 in a high-income year, or a resident return that simply stops while a Pennsylvania abode and employer persist, draws the questionnaire. From there the Department cross-matches federal return data, W-2s and 1099s, local EIT filings and property records, while Philadelphia pursues its wage tax separately through employer withholding audits.

Because the test is midnight to midnight, the day proof requested is finer than a list of dates. Auditors ask for records precise enough to show overnight location — tolls, card transactions, phone records, a day log. The per-year stakes are modest by the standards of high-tax states, 3.07% plus locality, interest and penalties, but a residency determination reaches every unfiled year in question, which is what turns a small annual number into a large one. The general shape of that process is in what a residency audit involves.

Keeping the count while it happens

A midnight-to-midnight rule rewards a record that already exists and punishes one assembled after the fact. iReside records which country and state you were in on each calendar day, from your iPhone's location, in the background. Day counts for each rule you track are computed from that record continuously, so the number exists as a by-product of living rather than as a reconstruction you attempt in December. It exports the day-by-day record as CSV or PDF, labelled with where each day came from — GPS, manual entry, or a planned future day.

That provenance labelling is the part that matters for a rule like Pennsylvania's. A day sourced from GPS and a day typed in from memory are both entries in a log, and only one of them was made at the time. The Pennsylvania guide sets out the rest of the test the count feeds into: the abode definition, the 30-day nonresident route, the eight classes of income on the PA-40, and the local taxes that ride along underneath the flat rate.

Frequently asked questions

Not if you were out of the state before midnight. Pennsylvania measures days midnight to midnight, so a day counts against the 183-day statutory-residency test only if the whole calendar day was spent in the state. The practical qualifier is evidentiary: where there is no record showing when the border was crossed, an auditor will treat the day as a full one.

No. Statutory residency has two prongs that both have to be met: a permanent place of abode in Pennsylvania and more than 183 midnight-to-midnight days in the state during the taxable year. A permanent place of abode is a dwelling maintained for an indefinite period, owned or rented; student dorms and employer-provided housing do not count. Domicile is a separate test and does not depend on a day count.

It is the mirror image of statutory residency, for people whose domicile is still Pennsylvania. A person domiciled in Pennsylvania is treated as a nonresident if they maintained no permanent abode in Pennsylvania at any time during the year, maintained a permanent abode elsewhere for the entire year, and spent no more than 30 days in Pennsylvania. All three conditions have to hold, and the 30-day ceiling uses the same midnight-to-midnight basis as the 183-day test.

No. Domicile stays where it is until physical presence in a new place, intent to make it the permanent home, and abandonment of the old one all line up. Wintering elsewhere on a six-month-and-a-day schedule does not move it by itself. That determination is not a day count, and a day log does not settle it.

No. Under Act 32, a municipality and school district levy an earned income tax collected through payroll using PSD codes, commonly on the order of another 1 to 2 percent. Philadelphia sits outside Act 32 and taxes wages at 3.74 percent for residents and 3.43 percent for nonresidents, effective 1 July 2025. Those follow residence and where work is performed, not a running count of days.

Counting these days by hand is where people get caught out.

iReside tracks your location automatically and keeps the record that immigration and tax authorities ask for.

Download iReside