All articles

Can You Use a 1031 Exchange to Buy Property in Nosara, Costa Rica?

US investors: can you 1031 exchange into Nosara, Costa Rica? The IRS rules, the foreign-to-foreign exchange that IS allowed, and alternative strategies.

June 19, 202612 min read

If you own investment real estate in the US and you're eyeing a property in Nosara, you've probably asked this question: can I use a 1031 exchange to defer my capital gains and roll into a Costa Rica purchase? It's one of the smartest tax questions a US investor can ask β€” and the answer is more nuanced than most people realize.

The short version: you cannot use a 1031 exchange to swap a US property for a Nosara property. But there are legal paths β€” including a foreign-to-foreign 1031 exchange β€” that many Nosara investors are using to defer taxes when they sell one Costa Rica property and buy another. Understanding exactly how this works can save you tens or hundreds of thousands of dollars.

πŸ“Š By the numbers: Costa Rica's capital gains tax is 15% on net profit for investment properties β€” on a $650,000 Nosara sale with $350,000 in gains, that's a $52,500 tax bill. A properly structured 1031 exchange can defer that entirely.

This guide walks through every scenario a US investor needs to understand before buying or selling Nosara real estate.


The Core Rule: US and Foreign Property Are Never "Like-Kind"

IRC Section 1031(h) is unambiguous: real property in the United States and real property outside the United States are not like-kind. This is a statutory prohibition β€” there are no workarounds, no planning strategies, and no exceptions.

What this means in plain English:

  • You cannot sell a rental property in Phoenix and roll the proceeds tax-free into a Nosara villa
  • You cannot sell a Nosara property and use a 1031 exchange to buy a replacement property in Florida
  • The rule applies in both directions β€” no US-to-foreign or foreign-to-US exchanges, period

This surprises many investors who assume that "like-kind" simply means real estate. For domestic exchanges, that's true β€” you can swap raw land for an apartment building. But once international property enters the picture, the like-kind analysis shifts entirely.

πŸ’‘ Key insight: No amount of structuring or creative legal planning can circumvent IRC Section 1031(h). If an advisor tells you they can do a US-to-Costa Rica exchange, walk away.


What IS Allowed: Foreign-to-Foreign 1031 Exchanges

Here is where it gets genuinely useful for Nosara investors: you can absolutely do a 1031 exchange involving two foreign properties.

The IRS treats all property located outside the US as "like-kind" with any other foreign property. This means:

Relinquished Property Replacement Property 1031 Eligible?
US rental property Nosara, Costa Rica villa ❌ No
Nosara villa Another Nosara property βœ… Yes
Nosara villa Panama City apartment βœ… Yes
Nosara villa Property in Nicaragua βœ… Yes
Costa Rica commercial space Nosara residential rental βœ… Yes

The critical rule is that both the relinquished (sold) property and the replacement (purchased) property must be located outside the United States. The countries don't need to match.

πŸ’‘ Key insight: If you've already bought a Nosara property, held it, and are now looking to upgrade or diversify into another international market, a 1031 exchange is absolutely on the table β€” and it's underused by US investors in Costa Rica.


How the Timeline Works (Same as Domestic 1031s)

A foreign 1031 exchange follows the same IRS timeline rules as a domestic exchange:

The 45-Day Identification Rule From the date you close on your relinquished (sold) foreign property, you have 45 calendar days to identify your replacement property in writing. You can identify up to three properties regardless of value, or more properties if they meet certain valuation rules.

The 180-Day Closing Rule You must close on your replacement property within 180 calendar days of selling your relinquished property β€” or the due date of your tax return for the year of sale, whichever comes first.

The Qualified Intermediary Requirement You must use a qualified intermediary (QI) β€” an independent third party β€” to hold your exchange proceeds between the sale and purchase. You cannot touch the funds. The QI facilitates the transfer when you close on the replacement property.

πŸ“Š Timeline at a glance:

  • Day 0: Close on your Nosara property sale
  • Day 1–45: Identify replacement property in writing to your QI
  • Day 1–180: Close on replacement property
  • After closing: Report the exchange on IRS Form 8824

Finding a QI with experience in foreign property exchanges β€” not just domestic ones β€” is critical. Not all QIs handle international transactions.


The Tax Picture When Selling Nosara Property (Without a 1031)

Understanding what you're deferring matters. Here's the full tax picture for a US citizen selling a Nosara investment property without a 1031 exchange:

Costa Rica Capital Gains Tax

Costa Rica charges 15% on net profit when you sell investment property. The taxable gain is your sale price minus your documented acquisition cost, capital improvements, and allowable expenses.

