Skip to main content

Question: What is pre-immigration tax planning, and why does the US residency starting date change the tax on everything you own?

Pre-Immigration Tax Planning: Why the US Residency Starting Date Decides Everything

Once you become a US tax resident, the IRS taxes your worldwide income the same way it taxes a citizen. The day that switch flips, and what has to be settled before it, is the whole subject of pre-immigration planning.

International Tax18 min read

By Joanny Ibarbia, EA · CAA

A flat lay of travel essentials on a desk: an open world map, a compass, a notebook, and a planner

Quick answer

Pre-immigration tax planning is the work done before a foreign national becomes a US tax resident, because once residency begins the IRS taxes worldwide income the same way it taxes a citizen. Residency starts under one of two tests, the green card test and the substantial presence test, and the exact first day of residency sets the line between a foreign tax life and a US one. Appreciated assets, foreign trusts, and deferred foreign compensation that are not resolved before that day cross the line with their full built-in gain.

Key points

  • A resident alien is taxed on worldwide income the same as a US citizen, while a nonresident alien is taxed only on US source income and income connected with a US trade or business
  • Residency triggers are mechanical: lawful permanent residence under the green card test, or 31 days in the current year plus a weighted 183 days over three years under the substantial presence test
  • The residency starting date is, as a general rule, the first physical day of US presence under the test that is met, with a 10-day exclusion when a closer connection to a foreign tax home is documented
  • The closer connection exception on Form 8840 can keep a day-count resident filing as a nonresident, but only inside the sub-183-day limit and only with a tax home kept abroad
  • Covered-expatriate status under section 877A is triggered when net worth is 2 million dollars or more, or annual net income tax over the 5 prior years is more than 206,000 dollars, which is why the entry plan and the exit plan are built together

What does pre-immigration tax planning actually mean?

Pre-immigration tax planning is the body of decisions a foreign national resolves before becoming a US tax resident. The planning window exists because the two tax regimes rest on different premises. The IRS states the resident side plainly: "Resident aliens are generally taxed on their worldwide income, the same as U.S. citizens."[1] The nonresident side is the mirror: foreign nationals who do not meet either residency test pay US tax only on US-source income and on income connected with a US trade or business.[1]

That shift happens on one specific calendar day, the residency starting date. Everything you owned, earned, or deferred before that day belongs to a foreign tax life governed by foreign rules. Everything that happens on or after that day sits on a US return. A built-in gain on a foreign business interest, a distribution from a non-US pension plan, an unrealized gain on a holiday home abroad, all look identical to the IRS once the switch flips. The planning window is therefore not about avoiding US tax after residency, it is about taking an honest inventory of what sits on the foreign side of the line while there is still time to resolve it. Our advisory solutions work is almost always built around that inventory first.

Who is a US tax resident, and when does worldwide taxation start?

The IRS does not ask about intent or visa label. It applies two mechanical tests. Under the green card test, the IRS states: "You are a resident for tax purposes if you are a lawful permanent resident of the United States at any time during calendar year 2025."[2] Under the substantial presence test, the agency requires physical presence in the country "on at least: 31 days during 2025; and 183 days during the 3-year period that includes 2025, 2024, and 2023, counting: All the days you were present in 2025, 1/3 of the days you were present in 2024, and 1/6 of the days you were present in 2023."[3]

The mechanical nature of the second test is where many planning problems originate. The 183-day result is cumulative across three years, so a pattern of long business visits can push a future immigrant over the line without any single stay feeling consequential. Passing either test turns the IRS into the authority that reaches your worldwide income for the year.[1] For investors arriving through a Florida LLC, our foreign-owned U.S. entity tax services page frames the entity-level questions that pair with this residency question.

A close-up of an open passport showing multiple travel stamps resting on an airport counter
Each stamp is a day the three-year weighted presence math may count against a future residency outcome.

What is the residency starting date, and why does the exact day matter?

The residency starting date is the dividing line between the two tax lives. For a substantial-presence resident, the IRS puts the line like this: "If you meet the substantial presence test for a calendar year, your residency starting date is generally the first day you are present in the United States during that calendar year."[4] For a green-card resident who did not also meet the presence test, the rule changes: "If you meet the green card test at any time during a calendar year, but do not meet the substantial presence test for that year, your residency starting date is the first day in the calendar year on which you are present in the United States as a lawful permanent resident."[5]

