Expat taxes

Bona fide residence test explained

What the IRS looks at when it decides whether you are a bona fide resident of another country, and how the test compares with the 330-day test.

Facts checked 11 November 2026 · 9 min read

The bona fide residence test is one of the two time tests for the US foreign earned income exclusion. The IRS says it is met by being a bona fide resident of a foreign country or countries for an uninterrupted period that includes an entire tax year, which for a calendar-year taxpayer is 1 January to 31 December. There is no day count: the IRS decides it on the facts, such as why you are there, what you do there and whether you pay tax there, and a tax home abroad is also required.

This guide sets out what the IRS says. It is general information, not tax advice: a US tax professional (a CPA or enrolled agent who works with Americans abroad) should confirm how the test applies to your own facts. Amounts are in US dollars.

At a glance

Item Rule Source
Period An uninterrupted period that includes an entire tax year IRS
Who can use it US citizens; resident aliens who are citizens or nationals of a US income tax treaty country IRS; Publication 54
How it is decided Facts and circumstances, largely from what is reported on Form 2555 IRS
Trips away Brief or temporary trips are allowed with a clear intent to return IRS
Not enough on its own Living abroad for one year IRS
Disqualifies Telling the foreign country you are not a resident, where it holds you not taxable as a resident IRS; Form 2555 instructions
Also needed A tax home in a foreign country on every qualifying day Form 2555 instructions; IRS
More time to file Form 2350, when the test will only be met after the return is due Publication 54

What is the bona fide residence test?

The Form 2555 instructions say the exclusion needs the tax home test plus either the bona fide residence test or the physical presence test. The IRS bona fide residence test page asks for bona fide residence in a foreign country or countries for an uninterrupted period that includes an entire tax year. For a calendar-year taxpayer, an entire tax year runs from 1 January to 31 December.

Publication 54 says US citizens may qualify under either test. Resident aliens can use the bona fide residence test only if they are citizens or nationals of a country with which the US has an income tax treaty in effect.

How does the IRS decide who is a bona fide resident?

On the facts. The IRS says the question is decided by the facts of your situation, which may include:

  • your intention or purpose for being in the foreign country;
  • your activities in the foreign country; and
  • whether you paid taxes to the foreign country, among other things.

The IRS decides largely from the facts reported on Form 2555, so the answers on the form matter; our Form 2555 guide covers the form. Time alone does not settle it: the IRS says you do not "automatically acquire bona fide resident status merely by living in a foreign country or countries for one year." In its example, someone who goes to a foreign country to work for a specified period of time ordinarily is not a bona fide resident there, even after working there for a tax year or longer.

Can you travel and still be a bona fide resident?

Yes, within limits. The IRS says a bona fide resident may leave the foreign country for brief or temporary trips back to the US or elsewhere, so long as they clearly intend to return to the foreign residence, or to a new foreign bona fide residence, without unreasonable delay.

That is the main practical difference from the physical presence test, where any day that is not a full day in a foreign country is lost from the 330. Under the bona fide residence test the question is whether the residence continues, not how many days were spent in it.

What if you tell the foreign country you are not a resident?

If the authorities accept it, you are not a bona fide resident of that country. The IRS rule has two parts:

  1. You are not considered a bona fide resident of a foreign country if you make a statement to its authorities that you are not a resident, and the authorities hold that you are not subject to their income tax laws as a resident.
  2. If you have made such a statement and the authorities have not made a final decision on your status, you are not considered a bona fide resident either.

Form 2555 asks about this directly. The Form 2555 instructions cover lines 13a and 13b, which apply if you submitted a statement of nonresidence to the authorities of a foreign country in which you earned income.

When does bona fide residence start and end?

Once the test is met, the IRS says bona fide residence runs from the date the residency began to the date the foreign residence is abandoned. So the first year abroad can count in part, even though it is not an entire tax year, once a later entire tax year completes the test.

When the qualifying period covers only part of a tax year, the IRS says the maximum exclusion is adjusted by the number of qualifying days in that year. The IRS page on figuring the exclusion counts a day as qualifying only when the tax home is in a foreign country and the person is a bona fide resident (or meets the physical presence test) on that day. On Form 2555 the maximum (USD 132,900 for 2026; USD 130,000 for 2025) is multiplied by the qualifying days in the tax year and divided by the days in the tax year, with the fraction rounded to at least three decimal places.

A part-year example

This is an illustration of the arithmetic, not a ruling on anyone's case. The dates are invented, and it assumes the tax home is in Panama from the day of the move, so every day of residence is also a qualifying day.

