"A Puerto Rican or foreign tax" most likely refers to a line in U.S. tax rules that treats Puerto Rico as foreign for certain purposes — and the key distinction is that a tax paid to Puerto Rico is generally treated as a foreign tax for the U.S. foreign tax credit, even though Puerto Rico is a U.S. territory and its residents are U.S. citizens. If instead you are asking whether you owe tax to Puerto Rico versus to a foreign country, the answer depends on residency and source of income: Puerto Rico taxes its bona fide residents on most income, the United States taxes its citizens and residents on worldwide income (with a credit for Puerto Rican tax under the Internal Revenue Code), and a genuinely foreign country taxes under its own rules with a U.S. credit available for foreign income taxes paid.

The phrase matters because the IRS uses "foreign" in a technical, statutory sense that is broader than the everyday meaning. This article explains that technical usage, why Congress wrote the rules that way, how the bona fide residency rules for Puerto Rico work, and where someone with Puerto Rico ties plus actual foreign income can get confused.

Why Puerto Rico is "foreign" for the foreign tax credit

Puerto Rico is not a state. It is an unincorporated territory of the United States, and its residents are U.S. citizens by birth. For most federal purposes, though, Puerto Rico is treated as a separate taxing jurisdiction, not as part of the U.S. tax system in the way a state is. The Internal Revenue Code defines "foreign" for foreign tax credit purposes in a way that includes U.S. possessions, and Section 936-era rules and their successors repeatedly draw lines between Puerto Rico and the fifty states.

Under Internal Revenue Code §901 and the regulations thereunder, a tax paid to a U.S. possession such as Puerto Rico can be claimed as a foreign tax credit when the taxpayer is required to pay it, subject to the same substantiation and limitation rules as a tax paid to France or Japan. The rationale is straightforward: if the United States taxes a citizen or resident on worldwide income, and Puerto Rico also taxes that income, allowing a credit avoids double taxation the same way it does for a foreign country. Congress could have created a separate possession tax credit, and at times it has used special mechanisms (the old Section 936 possession tax credit for corporations is the famous example), but for individuals the general foreign tax credit framework is the vehicle.

The practical consequence: a U.S. citizen living in Puerto Rico who pays Puerto Rico income tax may generally claim a foreign tax credit on the U.S. return, and a Puerto Rico resident who pays Puerto Rico tax on Puerto Rico-source income may face limited or no additional U.S. tax on that income if the rules under §933 apply. That brings us to the bona fide residency rules, which are where most confusion arises.

The bona fide residency rule under Section 933

Section 933 of the Internal Revenue Code excludes from gross income, for U.S. federal income tax purposes, income from sources within Puerto Rico earned by a "bona fide resident" of Puerto Rico. In plain terms, if you qualify as a bona fide resident of Puerto Rico for the entire tax year, Puerto Rico-source income is generally not taxed again by the United States. This is the mechanism intended to prevent double taxation of the same income by two U.S.-linked jurisdictions.

Qualifying as a bona fide resident is not a matter of buying a house or spending a few months on the island. The IRS looks at the taxpayer's intention to make Puerto Rico a home, the presence of ties such as a permanent home, family, business, and community involvement, and the length and nature of stays. The rules are akin (but not identical) to the substantial presence and tax-home concepts used for foreign residency. Someone who claims Puerto Rico residency while maintaining a permanent U.S. home, family, and business in the states may face a challenge.

For a bona fide Puerto Rico resident, the interaction runs roughly like this:

Situation Puerto Rico tax U.S. federal tax
Bona fide resident, Puerto Rico-source income Puerto Rico taxes the income Generally excluded under §933; foreign tax credit may be relevant for other income
Bona fide resident, U.S.-source income Puerto Rico may tax under its rules Taxed by the U.S.; credit for Puerto Rico tax may or may not apply depending on source rules
Nonresident (part-year or non-bona fide) Puerto Rico taxes Puerto Rico-source income U.S. taxes worldwide income; credit for Puerto Rico tax generally available

The U.S.-source income row is where many people are surprised. Section 933 excludes Puerto Rico-source income; it does not exclude U.S.-source income earned by a Puerto Rico resident. A bona fide resident who earns wages from a mainland employer or receives mainland-source dividends may still owe U.S. tax on that income. Whether a credit for Puerto Rico tax offsets the U.S. tax on that income depends on source rules and on whether the Puerto Rico tax is an income tax within the meaning of §901 and the regulations.

What counts as a Puerto Rico tax versus a foreign tax

The phrase "a Puerto Rican or foreign tax" appears in tax discussions because a credit under §901 requires an "income tax" or a tax "in lieu of an income tax." Puerto Rico's income tax qualifies. Foreign-country taxes generally qualify only if they are income taxes in the U.S. sense — a gross receipts tax, a value-added tax, or a property tax typically does not. This is a common and expensive mistake: a business that pays a foreign turnover tax, or an individual who pays a foreign social security contribution, may assume everything is creditable, but the IRS scrutinizes whether the levy is truly an income tax.