One narrow softener is built into the first-day rule. The IRS allows up to 10 days of actual US presence to drop out of the starting-date calculation when, on those days, a closer connection to a foreign country and a foreign tax home are both proven.[4] Those 10 days still count toward the day-count for the presence test itself, so the exclusion only moves the starting date, not residency status. For a family that arrives in two trips, a short January scouting visit followed by a March move, that softener is often the difference between two months of worldwide tax exposure and none.

Residency scenarioWhat the test isWhen US tax on worldwide income starts
Lawful permanent resident, no substantial presenceGreen card testEarliest calendar day that permanent resident status is held while physically in the country
Substantial presence met in the year of arrivalAt least 31 days current year, weighted 183 days over 3 yearsAs a general rule, the first physical day in the United States that year, with up to 10 days excludable for a documented closer connection
Residency in 2025, present again in 2026Carryover rule from the preceding calendar yearJanuary 1, 2026 (deemed resident at the start of the current year)
Under 183 days in 2026, tax home still abroadCloser connection exception on Form 8840No residency in 2026, provided Form 8840 is on file and the facts support the claim
Short of substantial presence in 2025, meets it in 2026First-Year ChoiceFirst day of a qualifying 31-day period of continuous US presence in 2025

What does worldwide taxation actually change for the new resident?

Before residency, only US source income and income connected with a US trade or business reach the US return.[1] After residency, income from every country is on the US return at the same graduated rates a citizen pays, and the reporting regimes that attach to foreign holdings activate at the same moment.[1] A foreign mutual fund that produced an efficient result at home becomes a passive foreign investment company inside a US return, with its own punitive excess-distribution math. A family trust that was transparent abroad can trip the US grantor-trust rules on day one of residency.

That change is why the planning conversation is really about the inventory, not the move. Appreciated foreign securities carry a built-in gain that will be measured against a basis set long before you reached the United States. Pension plans and deferred compensation sit outside tax-favored US treatment unless a treaty says otherwise. A foreign brokerage account triggers an FBAR, as our guide on FBAR vs Form 8938 foreign account reporting explains, and the thresholds for the US international information returns start running the moment residency starts. A sale completed before residency sets a cost basis the US will later recognize, which is why practitioners talk about a de facto step-up: the realized gain is a foreign problem, and the US basis is the proceeds.

A US passport, several dollar bills, and a smartphone arranged on a dark surface
After the residency starting date, every foreign holding is on the same return as every US dollar earned.

Can the Closer Connection Exception keep you out another year?

Yes, inside a narrow box. The IRS allows a day-count resident to file as a nonresident when three facts hold at once, in its own words: "Even if you meet the substantial presence test, you can be treated as a nonresident alien if you: Are present in the United States for less than 183 days during the year, Maintain a tax home in a foreign country during the year, and Have a closer connection during the year to one foreign country in which you have a tax home than to the United States".[6] The sub-183-day ceiling is hard: a day over it drops the exception for the year, no matter how strong the foreign ties look.

Making the claim is itself a formal step. The IRS says that "You must attach a fully completed Form 8840 to your income tax return to claim you have a closer connection to a foreign country or countries."[7] The exception also closes the moment immigration intent appears on paper: an applicant who has filed for permanent residence, or whose adjustment-of-status application is pending during the year, cannot claim it. In practice, the exception is a one-year or two-year bridge for a cross-border executive or investor whose life still runs out of a foreign home, not a long-term strategy for a family and business that have already moved.

What is the First-Year Choice, and when is it worth taking?

The First-Year Choice is the mirror image of the closer connection exception. The IRS defines it directly: "If you do not meet either the green card test or the substantial presence test for 2024 or 2025 and you did not choose to be treated as a resident for part of 2024, but you meet the substantial presence test for 2026, you can choose to be treated as a U.S. resident for part of 2025."[8] The two conditions attached to the choice are also quoted from the publication: "Be present in the United States for at least 31 days in a row in 2025" and "Be present in the United States for at least 75% of the number of days beginning with the first day of the 31-day period and ending with the last day of 2025. For purposes of this 75% requirement, you can treat up to 5 days of absence from the United States as days of presence in the United States."[8]

The choice is irrevocable without IRS approval, and it is almost never the right answer for someone with substantial foreign-source income the US would then tax at graduated rates. It is useful when a late-year arrival wants to use US deductions, a joint return with a US-citizen spouse, or treaty credits for the partial year. The decision is a tax calculation first, not a filing preference. For the mechanics of the return itself our guide on who must file a nonresident return is a useful companion once residency starts, and individual tax return preparation handles both halves of a dual-status year.

Two European passports and euro banknotes resting on an open European map
A dual-status year is a tax calculation, not a filing preference.