A US citizen moves to Panama on 1 September 2026, sets up their life there and stays through 2027 with only short trips away. The entire tax year in the test is 2027, so the test can only be met at the end of 31 December 2027.

Step Figure Rule applied
Qualifying days in 2026 122 (1 September to 31 December) Residence counts from the date it began
Fraction of the year 0.334 122 divided by 365, three decimal places
Maximum exclusion for 2026 About USD 44,390 0.334 times USD 132,900
Earliest the test is met 31 December 2027 Uninterrupted period including an entire tax year
Form 2350 extension, generally to 30 January 2028 30 days beyond the expected date

More decimal places move the maximum by a few dozen dollars. The 2026 return is due long before the end of 2027, which is the situation Form 2350 is for.

What is Form 2350 for?

It asks for more time to file when a test will be met only after the return is due. Publication 54 lists three conditions:

  1. The person is a US citizen or resident alien.
  2. They expect to meet the bona fide residence test or the physical presence test, but not until after the return is due.
  3. Their tax home is in a foreign country throughout the period of bona fide residence.

A granted extension generally runs to 30 days beyond the date the person can reasonably expect to meet the test. Form 2350 has to be filed by the due date of the return.

Do you also need a tax home abroad?

Yes, on every qualifying day. The Form 2555 instructions define the tax home as the regular or principal place of business, employment or post of duty, regardless of where the family lives; for someone self-employed, that points to the regular or principal place of business. The IRS tax home page adds that there is no foreign tax home for any period when the abode, where family, economic and personal ties are kept, is in the US, with a narrow combat zone exception.

Residence and tax home are two separate tests, and both have to hold on a day for it to qualify. The foreign earned income exclusion guide covers the tax home in full, with the IRS example of a rotation worker.

Bona fide residence or physical presence?

Both tests lead to the same exclusion and both need a tax home abroad. Form 2350 can give more time to file under either.

Point Physical presence test Bona fide residence test
What is tested 330 full days in a foreign country in any 12 consecutive months Residence for an uninterrupted period including an entire tax year
Open to US citizens and all resident aliens US citizens; treaty-country resident aliens
How decided A count of full days, midnight to midnight Facts: intention, activities, foreign tax, among others
Days away Lost from the 330; a shortfall is not excused Brief or temporary trips allowed
Form 2555 Line 16: the 12-month period Lines 13a and 13b: statement of nonresidence
Tax home abroad Required Required

The IRS war and civil unrest waiver covers the minimum time for both tests, only for countries on its yearly list; the physical presence test guide has the list for 2025.

How does Panama treat tax residence?

Panama's rule is separate from the US test. Under article 762-N of the Código Fiscal (Panama's tax code), a person is a Panama tax resident if they stay in Panama for more than 183 days, consecutive or not, in a fiscal year or the year before, or if they have established a vivienda permanente (permanent home) there. For its tax residence certificate, the DGI (Panama's tax authority) checks the days first and the permanent home only if the days fall short.

Having a home available in Panama, owned or rented, does not by itself make someone a tax resident, according to the DGI. Panama's tax residency sheet, published by the OECD, says a migration or investment residence permit does not automatically confer tax residency. Our Panama tax guide covers what Panama taxes.

Can a day counter decide the bona fide residence test?

No. It is not a day count. Our free tax residency day counter counts days under the physical presence test and Panama's more-than-183-days rule from a list of stays, which helps when comparing the two US tests. It does not weigh intention, activities or taxes paid, and it is not tax advice.

What this guide does not cover

Your own tax position. This guide explains the published rules. It does not decide whether your facts make you a bona fide resident, and it does not cover the housing exclusion, the foreign tax credit, state taxes or how the exclusion is elected; see our foreign earned income exclusion guide for the exclusion itself. A US tax professional should confirm your position.

Getting help with your move

Borderless Minds guides entrepreneurs through the move abroad and Panama residency; the residency application is filed by a Panamanian immigration lawyer we work with. We do not give tax advice or prepare returns: the bona fide residence question and Form 2555 go to a US tax professional. Read about Panama residency or ask us to review your move.

Sources

Facts checked 11 November 2026.

Your First Base Abroad cover

Free guide

Your First Base Abroad

A base abroad comes down to a few decisions, made in order: where you can legally live, how tax follows you when you go, and which records prove both. Every rule links its official source, and each step points to a free tool for your own numbers.

Free. Instant download, plus occasional relevant updates by email. Unsubscribe in one click.