Costa Rica Direct: +506 8798 6122

Capital Gains Tax When Selling Costa Rica Property

Guanacaste coastline at sunset - capital gains tax costa rica property

Capital gains tax costa rica property sales became a real consideration in 2019, when Costa Rica introduced a formal capital gains tax for the first time. Before that, most property sales were simply exempt. Today, if you sell a property that was held as a personal or passive investment asset, you’ll generally owe a 15% tax on the net gain. But there are important exceptions, a choice of calculation method, and a meaningful difference depending on how the property was used. Most US and Canadian buyers I work with are surprised to learn the rules aren’t nearly as punishing as they feared, especially if you plan the sale correctly from the start.

Key takeaways

  • Costa Rica introduced capital gains tax in July 2019. The standard rate for passive investment property is 15% on the net gain.
  • Property used in a trade or business is treated differently and taxed as ordinary income, not as a capital gain.
  • Sellers can choose between paying 15% on the actual gain or a flat 2.25% on the total sale price, whichever is more favorable.
  • Running a property check early, with Folio’s $29 report, helps you confirm ownership, liens, and recorded cost basis before listing.

How Does Capital Gains Tax on Costa Rica Property Work?

Aerial coastal view with clouds - capital gains tax costa rica property
Aerial coastal view with clouds – capital gains tax costa rica property

The tax applies to what’s called the “ganancia de capital” (capital gain), which is simply the difference between what you paid for the property and what you sell it for. You subtract your documented purchase price, plus any allowable improvements you made, from the final sale price. That net figure is what gets taxed at 15%. The tax is filed and paid through Ministerio de Hacienda, Costa Rica’s tax authority.

Here’s where it gets practical. If you don’t have clean documentation of what you originally paid, the law gives you an alternative. You can elect to pay 2.25% of the gross sale price instead of 15% on the gain. For sellers who bought years ago at a low recorded value, or whose original purchase documents are incomplete, this flat-rate option is often the smarter financial choice.

What Property Is Exempt from Capital Gains Tax in Costa Rica?

Properties that were acquired before July 1, 2019, and that were never used for commercial purposes, may qualify for full exemption under transitional rules. The logic is that any gain accrued before the law existed shouldn’t be taxed. In practice, most long-held vacation homes and residential lots bought before that date are either fully exempt or owe very little tax once the pre-2019 appreciation is properly allocated.

There’s a second important exemption: your primary residence. If the property is your principal home, it is not subject to capital gains tax under Costa Rican law. This mirrors how many countries treat a homeowner’s main dwelling. The exemption applies to the physical home and the lot it sits on, not to additional lots or rental units on the same property.

Pro tip: Before you list, have your Costa Rican accountant calculate both scenarios: 15% on the net gain vs. 2.25% on gross proceeds. The “right” answer depends entirely on your documented cost basis. Don’t assume one method is always better.

Is There a Difference Between Investment Property and Business Property?

Manuel Antonio Beach aerial - capital gains tax costa rica property
Manuel Antonio Beach aerial – capital gains tax costa rica property

Yes, and this is the distinction that catches the most foreign sellers off guard. If your property was used in a business, meaning it was part of an active rental operation where you were registered as a commercial entity, paying VAT, and filing income tax returns on rental income, then the gain on sale is taxed as ordinary business income. That rate can be significantly higher than the 15% capital gains rate, depending on your income bracket.

Passive investors who held a vacation home, a lot, or a residential property without active commercial operations typically qualify for the 15% capital gains rate. The line between “active rental business” and “passive investment” isn’t always obvious, so you’ll want a local tax attorney to review your situation before you price or list the property.

Property TypeTax TreatmentRate
Passive investment (vacation home, lot, residential)Capital gains tax15% on net gain, or 2.25% on gross sale price
Primary residenceExempt0%
Commercial / active rental businessOrdinary business incomeVaries by income bracket
Pre-July 2019 acquisition (passive, no commercial use)Transitional exemption may apply0% on pre-2019 gain

How Do You Verify Your Property’s Cost Basis and Title Before Selling?

Your documented cost basis, meaning the recorded purchase price plus capital improvements, is the foundation of your tax calculation. If it’s understated at the Registro Nacional (Costa Rica’s national property registry), your taxable gain looks bigger than it really is. Before you do anything else, verify the property with Folio’s $29 report to confirm what’s on record: the registered owner, any liens or encumbrances, the finca number (property ID), and the recorded fiscal value.

This step also protects your buyer. A clean title check means no surprises at the notary table, no last-minute negotiation on price, and no delays at closing. We’ve seen deals fall apart days before signing because a seller didn’t check for an old mortgage lien that was never formally discharged. Don’t let that be you.

What Closing Costs Should Sellers Budget For Beyond Capital Gains Tax?

