Costa Rica Properties Co. logo

Costa Rica Properties Co. · Insights

Costa Rica Capital Gains Tax: What Foreign Property Buyers Need to Know

By Esteban de la Ossa

What foreign buyers need to understand before buying or selling property in Costa Rica

Costa Rica real estate investment and capital gains tax concept

For years, Costa Rica has attracted foreign buyers with a familiar narrative: natural beauty, political stability, and, in some cases, favorable tax treatment. For a broader context on relocation and investment decisions, see our moving to Costa Rica guide.

One claim in particular continues to circulate: that capital gains tax in Costa Rica is minimal, or even nonexistent, for foreign property buyers.

The reality is more precise and more important to understand before buying or selling real estate.

Buyers unfamiliar with Costa Rica transaction structures may also benefit from reviewing how our buyer representation framework approaches pricing analysis, ownership considerations, due diligence coordination, and acquisition risk evaluation.

The capital gains regime introduced by Law No. 9635 took effect on July 1, 2019. The general rate on taxable capital gains is 15%. However, the way tax is collected differs for certain sellers. When Costa Rican real estate is owned by a person or entity that is not domiciled in Costa Rica, the buyer is generally required to withhold 2.5% of the total agreed purchase price and remit it to the tax authority. The law describes this as a withholding on account of the capital gains tax; it should not be confused with a 2.5% tax on the seller’s net gain. The seller’s domicile and the transaction structure therefore matter, not simply the seller’s nationality.

Before You Assume Tax Outcomes

Capital gains exposure depends on how the property is structured, used, ultimately sold, and not just headline tax rates.

Tax treatment depends on the facts of the transaction and the owner’s circumstances. Buyers should consult a qualified tax professional before relying on assumptions about a property’s tax treatment.

Discuss Your Acquisition Strategy

For a more focused discussion, you can also provide additional context.

Where the confusion comes from

Costa Rican law exempts gains from the transfer of a taxpayer’s habitual residence. The law does not describe this as a simple property-registration status. The exemption is based on the property genuinely serving as the taxpayer’s habitual home. A similar exemption may apply when a property is held by a legal entity, provided it is demonstrably intended as the habitual residence of the company’s individual owners and the applicable requirements are met. A vacation property, seasonal residence, or rental investment should not be assumed to qualify. The facts and evidence of actual use are important.

Pre-2019 properties

A transitional rule applies to assets and rights acquired before the capital gains chapter took effect on July 1, 2019. On the first sale of each qualifying asset after that date, the taxpayer may elect to calculate the tax at 2.25% of the transfer price instead of applying the general 15% rate to the taxable gain. This is an election, not an automatic rate, and it is not necessarily the less expensive option. The result depends on the asset’s tax basis, the sale price, and the applicable calculation rules. The election should be evaluated before the transaction is completed.

Territorial taxation

Costa Rica operates under a territorial tax system, meaning it taxes income generated within its borders. Gains from the sale of real estate located in Costa Rica generally fall within the country’s tax jurisdiction. For certain collection and withholding rules, the seller’s tax domicile is relevant; nationality alone does not determine the treatment.

Even so, the system is often viewed as comparatively straightforward. The absence of multiple layers of taxation, combined with relatively low annual property taxes, contributes to its appeal among international buyers.

Cross-border tax considerations

Consider an investor who purchases a property for $500,000 and later sells it for $800,000, generating a $300,000 gain.

As a simplified illustration, if the full $300,000 difference were the taxable gain and the general 15% rate applied, the calculated tax would be $45,000. This is not a tax estimate for a particular transaction. The taxable gain may differ after applying the legally relevant acquisition value, qualifying costs and expenses, improvements, exemptions, or special transitional rules. A seller who is not domiciled in Costa Rica may also be subject to the 2.5% withholding on the gross transfer price described above; that withholding is a collection mechanism and should not be mistaken for the calculation of a 15% tax on the same gross amount.

For U.S. citizens and U.S. tax residents, the analysis does not end with Costa Rican tax. The United States generally taxes citizens and resident aliens on worldwide income, including qualifying gains from the sale of foreign real estate. A foreign tax credit may be available for qualifying Costa Rican income taxes, subject to U.S. rules, limitations, sourcing rules, and the taxpayer’s circumstances. The amount of any U.S. tax, and whether a credit is available, cannot be reliably estimated from the property’s gain alone. Buyers with U.S. tax obligations should obtain advice that considers both jurisdictions before deciding how to hold, use, or eventually sell the property.

The practical point is that a Costa Rican property transaction can create tax considerations in more than one country. The applicable rules depend on the seller’s tax domicile, ownership structure, use of the property, acquisition history, and the tax status of the owner. A simple comparison of headline rates can therefore be misleading.

What matters in practice

For buyers, the key is not the assumption of low taxes, but a clear understanding of how the system functions. Outcomes depend on how the property is used, how long it is held, the owner’s tax domicile, the acquisition date and basis, and how the transaction is structured.

Ownership structure can also affect tax exposure. For a broader view of how foreign buyers hold property, see can foreigners buy property in Costa Rica.

Before purchasing, buyers should preserve reliable records of the acquisition price, closing costs, qualifying improvements, ownership changes, and the intended use of the property. These records may be relevant to the calculation of a future taxable gain. If the property will be owned through a corporation or another legal arrangement, the tax consequences should be assessed for that structure rather than assumed to match individual ownership.

Important: This article provides general information only and is not legal, accounting, or tax advice. Tax rules and administrative procedures can change, and the result in an individual transaction depends on its facts. Buyers and sellers should consult qualified Costa Rican tax counsel or an accountant, and U.S. taxpayers should obtain advice from a qualified U.S. tax professional where relevant.

Final note

For those evaluating a move or investment, questions are often more valuable than assumptions. Tax treatment should be reviewed before acquisition, not only when a property is eventually sold. Understanding the ownership structure, intended use, supporting documentation, and potential exit scenarios can help avoid assumptions that become costly later. For a broader view of how properties are priced and evaluated, see our property valuation guide.

Before You Commit Capital

Tax questions should be addressed by a qualified tax professional. Buyer representation focuses separately on the property, pricing, transaction documentation, and acquisition process.

Discuss Your Acquisition Strategy

For a more focused discussion, you can also provide additional context.

CCCBR logo CCCBR Member
REALTOR® emblem REALTOR®
Accredited Buyer’s Representative emblem Accredited Buyer’s Representative (ABR®)

Related Articles

Understanding Capital Gains Before You Buy or Sell

Buyer representation can help organize the property search, pricing analysis, and acquisition process. Questions about tax treatment should be directed to qualified tax professionals.

Discuss Your Acquisition Strategy

For a more precise evaluation, you can also provide additional context.