← The JournalMarket Insights

Costa Rica Capital Gains Tax on Real Estate | The 15% Rule, the 2.25% Election, and What Sellers Owe in 2026

Costa Rica Capital Gains Tax: 15% vs. 2.25% (2026 Guide)
On this page

You bought in Guanacaste years ago. The property has appreciated, a buyer is ready, and one question now decides how much of that gain you keep: what does Costa Rica charge when you sell?

The short answer: the Costa Rica capital gains tax on real estate is 15% of your net gain. But that number alone can cost you money, because two other rules may apply instead. Owners who bought before July 2019 can elect a one-time 2.25% tax on the sale price, and non-resident sellers have 2.5% of the price withheld at closing. By the end of this guide, you will know which rule fits your sale, how to run the math in two minutes, and what to have ready before escritura.

Last reviewed: October 2026. Tax rules change. Confirm your sale with a Costa Rican attorney and your home-country tax advisor before closing.

What Are the Three Capital Gains Rules for Selling Property in Costa Rica?

Costa Rica began taxing real estate capital gains on July 1, 2019, when Law 9635 (the fiscal reform) added a capital gains chapter to the Income Tax Law. El Financiero's tax column traces that start date to Executive Decree 41818-H. PwC's Costa Rica tax summary confirms the general rate is 15%, with an optional 2.25% rate under specific conditions for the first sale of an asset.

The three rules every seller should know:

  1. The 15% rule (default). You pay 15% of the net gain: sale price minus purchase cost and documented improvements.
  2. The 2.25% election (pre-July 2019 purchases only). You pay 2.25% of the gross sale price instead. Siempre al Día's guide to the capital gains rules notes the election is one-time and irrevocable for that asset.
  3. The 2.5% non-resident withholding. If you are not tax-domiciled in Costa Rica, the buyer withholds 2.5% of the total sale price.

How Is the 15% Gain Calculated?

Your taxable gain is the sale price minus your adjusted acquisition cost. Per Siempre al Día, that cost is what you paid plus documented improvements, minus any tax depreciation claimed if the home was used as a rental.

The key word is documented. A pool, casita, or solar system lowers your taxable gain only if you have invoices and permits to prove it.

There is also an inflation adjustment many sellers miss. KPMG's analysis in El Observador notes that your acquisition value can be updated using consumer price index changes published by INEC, Costa Rica's national statistics institute. A higher adjusted cost means a smaller taxable gain.

Resident sellers self-report. Payment is due within 15 calendar days after the month of sale, so a March closing is due by April 15. Filings historically used form D-162, the capital gains and losses return. The Ministry of Finance moved tax filings to its TRIBU-CR platform in October 2025, as RegFollower's summary of Resolution MH-DGT-RES-0051-2025 notes, so confirm the current form with your accountant.

Who Qualifies for the 2.25% Election, and Is It Worth It?

Only owners who acquired the property before July 1, 2019 qualify. For them, it is the single biggest decision in the sale, because it replaces a tax on your profit with a tax on your price.

Pros of the 2.25% election

  • Big savings on large gains. Homes bought in 2015 to 2018 that appreciated sharply often owe far less.
  • No cost basis fight. You do not need to prove your purchase price or improvements, which helps owners with thin records.
  • Predictable math. You know your exact tax the moment you accept an offer.

Cons of the 2.25% election

  • You pay even with no profit. Sell at a loss or break even and 2.25% of the price is still owed. The 15% rule would charge nothing.
  • It is one-time and irrevocable. You cannot switch back for that asset.
  • Post-reform purchases are excluded. Anything bought after June 2019 stays on the 15% rule.

The Break-Even Rule of Thumb

If your gain is more than 15% of your sale price, the 2.25% election usually wins. Below that, the standard 15% rule usually wins. At exactly that point, both produce the same tax.

Put in appreciation terms: if your home is now worth roughly 18% or more above your total cost (purchase plus improvements), run the 2.25% numbers seriously. Measure the gain after any inflation adjustment, since indexing shrinks it and can tip the decision back toward the 15% rule.

How Does Costa Rica Property Appreciation Change Your Tax Bill?