Exception: If you purchased before July 1, 2019 (when the capital gains reform took effect), you can elect to pay 2.25% on the gross sales price instead β€” this is often more favorable for properties with large unrealized gains.

Scenario Tax Rate Notes
Property bought after July 1, 2019 15% of net gain Standard rate
Property bought before July 1, 2019 2.25% of gross price Grandfathered election
Primary residence (verified) Exempt Hacienda requires utility bills to verify

US Federal Tax Obligations

As a US citizen or resident, you must also report the gain on your US return β€” regardless of where the property is located. US citizens are taxed on worldwide income.

  • Long-term capital gains rate (held more than one year): 15% or 20% depending on your income bracket
  • Net Investment Income Tax (NIIT): An additional 3.8% if your income exceeds $200,000 (single) or $250,000 (married)
  • Foreign tax credit: You can claim a credit for Costa Rica taxes paid, which reduces your US tax bill

Example math on a $400,000 gain:

Tax Rate Amount
Costa Rica CGT (15%) 15% $60,000
US federal CGT (20%) 20% $80,000
Less: Foreign tax credit –$60,000 ($60,000)
US NIIT 3.8% $15,200
Total tax owed ~$95,200

A successful 1031 exchange into another foreign property defers all of this β€” both the Costa Rica tax and the US federal tax β€” until you eventually sell the replacement property without exchanging.

πŸ’‘ Key insight: The combined Costa Rica and US tax burden on a large Nosara gain can easily exceed $100,000. A foreign-to-foreign 1031 exchange defers every dollar of it.


Currency Risk: The Hidden Complication

Foreign 1031 exchanges have one complication domestic exchanges don't: currency fluctuation can trigger additional taxable income.

If you sell your Nosara property for US dollars (as most Nosara transactions are denominated), this is less of an issue β€” the IRS treats USD-denominated foreign transactions more cleanly. But if any portion of the transaction involves colones, or if exchange rates shift materially between the sale and purchase dates, the IRS may treat the currency gain or loss as a separate taxable event that falls outside the 1031 exchange.

Work with a tax advisor who specializes in international real estate transactions β€” this is not a standard CPA issue.


Alternative Strategies When a 1031 Doesn't Apply

If you're coming from a US property sale and 1031 into Nosara isn't an option, here are strategies sophisticated investors are using:

Installment Sale

Instead of receiving the full proceeds at closing, structure the Nosara purchase as an installment sale. You only pay capital gains tax as you receive each installment payment β€” effectively spreading your US tax liability over several years. Works best when selling US property to a buyer who agrees to installment terms.

Opportunity Zone Investment (Reinvest US Gains Only)

If you've sold a US property and have capital gains, you can invest those gains into a Qualified Opportunity Zone fund within 180 days and defer US federal tax until 2026 (current rules). This doesn't help with the Nosara purchase directly, but it shelters US gains while you deploy capital elsewhere β€” including Costa Rica.

Self-Directed IRA Purchase

If you have retirement funds, a self-directed IRA can purchase Nosara real estate. All income and appreciation grow tax-deferred (traditional IRA) or tax-free (Roth IRA). See our complete guide to buying Nosara property with a self-directed IRA.

1031 Into Another US Property, Then Buy Nosara Cash

Some investors do a domestic 1031 exchange to defer gains from a US property sale into another US investment property, then use rental income or equity from that US property to fund a Nosara purchase separately. This preserves tax deferral domestically while still getting Nosara exposure.

πŸ’‘ Key insight: The lack of a direct US-to-Nosara 1031 path doesn't close the door on Nosara β€” it just means you need a more sophisticated strategy. Most investors buying at the $500K–$1M+ level are working with these alternatives.


When the Foreign-to-Foreign 1031 Makes the Most Sense

The foreign-to-foreign 1031 exchange is most valuable in these specific Nosara scenarios:

Upgrading within Nosara: You bought a modest house in Playa Pelada five years ago for $280,000. It's now worth $480,000. You want to sell and buy a larger property in Playa Guiones. A 1031 exchange lets you roll the entire $200,000 gain β€” tax-free for now β€” into the new property. See our Playa Guiones vs Playa Pelada comparison to understand the price gap.

Exiting Nosara for another market: You've held a Nosara rental for seven years, the market has appreciated, and you want to diversify into Panama, Colombia, or Portugal. A 1031 exchange from your Nosara property into a foreign replacement property defers all gains β€” even across countries.

Moving from one property type to another: Sold a Nosara lot you've been holding? Exchange into an income-producing Nosara villa instead. Foreign like-kind is extremely broad β€” land to residential, commercial to vacation rental, all qualify.