What commonly goes wrong before and after the residency date?

  • Treating the move date as the tax date. The move happens in May; the residency starting date was the January scouting trip because the closer-connection facts for the 10-day exclusion were never documented.[4]
  • Selling appreciated foreign assets on day two of residency instead of day minus two, because nothing told the family that worldwide taxation had already begun.[1]
  • Forgetting that the substantial presence test counts prior-year days at 1/3 and the year before at 1/6, so a few long business trips over three years already produced residency.[3]
  • Assuming a foreign mutual fund is a tax-efficient holding on the US side. Inside a US return it is a passive foreign investment company, with its own distribution math.
  • Missing Form 8840 and losing the closer connection exception, because the IRS says the exception is unavailable unless the form is on file.[7]
  • Treating the First-Year Choice as a routine convenience, when the trade is accelerated worldwide taxation of a half-year of foreign income the US would otherwise never see.[8]

What about real estate and inheritance from abroad?

Real estate carries two of the biggest planning items on the foreign side of the line. Appreciated foreign real estate owned on the first day of residency carries a built-in gain that the US will measure against the original foreign basis, not the market value on the day of arrival, so the gain between purchase and residency becomes a US capital gain if the property is sold later. Inherited property is the usually welcome exception, because US rules allow inherited property to be measured against its fair market value at the date of death, and our note on inherited real estate step-up basis for Latin American heirs explains how that basis step works for a Latin American inheritance received after residency begins.

US real estate held by a nonresident is a separate layer. Even before residency, a sale of US real property by a foreign owner triggers FIRPTA withholding at closing, which our note on FIRPTA foreign seller withholding on Form 8288 covers in detail. For a family that is about to immigrate and also owns a Florida condominium through a foreign holding structure, the planning question is which legs of the structure survive residency and which collapse into a single US owner.

What about the exit tax if you later leave?

The entrance decision and the exit decision are linked by one statute. If a long-term resident later terminates lawful permanent residence, the section 877A expatriation rules can apply. The IRS writes the covered-expatriate test as three alternative conditions on the expatriation date: "Your average annual net income tax for the 5 years ending before the date of expatriation or termination of residency is more than $206,000 if you expatriated or terminated residency in 2025. Your net worth is $2 million or more on the date of your expatriation or termination of residency. You fail to certify on Form 8854 that you have complied with all U.S. federal tax obligations for the 5 years preceding the date of your expatriation or termination of residency."[9]

Covered-expatriate status activates a mark-to-market calculation. In the IRS wording, "In the year you expatriate, you are subject to income tax on the net unrealized gain (or loss) in your property as if the property had been sold for its fair market value on the day before your expatriation date" (a treatment the agency itself labels the mark-to-market tax).[10] The exit calculation measures gain against the US basis, which is why the pre-immigration basis conversation and the post-residency reporting conversation are both really about one future number. New arrivals who have any realistic chance of leaving later should treat the exit test as part of the entry plan, not as a problem for a future year.

A small toy airplane held over a world map with coins, a camera, and a passport nearby
The exit calculation measures gain against the US basis, which is why entry and exit are planned together.

What decision does this really come down to?

Pre-immigration planning is one decision taken many times: for each item of value, do you want it on the foreign tax side of the line or the US side? Realized gains, closed trusts, settled compensation and dissolved foreign structures sit on the foreign side with their original tax treatment. Everything else moves across and lives under US rules from the residency starting date forward. The reader who understands that trade knows why the professional conversation starts well before any plane ticket is booked, not after.

What you need to bring to that conversation is honest: the full asset list including private company interests, the holding structure that owns each piece, every foreign trust or settlor arrangement in the family, deferred compensation and pensions in each country, prior gift or inheritance tax paid at home, and a realistic residency timetable (first day of expected US presence, visa path, expected first filing year). That inventory is what our advisory solutions builds the plan around, and the ITIN that most new residents need in order to file is handled inside ITIN application help.

Frequently asked questions

Does the residency starting date decide when US tax on worldwide income starts?

Yes. Under the substantial presence test the residency starting date is, as a general rule, the first day of US presence during the year the test is met, and under the green card test (when the presence test is not also met) the starting date is the first day of the year the person is in the country as a lawful permanent resident. From that day on, worldwide income is taxed like a US citizen's.

What is a tax step-up basis in a pre-immigration context?

There is no explicit US statute that gives a new resident a step-up on arrival. In practice, the step-up is achieved by resolving a built-in gain under the foreign tax system before residency begins. A sale of the asset at or near market value while still a nonresident sets a new cost basis the US will later recognize on a resale. That is why the planning window is defined by the residency starting date, not by the move.

