Atualizado
Puerto Rico Is Not a Foreign Country, and Why That Changes the Rules You Are Reading
The IRS does not treat Puerto Rico as a foreign country for the foreign earned income exclusion. Bona fide residency has its own three tests under section 937. Here is what that changes about the rules you are reading.

Does the foreign earned income exclusion apply to Puerto Rico?
No. The IRS defines a foreign country as a territory under the sovereignty of a government other than the United States, and it says the term does not include U.S. territories such as Puerto Rico. The exclusion also requires a tax home in a foreign country, so a tax home in Puerto Rico does not meet that requirement.
One definition changes how you read a lot of material. Many guides about "living abroad" and "day counts" are written for the foreign earned income exclusion. Carry their tests over to Puerto Rico and you are applying the wrong framework. This article explains which rules govern Puerto Rico instead, where the word "foreign" still appears inside them, and why the difference matters for the records you keep. It is general education about which rules apply. It is not a computation for your year.
What does "foreign country" mean in the exclusion rules?
A foreign country, for the foreign earned income exclusion, is a territory under another government's sovereignty. That includes its airspace and territorial waters. The IRS page lists what falls outside the definition: Puerto Rico, Guam, the Commonwealth of the Northern Mariana Islands, the U.S. Virgin Islands, and American Samoa. International waters and airspace are not a foreign country either.
The tax home rule is where this bites. The IRS requires your tax home to be in a foreign country throughout your period of bona fide residence or physical presence abroad. The same page defines tax home as your regular or main place of business, employment, or post of duty, not necessarily where your family lives. It also says you generally do not have a foreign tax home for any period when your abode is in the United States.
The exclusion has two tests of its own, a bona fide residence test and a physical presence test. Both ask whether you live in or are present in a foreign country. The IRS page describes them only briefly and points to its separate exclusion page for the details, so this article does not restate their day counts. The point here is narrower: they are measured against a foreign country, and Puerto Rico is not one.
What rules govern Puerto Rico instead?
Section 937 of the Internal Revenue Code and IRS Publication 570 govern Puerto Rico. A bona fide resident of Puerto Rico is a person who meets three tests, and Publication 570 states them: the presence test, the tax home test, and the closer connection test. You must satisfy all three for the tax year.
The statute says the same thing in its own words. Section 937(a) defines a bona fide resident of a specified possession as a person who is present for at least 183 days in the taxable year, has no tax home outside that possession, and has no closer connection to the United States or a foreign country than to that possession. Puerto Rico is one of the five places the section names. Another guide covers why Section 937 covers five places, not just Puerto Rico.
How many ways are there to meet the presence test?
The presence test is the test of how much time you spend in the territory. For a U.S. citizen or resident alien, Publication 570 gives five ways to meet it. You need only one:
- You were present in the territory for at least 183 days during the tax year.
- You were present for at least 549 days over a three-year period, and at least 60 days in the territory in each of those years.
- You were present in the United States for no more than 90 days during the tax year.
- You had U.S. earned income of no more than $3,000 and were present in the territory for more days than in the United States.
- You had no significant connection to the United States during the tax year.
The 183-day figure is the headline, and the 183-day rule for Puerto Rico page covers it in detail. Passing the presence test does not finish the job. The tax home and closer connection tests still apply, and the page on the presence test, tax home and closer connection walks through how the three fit together.
Does "tax home" mean the same thing in both frameworks?
The definition does, and the location does not. Publication 570 says your tax home for the Puerto Rico test is generally determined under the principles of section 911(d)(3): your regular or main place of business, employment, or post of duty. The foreign earned income exclusion draws on the same concept. What differs is the question asked of it. For the exclusion, the tax home has to be in a foreign country. For Puerto Rico, you must have no tax home outside Puerto Rico.
So two readers can use identical words and be answering opposite questions. A source that says "your tax home must be abroad" is describing the exclusion. A source that says "you cannot have a tax home outside the territory" is describing section 937. Check which one you are reading before you use the sentence.
Where does the word "foreign" still matter inside the Puerto Rico tests?
It matters in the closer connection test. You meet that test if you have no closer connection to the United States or to a foreign country than to the territory. Publication 570 lists the factors: the location of your permanent home, family, belongings, banking, driver's license, voter registration, and the country you list on forms such as Form W-9.
The same publication adds that territories are generally not treated as foreign countries. A closer connection to a different territory therefore does not count as a closer connection to a foreign country. Readers often miss this half of the test. The guide on the half of the closer connection test people miss covers it in full.
Some questions in this area are unsettled. Published guidance does not address every combination of facts, and this article does not claim it does. If your year turns on a point the publication does not speak to, get the answer in writing from a licensed tax professional before you file.
Which income do the Puerto Rico rules reach?
Source of income decides much of it, and source rules are separate from residency. Publication 570 says income is not territory source income if, under the Code's source rules, it is U.S. source or effectively connected with a U.S. trade or business. Compensation is generally sourced where the services are performed. Section 937(b) points the same direction: income treated as U.S. source is not treated as possession source.
Publication 570 also describes how the two returns fit together. Bona fide residents of Puerto Rico generally pay tax to Puerto Rico on their worldwide income. They file a U.S. return reporting worldwide income except Puerto Rico source income, and U.S. Government wages are the exception. Income from outside both Puerto Rico and the United States is foreign source under both systems, and a foreign tax credit is generally available. For the mechanics of the filing side, see which return a bona fide resident files.
Which of these rules reaches a particular dollar of your income is a question for your advisor. Residency is the first gate, and source is the second.
Why does the distinction change what you keep?
Because the Puerto Rico tests ask where you were and where your life was, while the exclusion's tests ask about a foreign country. A record built for one will not answer the other. For Puerto Rico, you need a record of the days you were in the territory, the days you were in the United States, and the facts behind your tax home and closer connection. Keeping that by hand is the part many people abandon partway through the year. One83 builds the day-by-day record from your calendar so it exists before anyone asks for it.
Whatever tool you use, check the heading of the page you are reading. Ask which place the rule governs, then confirm the answer against Publication 570 and section 937.
Frequently Asked Questions
Can time in Puerto Rico count toward the foreign earned income exclusion?
The IRS definition of a foreign country does not include U.S. territories such as Puerto Rico, and the exclusion needs a tax home in a foreign country. A tax home in Puerto Rico therefore does not meet that requirement. Whether another provision applies to your income is a question for your advisor.
Is the 183-day rule for Puerto Rico the same as a physical presence test for expatriates?
No. The 183 days in section 937 is one of several ways to meet the presence test, and presence is only one of three tests. The exclusion has its own tests, bona fide residence and physical presence, and both are measured in a foreign country.
Does Puerto Rico count as a foreign country for the closer connection test?
No. Publication 570 says territories are generally not treated as foreign countries, so a closer connection to another territory is not a closer connection to a foreign country.
Where do I look to see which rules apply to my situation?
Start with Publication 570 and section 937 for Puerto Rico, then bring your day record to a licensed tax professional. One83 tracks days. It does not tell you which rules apply to you.
One83 is a tracking tool, not tax advice. Consult a licensed tax professional about your situation.