Appreciation is what turns this from a footnote into a five-figure decision. Global Property Guide's August 2026 Costa Rica market analysis cites median list prices for Guanacaste and the Nicoya Peninsula above USD 1.4 million, up from USD 1.32 million in mid-2025. For national context, the same report shows San José house prices up 12.48% year over year as of June 2026, based on Encuentra24 listing data.

Two cautions. Those are listing figures, not closed sales, and past appreciation does not guarantee future gains. Still, an owner who bought in 2017 and has seen steady Costa Rica property appreciation since is often well past the 18% threshold above. For local price context, see our Guanacaste real estate market report.

Three Seller Scenarios (Illustrative)

These round-number examples show the math before any inflation adjustment. They are not real Black Coast transactions.

Scenario 1: The 2017 buyer with strong appreciation. Bought for $600,000, added a $50,000 documented pool, sells in 2026 for $1,000,000.

  • 15% rule: ($1,000,000 minus $650,000) × 15% = $52,500
  • 2.25% election: $1,000,000 × 2.25% = $22,500
  • The election saves $30,000. The gain is 35% of the price, well above the threshold.

Scenario 2: The 2018 buyer with a modest gain. Bought for $900,000, sells for $1,000,000.

  • 15% rule: $100,000 × 15% = $15,000
  • 2.25% election: $22,500
  • The standard rule saves $7,500. The gain is only 10% of the price.

Scenario 3: The non-resident seller. A Canadian owner who lives most of the year in Toronto bought in 2021 for $800,000 and sells for $1,000,000. The buyer withholds 2.5%, or $25,000. Under the standard rule, 15% of the $200,000 gain would be $30,000.

[REAL SELLER STORY: replace this line before publishing with one anonymized sale the team handled. Include the year purchased, the rough gain as a percentage, which rule applied, and the tax saved or owed. Do not include share pricing.]

Are You a Resident or Non-Resident Seller?

For individuals, tax domicile generally turns on spending more than 183 days a year in Costa Rica, as CostaRicaLaw.com explains. If you split the year between Guanacaste and a home abroad, count your days carefully, because falling on either side of that line changes how your sale is taxed.

For non-residents, PwC notes the buyer withholds the 2.5% when the buyer is a local taxpayer. The October 2025 resolution summarized below treats that withholding as the seller's final tax; earlier commentary from BDO described it as an advance payment, so have your attorney confirm how it applies to your sale. A useful comparison: 2.5% of the price beats 15% of the gain when your gain is above about 16.7% of the sale price.

The October 2025 Withholding Reversal

You may have heard about a 2% withholding on resident sellers. That rule came and went. Resolution MH-DGT-RES-0039-2025 introduced it for October 6, 2025. That same day, Resolution MH-DGT-RES-0051-2025 repealed it, citing implementation challenges, while keeping the 2.5% final withholding for non-residents. Buyers now file that withholding through TRIBU-CR by the 15th of the following month.

Is a Primary Residence Exempt?

Yes. The gain on your habitual home is exempt. Per Siempre al Día, this can extend to a home held in a simple holding company if you clearly prove it was the owners' habitual residence, and mixed personal and rental use can reduce the exemption proportionally. A vacation home you visit a few months a year does not qualify.

What If You Sell a Corporation or a Fractional Interest?

Many foreign buyers hold property through an S.A. or S.R.L. corporation. Selling the shares instead of the property does not sidestep the tax. BDO reports that non-resident withholding also applies to rights such as shares in a Costa Rican corporation when the purchaser is a registered Costa Rican taxpayer.

Co-owners should ask the same question early. How your fractional interest is documented, whether directly on title or through an entity, shapes how a future sale is reported. Your attorney should map that out before you list.

Selling Property in Costa Rica: An 8-Step Tax Checklist