Capital gains tax is separate from the standard closing costs on a Costa Rica sale. As a seller, you’ll typically pay a transfer tax (called “impuesto de traspaso”), notary fees, and in some cases, agent commissions. Buyers cover the registration stamps and their share of notary costs. Use the closing cost calculator to get a realistic picture of your total net proceeds before you finalize a listing price.

One thing sellers consistently underestimate is the time it takes to discharge liens and pay outstanding municipal taxes (impuesto territorial) before the notary can process the transfer. Your local attorney handles this, but budget at least a few weeks, sometimes longer in rural areas where the municipal office processes slowly.

Do US Citizens Pay US Tax on Top of Costa Rica Capital Gains Tax?

If you’re a US citizen or green card holder, yes. You owe US tax on worldwide income, including gains from foreign property sales. The good news is that you may be able to claim a foreign tax credit for the Costa Rican capital gains tax you paid, which reduces your US tax liability dollar for dollar up to certain limits. This is not something to figure out on your own. A US-based CPA with international experience, paired with your Costa Rica tax attorney, is the right team for this.

Canadian sellers face similar obligations under Canadian tax law and should consult a cross-border tax professional before closing. Costa Rica does not have a comprehensive tax treaty with either the US or Canada, which is why professional advice is not optional here.

Common mistake we see: Sellers who held property in a Costa Rican corporation (sociedad anónima, or S.A.) sometimes think they can sell the shares of the company instead of the property itself to avoid the transfer tax. This approach has real risks: it shifts unknown liabilities to the buyer, often kills financing options, and may still trigger capital gains obligations. Talk to a local attorney before choosing this route.

Does the Tax Change If You’re Selling a Beachfront or Concession Property?

Beachfront properties in Costa Rica’s maritime zone are a special case. Under the Zona Marítimo Terrestre (Maritime Zone Law), the first 50 meters from the high-tide line are public land, and the next 150 meters are concession land, meaning you hold a concession permit, not a titled deed. Selling a concession is legally a transfer of the concession rights, not a property title transfer, and the tax treatment can differ.

Many beachfront concessions in areas like Guanacaste and the Osa Peninsula fall under special municipal rules. Some have been titled, some haven’t. Before buying or selling anything on or near the beach, the first step is always to confirm the property’s legal status through an official title and concession check. You can start that process at Folio’s property check tool and then have your attorney follow up with the relevant municipality.

Should Sellers Consider Owner Financing to Manage the Tax Timing?

Some sellers use owner financing, sometimes called “seller financing” or a “nota de pago,” to spread the sale proceeds over several years. In theory, this could allow you to recognize the gain incrementally rather than all at once. Whether that actually reduces your Costa Rica tax burden depends on how Hacienda treats installment sales, and your attorney needs to structure it correctly from the start.

If you’re thinking about offering owner financing to attract more buyers and potentially manage tax timing, run the numbers first with the owner financing calculator. It’ll show you what different interest rates and term lengths actually mean for your total return.

Frequently Asked Questions

When did Costa Rica start charging capital gains tax on property?

The capital gains tax law took effect on July 1, 2019. Properties sold after that date are subject to the tax on gains accrued from that date forward. Gains that built up before July 2019 may be exempt under transitional provisions, depending on how the property was used and documented.

What is the capital gains tax rate in Costa Rica?

The standard rate for passive investment property is 15% of the net capital gain. Sellers can alternatively elect to pay 2.25% of the gross sale price, which is useful when the documented cost basis is low or hard to prove. Properties used in an active business are taxed at ordinary income tax rates, which are higher.

Do I need a Costa Rican accountant or attorney to file the capital gains tax?

Yes. The tax return is filed in Costa Rica through Hacienda, and it requires proper documentation of the purchase price, improvements, and sale price. A local contador público (certified public accountant) or tax attorney handles this on your behalf, typically coordinating with the notary who processes the transfer.

Can I deduct renovation costs from my capital gain in Costa Rica?

Yes, documented capital improvements, meaning structural renovations, additions, and significant upgrades with receipts, can generally be added to your cost basis and subtracted from your taxable gain. Ongoing maintenance and repairs typically don’t qualify. Keep receipts and permits for any major work you do.

What happens if the property is owned by a Costa Rican corporation (S.A.)?

If the property is held inside a sociedad anónima (S.A.) and you sell the shares of that company rather than the underlying property, the transaction may avoid the real estate transfer tax, but it also shifts any unknown liabilities inside the company to the buyer. Most sophisticated buyers and lenders prefer a direct property transfer. Your attorney should model both options before you decide how to structure the sale.

Want a straight answer from a local team? Message Leo on WhatsApp at +506 8798 6122.

Browse current Costa Rica listings

These are properties we are working with right now. New ones get added often, so check back, or message us for off-market options that never hit the public site.


Written by Leo Glazer, Real Estate Grupo
On the ground in Costa Rica, helping US and Canadian buyers find and safely close the right property. Questions? Message Leo on WhatsApp at +506 8798 6122.

Join The Discussion