Capital Gains Tax in Costa Rica: The 2026 Definitive Investor’s Guide
Navigating the real estate market in Atenas, Grecia, and the Central Valley requires more than just finding the right property; it requires mastering the fiscal landscape. Under Law 9635, understanding your capital gains obligations is the difference between a high-yield investment and a costly legal mistake.
Quick Summary for Sellers:
- ✅ Standard Rate: 15% on net capital gains.
- ✅ Special Election: 2.25% on gross sale price (Pre-2019 properties).
- ✅ Primary Residence: 100% Tax-Exempt.
- ✅ Filing Deadline: 15 calendar days post-closing.
Legal Framework: Understanding Law 9635
The Income Tax Law (Ley N.º 7092), specifically Article 27 bis, establishes that any variation in the value of a taxpayer’s assets triggers a capital gain or loss event. In Costa Rica, this is managed through two distinct regimes depending on whether the asset is “active” (business-related) or “passive” (investment-related).
1. The 15% Standard Capital Gains Rate
For most residential sales, the tax is calculated on the net gain: the difference between the sales price and the original purchase price, plus documented improvements and legal expenses.
2. The 2.25% Transitory Clause (Pre-2019 Assets)
If you purchased your property before July 1st, 2019, you have the legal right to choose a one-time payment of 2.25% of the total transaction value. This is often the most beneficial route for long-term owners in high-growth areas like Atenas.
| Transaction Type | Tax Rate | Key Condition |
|---|---|---|
| Investment Property | 15% (Gain) | Calculated on Net Profit |
| Asset Owned Pre-2019 | 2.25% (Gross) | Applies to first sale only |
| Primary Home | 0% | Fully Exempt |
Strategic Tax Exemptions
According to Article 28 bis, not all real estate transfers are taxable. Leveraging these can save thousands in closing costs:
- Principal Residence: If the property is registered as your primary home, no capital gains tax is due.
- Donations & Inheritances: Transfers made through a will or as a direct gift are exempt from this specific tax.
- Corporate Reorganizations: Mergers that do not have sale as a primary objective may qualify for tax neutrality.
Frequently Asked Questions (FAQ)
How do non-residents pay capital gains?
Buyers are legally required to withhold 2.5% of the sales price as a tax retention when the seller is a non-resident. This ensures Hacienda receives its share upfront.
What form is used for the declaration?
The declaration must be filed electronically via the ATV Portal using Form D-162 (Capital Gains and Losses Tax Return).
Can improvements be deducted?
Yes, provided you have electronic invoices (factura electrónica) that comply with Costa Rican tax laws. Cash receipts or non-legal vouchers are not deductible.
Join The Discussion