How does the Substantial Presence Test actually count days?

The test looks at three calendar years. It counts all days of US presence in the current year, 1/3 of days in the first preceding year, and 1/6 of days in the second preceding year, and it is met when the current year alone is at least 31 days and the three-year weighted total is at least 183 days. Several categories of day (regular commuters from Canada or Mexico, in-transit days, days as an exempt individual, and others) are excluded from the count.

Can the Closer Connection Exception keep me out of residency even if I pass the day count?

Only inside the stated conditions. The person must be present in the United States for less than 183 days during the year, keep the tax home in a foreign country for the year, and show a closer connection to that country than to the United States. The claim is made on Form 8840, which the IRS requires to be attached to the income tax return. Pending immigration intent (an adjustment-of-status application) closes the exception.

When does the First-Year Choice help, and when is it a trap?

The First-Year Choice treats a person as a US resident for part of the year of arrival when the person does not meet either residency test that year or the preceding year, but does meet the substantial presence test the following year. The two conditions are at least 31 days in a row of US presence and at least 75% of the days from that 31-day period through year-end, with up to 5 days of absence treated as presence. It is useful when US deductions or a joint return with a US-citizen spouse outweigh the tax on partial-year foreign income, and it is a trap when it accelerates worldwide taxation on income the US would otherwise never see.

What is section 877A, and why does an incoming resident care about it?

Section 877A is the exit tax that applies when a long-term resident later terminates lawful permanent residence or a US citizen renounces citizenship. The IRS treats a person as a covered expatriate when net worth is 2 million dollars or more, when average annual net income tax for the 5 years before expatriation is more than 206,000 dollars (for a 2025 expatriation), or when 5 years of federal tax compliance cannot be certified. The result is a mark-to-market tax on the net unrealized gain in the property. New residents care about this on day one because the US basis of each asset is what the exit calculation will later use.

Are foreign mutual funds and foreign pensions treated the same way after residency starts?

No, and this is one of the most common surprises. A foreign mutual fund typically becomes a passive foreign investment company inside a US return, with its own distribution and election math that often erodes the tax benefit the fund produced at home. A foreign pension plan does not automatically receive the tax-favored treatment a US qualified plan receives, unless a specific treaty provision covers it. Both of these move onto the US return the moment worldwide taxation begins, which is why the pre-residency inventory lists them explicitly.

Sources

  1. Publication 519, U.S. Tax Guide for Aliens: resident alien worldwide income · Internal Revenue Service
  2. Publication 519, U.S. Tax Guide for Aliens: Green Card Test · Internal Revenue Service
  3. Publication 519, U.S. Tax Guide for Aliens: Substantial Presence Test · Internal Revenue Service
  4. Publication 519, U.S. Tax Guide for Aliens: Residency starting date under the substantial presence test · Internal Revenue Service
  5. Publication 519, U.S. Tax Guide for Aliens: Residency starting date under the green card test · Internal Revenue Service
  6. Publication 519, U.S. Tax Guide for Aliens: Closer Connection to a Foreign Country · Internal Revenue Service
  7. Publication 519, U.S. Tax Guide for Aliens: Form 8840 closer connection claim · Internal Revenue Service
  8. Publication 519, U.S. Tax Guide for Aliens: First-Year Choice · Internal Revenue Service
  9. Publication 519, U.S. Tax Guide for Aliens: Covered expatriate conditions under section 877A · Internal Revenue Service
  10. Publication 519, U.S. Tax Guide for Aliens: Mark-to-market tax under section 877A · Internal Revenue Service
International Tax

Form 3520: Foreign Trusts, Foreign Gifts, and the $10,000 Section 6677 Penalty

Form 3520 reports transfers to a foreign trust, ownership of one, distributions received from one, and foreign gifts above $100,000. The Section 6677 penalty starts at the greater of $10,000 or 35 percent, and Section 6039F adds 5 percent a month on unreported foreign gifts.

17 min read

About the author

Portrait of Joanny Ibarbia, Enrolled Agent

Joanny Ibarbia

Founder & Principal · Enrolled Agent (EA)

Joanny Ibarbia is an Enrolled Agent with unlimited rights to represent taxpayers before the IRS, and a Certifying Acceptance Agent for ITIN applications. He leads the bilingual tax and accounting practice at Top Pro Accounting.

  • EA
  • CAA
  • Harvard Certified
  • QuickBooks ProAdvisor

Image credits