Puerto Rico has its own internal revenue code, administered by the Puerto Rico Department of the Treasury (Hacienda). Individuals who are bona fide residents file a Puerto Rico return on their worldwide income (with certain exclusions and special rules), and nonresidents file on Puerto Rico-source income. The U.S. return and the Puerto Rico return are separate filings with separate rules, separate rates, and separate deadlines. There is no combined "50-state-plus-Puerto-Rico" federal return.

The U.S. credit for Puerto Rico tax, when available, is subject to the same limitation as any foreign tax credit: it cannot exceed the U.S. tax attributable to foreign-source (including possession-source) taxable income, and the taxpayer must substantiate the tax paid. A taxpayer who claims a credit for Puerto Rico tax while also excluding the same income under §933 would be double-counting; the exclusion and the credit are alternative ways of addressing the same potential double taxation, used in different situations.

What is a genuinely foreign tax?

A foreign tax, for these purposes, is a tax imposed by a foreign country or a U.S. possession other than Puerto Rico. The foreign tax credit applies to income taxes and taxes in lieu of income taxes paid to a foreign country. The most common practical situations:

U.S. citizen or resident working abroad. The U.S. taxes worldwide income; the foreign tax credit offsets foreign income taxes on the same income, and the foreign earned income exclusion under §911 is a separate, optional exclusion for qualifying individuals. Investment income from abroad. Withholding taxes on foreign dividends and interest are often creditable, subject to the limitation and to the rules for passive income. Foreign real estate or business income. Foreign income taxes on that income are creditable within the limitation.

Puerto Rico sits in an odd position in this taxonomy: it is a possession, and for the foreign tax credit it functions much like a foreign country, but it is not a foreign country for other purposes, such as immigration, citizenship, and many federal programs. That hybrid status is the source of the phrase's usefulness — it is a shorthand for "a tax that is not a state tax but is treated as foreign for credit purposes."

Where the confusion usually comes from

Several recurring misunderstandings deserve attention.

"Puerto Rico is part of the U.S., so I don't need to worry about foreign tax rules." This is the most common error. Puerto Rico is within the U.S. customs area and its residents are citizens, but its tax system is separate. A mainland resident who moves to Puerto Rico mid-year may find that Puerto Rico taxes part-year residency under its own rules, while the U.S. taxes the full year's worldwide income, with credits and exclusions to sort out.

"If I'm a bona fide resident, I owe no U.S. tax at all." Not quite. Section 933 excludes Puerto Rico-source income, not worldwide income. U.S.-source income, and certain other categories, may remain taxable. The credits and exclusions reduce double taxation; they do not eliminate the U.S. filing obligation.

"Puerto Rico tax is always a foreign tax credit." For a bona fide resident whose Puerto Rico-source income is excluded, claiming a credit on the same income is not appropriate. For a nonresident or for income not excluded, the credit may apply. The order of operations matters.

"A foreign tax credit and a foreign earned income exclusion are interchangeable." They are not. The exclusion under §911 applies to foreign earned income of qualifying individuals; the credit under §901 applies more broadly to foreign income taxes paid. Puerto Rico residents may use §933's exclusion for Puerto Rico-source income, which is a separate provision with its own rules.

"I can pick whichever country's rules give me the best result." Treaty and statutory rules, residency determinations, and source rules constrain the choice. Residency is a facts-and-circumstances determination, not an election in most cases.

Questions to ask before filing

If you are deciding how to report Puerto Rico or foreign taxes, the analysis usually turns on four questions:

1: Where were you a resident for the year, and for which part of the year? Bona fide residency in Puerto Rico, part-year residency, and nonresidency produce different results. 2: What is the source of each item of income? Puerto Rico-source, U.S.-source, and foreign-source income are treated differently. 3: What kind of tax did you pay? An income tax, a tax in lieu of income tax, or something else entirely. 4: Are you claiming an exclusion, a credit, or both? Section 933, §911, and §901 interact, and the same income should not be double-counted.

For most individuals with straightforward facts, the pattern is: a bona fide Puerto Rico resident excludes Puerto Rico-source income under §933 and claims a foreign tax credit for Puerto Rico taxes on income that is not excluded, while a nonresident claims a foreign tax credit for Puerto Rico tax on Puerto Rico-source income. A U.S. citizen abroad claims the §911 exclusion and/or the §901 credit against foreign taxes. A person with both Puerto Rico and foreign source income may need to allocate and limit credits separately.

The bottom line

"A Puerto Rican or foreign tax" is best read as a reference to the U.S. tax treatment of taxes paid to jurisdictions outside the fifty states — Puerto Rico and foreign countries alike — under the foreign tax credit rules. Puerto Rico is treated as foreign for credit purposes even though it is a U.S. territory, and the §933 exclusion for bona fide residents is the main mechanism that keeps Puerto Rico-source income from being taxed twice. The distinctions that matter are residency status, source of income, type of tax, and the choice between exclusion and credit. Because the consequences of getting these rules wrong can include double taxation, penalties, and interest, and because residency determinations are fact-specific, readers with substantial Puerto Rico or foreign income should confirm their position with a qualified tax professional before filing.

This article provides general educational information about U.S. federal tax rules and does not constitute tax advice or a legal opinion. Tax outcomes depend on your specific facts, residency, income sources, and the version of the law that applies to your tax year. Consult a licensed CPA, enrolled agent, or tax attorney for guidance on your own situation.