Estate planning exit: Some investors plan to hold their 1031-exchanged property until death. At death, heirs receive a stepped-up basis β€” effectively wiping out the deferred capital gain entirely. This is the ultimate tax outcome.


The Due Diligence Checklist Before Attempting a Foreign 1031

Before you proceed, make sure you've verified each of these:

  • Both properties are outside the US β€” confirm your replacement property location qualifies
  • Qualified intermediary is experienced with foreign transactions β€” ask specifically about their foreign exchange history
  • Your Nosara property is held as an investment β€” must be held for investment or business use, not primarily personal use
  • You've received a written opinion from a US international tax attorney β€” not just a CPA, and not just a Costa Rica attorney
  • Costa Rica title is clean β€” work with a Costa Rica notary-attorney on a proper title search before any exchange
  • You have documentation of your original acquisition cost and capital improvements β€” needed to calculate the correct gain
  • Understand the 45/180-day deadlines β€” there are no extensions except in declared federal disasters (which typically don't apply to foreign property)
  • Reviewed the currency risk with your tax advisor if any part of the transaction is not USD-denominated

Finding the Right Advisors for a Nosara 1031 Exchange

This is specialized territory. You need three professionals, not one:

1. A US international tax attorney or CPA with foreign 1031 experience Look specifically for advisors who have structured international 1031 exchanges. Many CPAs handle domestic exchanges but have never touched a foreign one. Organizations like the Federation of Exchange Accommodators (FEA) can refer qualified intermediaries with international experience.

2. A Costa Rica notary-attorney (Notario PΓΊblico) In Costa Rica, all real estate transfers must pass through a licensed notary-attorney. They handle title search, due diligence, and the deed transfer. A good Costa Rica lawyer also understands the local capital gains regime and can coordinate with your US advisor on the timing.

3. A Nosara-based real estate advisor who understands the local inventory The 45-day identification window is short. If you're mid-exchange and need to identify Nosara replacement properties fast, having someone who knows the current listings and off-market inventory is invaluable.

πŸ“Š Cost to structure a foreign 1031 exchange: Expect $3,000–$8,000 in QI fees, $5,000–$15,000 in US legal/tax advisory fees, and $2,000–$4,000 in Costa Rica legal fees. On a $400,000 deferred gain, that's money well spent.


Common Questions from Nosara 1031 Investors

"Can I live in the Nosara property I'm using in a 1031 exchange?" You can use it personally for limited periods, but it must primarily be an investment property. IRS safe harbor rules for vacation rentals used in exchanges require that the property is rented at fair market rates for at least 14 days per year, and personal use doesn't exceed 14 days or 10% of rental days. A property used exclusively as a second home does not qualify.

"What if the replacement property costs less than what I sold?" Any cash you receive (or debt reduction not replaced) is "boot" β€” it's taxable in the year of exchange. To fully defer all gains, your replacement property must be equal to or greater in value than your relinquished property.

"Does Costa Rica recognize the 1031 exchange?" No. Costa Rica's capital gains tax regime is separate from the US tax code. A 1031 exchange defers your US federal tax obligations β€” you still owe Costa Rica's 15% CGT on the gain at time of sale in Costa Rica unless another local exemption applies. Your US advisor and Costa Rica attorney need to coordinate on both.

"I'm a Canadian β€” does any equivalent exist?" Canada has a similar provision called a Section 44 replacement property election under the Canadian Income Tax Act. It applies to eligible capital property and some business property but has different rules than the US 1031. Canadian investors should consult a cross-border tax specialist familiar with Costa Rica.


The Bottom Line for Nosara Investors

A 1031 exchange from a US property into Nosara is not legal β€” full stop. But if you're already in the Costa Rica market and looking to sell one Nosara property to buy another, a foreign-to-foreign 1031 exchange is a completely legal, powerful tool that most investors leave on the table.

The Nosara market has delivered 8–12% annual appreciation and gross rental yields of 7–11% for well-positioned properties. When those gains compound over a decade, the tax deferral available through a properly structured foreign 1031 can represent a six-figure advantage.

The math rewards the investors who plan ahead β€” before they sell, not after.

Ready to explore Nosara investment properties? Browse current listings or read our complete buyer's guide to understand the full acquisition process.


This article is for informational purposes only and does not constitute tax or legal advice. IRS rules and Costa Rican tax law are subject to change. Consult a qualified US international tax attorney and a licensed Costa Rica notary-attorney before structuring any exchange.

Ready to explore Nosara properties?

Browse listings from every agency or download our free buyer's guide to understand the buying process.