The short answer
Not between the mainland and abroad: section 1031(h) says real property located in the United States and real property located outside the United States are not property of a like kind. Foreign for foreign does work, because both sides of that trade sit outside the United States. Two Treasury regulations name section 1031 and pull the US Virgin Islands, Guam and the Northern Mariana Islands back inside for taxpayers who file in both places. Puerto Rico and American Samoa have no equivalent rule.
At a glance
| The statutory bar | §1031(h): US and non-US real property are not property of a like kind |
|---|---|
| "United States" | §7701(a)(9): only the States and the District of Columbia |
| US Virgin Islands | Treas. Reg. §1.932-1(g)(1)(ii)(E) allows the exchange despite §1031(h) |
| Guam and the NMI | Treas. Reg. §1.935-1(c)(1)(ii)(E) gives the same result for §935 possessions |
| Puerto Rico | No such regulation; PR real property is outside the United States for §1031 |
| Foreign for foreign | Spain for Portugal is like-kind; §1031(h) separates only US from non-US |
| Foreign seller of US property | 15% withheld under §1445 unless the IRS issues a certificate on Form 8288-B |
| Credit timing | §904(c): unused foreign tax credit back one year, forward ten |
Section 1031(h) is a single sentence, and it settles the mainland-to-abroad question
Congress added the rule in 1989 and has never softened it. The whole of subsection (h) reads: "Real property located in the United States and real property located outside the United States are not property of a like kind." There is no threshold, no election and no exception inside the statute.
So a Denver duplex cannot become a villa in Portugal, however carefully the paperwork is drawn. The intermediary, the day-45 list and the day-180 close are all beside the point once the replacement sits on foreign soil.
The bar runs both ways. Selling a Tuscan farmhouse and buying an Arizona strip center fails for the same reason, which surprises US citizens who assume the direction of travel matters.
The possessions are a separate question because "United States" means the States and DC
Section 7701(a)(9) defines the term for the whole Code: "The term 'United States' when used in a geographical sense includes only the States and the District of Columbia." Every US possession therefore starts on the wrong side of section 1031(h).
That is the default for Puerto Rico, Guam, the US Virgin Islands, the Northern Mariana Islands and American Samoa alike. Anything that puts a possession back inside has to come from outside section 1031 itself.
For three of those five, it does, and the authority is a worked example written into the coordination regulations rather than anything in the exchange rules.
Two regulations name section 1031 by number and restore the USVI, Guam and the Northern Marianas
Treas. Reg. §1.932-1(g)(1)(ii)(E) is explicit for the Virgin Islands: if an individual to whom section 932(a) applies "exchanges real property located in the United States for real property located in the Virgin Islands, notwithstanding the provisions of section 1031(h), such exchange may qualify as a like-kind exchange under section 1031."
Treas. Reg. §1.935-1(c)(1)(ii)(E) says the same for a "section 935 possession", which that regulation defines as Guam or the Northern Mariana Islands. Both rules are mirrored for residents of the possession, so a bona fide Virgin Islands resident can exchange into mainland property under §1.932-1(g)(2)(ii)(E).
The condition is who you are for the year. Section 932(a) reaches a US citizen or resident with Virgin Islands source income who must file with both jurisdictions, and §1.935-1(a)(2)(iii) reaches a US citizen or resident alien with income sourced in Guam or the Northern Marianas. The replacement property's own rent is usually what puts you inside those rules, so ask your attorney to read the regulation against your filing position before you identify.
- Inside for section 1031 with the right filing position: US Virgin Islands, Guam, Northern Mariana Islands.
- Outside, with no equivalent regulation: Puerto Rico, American Samoa.
Guam's rule only survives because the 1986 repeal never took effect there
Section 935 was repealed by the Tax Reform Act of 1986, but the repeal was conditioned on the possession signing an implementing agreement with the United States. Treas. Reg. §1.935-1(a)(3)(i) defines a section 935 possession as Guam or the Northern Mariana Islands "unless such possession has entered into an implementing agreement ... with the United States that is in effect for the entire taxable year."
Neither has entered one. That is why Treasury issued the current regulations in 2008 in the present tense, and why the like-kind example inside them is still live.
It also frames how much weight the position carries. The example exists because Treasury wrote one, not because section 1031 contains a possessions rule, so the analysis belongs with counsel who will sign the return.
Puerto Rico is outside the United States here, which closes one door and opens a narrow one
Nothing in the regulations under section 933 or section 931 carries the like-kind example that the Virgin Islands and Guam regulations carry. Puerto Rico and American Samoa are simply "outside the United States" in section 1031(h) terms.
A mainland rental therefore cannot be exchanged for a San Juan condominium. Run the same logic forward, though, and a rental in Mexico or Spain can be exchanged for one in Puerto Rico, because neither side of that trade is in the United States.
That is a narrow planning point rather than a workaround, and it turns on Puerto Rico's own income and transfer taxes, which local counsel has to price before you rely on it.
Foreign for foreign defers the US tax; the local tax usually still lands this year
Subsection (h) separates US from non-US real property and does nothing else, so a rental in Spain exchanged for a rental in Portugal is like-kind for US purposes. Identification by day 45, closing by day 180 and the qualified intermediary all apply exactly as they would in Ohio.
The country where the property sits almost never mirrors section 1031. You can owe capital gains tax there in the year of sale while the US gain is deferred, which leaves you holding a foreign tax credit with no US tax to set it against.
Section 904(c) lets an unused credit go back one year and forward ten, so the mismatch is often a timing cost rather than a permanent one. Model it with your CPA before you commit, because the answer changes country by country.
If you are the foreign seller of US property, FIRPTA runs on its own timetable
A buyer acquiring a US real property interest from a foreign person generally withholds 15% of the amount realized under section 1445 and remits it with Forms 8288 and 8288-A. Starting an exchange does not switch that off.
Treas. Reg. §1.1445-2(d)(2)(iv) takes away the usual shortcut. The notice of nonrecognition is not available "to non-simultaneous like-kind exchanges under section 1031 where the transferee cannot determine that the exchange has been completed and all the conditions for nonrecognition have been satisfied" by the time the withholding falls due.
The only relief is a withholding certificate applied for on Form 8288-B and actually received. Put it on the pre-closing checklist rather than the post-closing one; DSTs and 1031 exchanges for foreign investors covers the rest of the exposure.
Related questions
Can I exchange a California rental for a condominium in Puerto Rico?
No. Puerto Rico falls outside "the United States" as section 7701(a)(9) defines it, and no regulation extends the Virgin Islands or Guam treatment to it, so section 1031(h) applies.
I own a rental in Mexico and want one in Costa Rica. Does that work?
For US purposes, yes: both are outside the United States, so section 1031(h) does not separate them. Mexican and Costa Rican tax still apply on their own terms, and the foreign tax credit may not line up with the deferral.
Does the Virgin Islands rule work if I am the one living there?
Yes. Treas. Reg. §1.932-1(g)(2)(ii)(E) mirrors the example for an individual to whom section 932(c) applies, so a bona fide Virgin Islands resident may exchange into mainland real property.
Is American Samoa treated like Guam?
No. The regulations under section 931 contain no like-kind example, so American Samoa sits outside the United States for section 1031 in the same way Puerto Rico does.
If property abroad is off the table, what can my US sale buy?
Any US real property held for investment, including a fractional interest in a Delaware Statutory Trust if you want to stop managing buildings rather than trade one for another.
Sources
Checked against these publications on September 19, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.
- 26 U.S.C. §1031(h), special rules for foreign real property (with 2017 amendment notes)
- 26 U.S.C. §7701(a)(9), definition of "United States" in a geographical sense
- Treas. Reg. §1.932-1(g), extension of territory, including the section 1031 example at (g)(1)(ii)(E)
- Treas. Reg. §1.935-1(c), extension of territory for Guam and the Northern Mariana Islands
- 26 U.S.C. §932, coordination of United States and Virgin Islands income taxes
- Treas. Reg. §1.1445-2(d)(2), notice of nonrecognition and its limits for deferred exchanges
- IRS, FIRPTA withholding (rates and Forms 8288, 8288-A, 8288-B)
- 26 U.S.C. §904(c), carryback and carryover of excess foreign tax credit
- Asset Preservation, Guam and the US Virgin Islands
- Legal 1031, Can I use a 1031 exchange to acquire real estate outside the US?