Start three to six months before you list.

  1. Pull your original escritura. It proves your acquisition date (which decides 2.25% eligibility) and recorded price.
  2. Gather every improvement invoice. Contracts, permits, and paid invoices for additions, pools, roofing, and solar.
  3. Confirm your tax domicile. Count your days in country and check your immigration records.
  4. Run all three calculations. 15% of gain, 2.25% of price if eligible, and 2.5% of price if non-resident.
  5. Check rental history. Gather depreciation records and assess any effect on the residence exemption.
  6. Budget for transfer costs. Capital gains is separate from transfer taxes and registration fees. Our Costa Rica closing costs guide breaks those down.
  7. Bring in your home-country advisor. U.S. sellers generally report the sale at home too, and the IRS Foreign Tax Credit (Form 1116) may offset qualifying Costa Rican tax paid.
  8. Lock down closing-day responsibilities. Before signing, agree in writing who calculates, withholds, and files the tax, and ask the notary handling the escritura to confirm it is documented. Resident sellers then file and pay by the 15th of the following month; for non-residents, the buyer files the withholding.

5 Costly Mistakes Sellers Make

  1. Electing 2.25% on a small gain. It feels simple but can cost thousands more.
  2. Losing improvement receipts. Undocumented upgrades add nothing to your cost basis.
  3. Calling a vacation home a primary residence. The exemption requires a true habitual home.
  4. Ignoring the U.S. or Canadian side. Costa Rican tax paid does not end home-country reporting.
  5. Planning at the signing table. An unmade election decision or missing records can delay closing.

Owning With the Exit in Mind

Clean title, organized records, and a clear structure make your eventual exit faster and cheaper. Ongoing costs matter too, which we cover in Costa Rica property taxes explained. To see how ownership and long-term exit planning work at Black Coast Estates, [book a private call with our team]([Calendly booking link]).

The Bottom Line

The Costa Rica capital gains tax on real estate is 15% of your net gain, but your real bill depends on when you bought, where you live, and how you used the home. Pre-2019 owners should run the 2.25% math, non-residents should expect 2.5% withheld at closing, and every seller should have a Costa Rican attorney confirm the numbers.

Frequently Asked Questions

What is the capital gains tax rate in Costa Rica for real estate?

The general rate is 15% of the net gain, meaning the sale price minus your purchase cost and documented improvements. Owners who acquired their property before July 1, 2019 may instead elect a one-time 2.25% tax on the gross sale price. Non-resident sellers have 2.5% of the sale price withheld by the buyer at closing.

Do foreigners pay capital gains tax when selling property in Costa Rica?

Yes. Foreign owners are taxed like anyone else; the difference is collection. If you are not tax-domiciled in Costa Rica (generally fewer than 183 days per year), the buyer withholds 2.5% of the total sale price and pays it to the tax authority. Resident sellers file and pay on their own.

Is my primary home exempt from capital gains tax in Costa Rica?

The sale of your habitual residence is exempt. It must genuinely be where you live, not a vacation property you visit seasonally. If you rented part of the home or used it for mixed purposes, the exemption may be reduced proportionally. Keep proof of residence such as utility bills and immigration records.

When is the 2.25% option better than paying 15%?

Generally, when your gain is larger than 15% of your sale price, which works out to roughly 18% appreciation over your total cost. At that point both methods produce the same tax; above it, 2.25% costs less. The election is available only for properties acquired before July 1, 2019, and cannot be reversed.

When is capital gains tax due after a sale in Costa Rica?

For resident sellers, payment is due within 15 calendar days after the month of sale, so a sale in March is due by April 15. For non-resident sellers, the buyer withholds 2.5% and files it through the TRIBU-CR platform by the 15th of the following month.

How is selling a co-ownership share or corporate interest taxed in Costa Rica?

Selling shares of a corporation that holds the property does not avoid capital gains tax. For non-resident sellers, the 2.5% withholding also applies to rights such as corporate shares when the buyer is a registered Costa Rican taxpayer. For a fractional interest, the tax treatment depends on how your ownership is documented, so confirm it with a Costa Rican attorney before listing.

Do I still owe U.S. taxes after paying Costa Rica capital gains tax?

U.S. citizens and residents generally must report foreign property sales on their U.S. return. The IRS Foreign Tax Credit, claimed on Form 1116, may allow you to offset qualifying Costa Rican income tax paid on the same gain. A U.S. tax professional familiar with foreign property should confirm your situation.

Keep Reading

Begin the Conversation

Share a few details and we will send current availability, floor plans, pricing, and the next steps toward your residence at Black Coast.

Your information is kept strictly confidential.