Exit strategies: capital gains tax and the 2.5% withholding
Updated · 3 min read
Not yet reviewed by a Costa Rican attorney, a US cross-border CPA or a Canadian cross-border CPA. General information, not legal or tax advice.
Since July 1, 2019, gains on selling Costa Rican property are taxed at 15% of the gain (Law 9635). If you acquired the property before July 1, 2019, you can instead pay 2.25% of the sale price, once, on its first sale. Your habitual residence is exempt. If you aren't a Costa Rican tax resident, the buyer withholds 2.5% of the price and pays it to the tax office as a prepayment; you can file to claim back any excess. Plan this before you list, not at closing.
The taxes on a sale
| Item | Rate | What it's charged on | Source |
|---|---|---|---|
| Capital gains tax | 15% | The gain: sale price minus cost basis | AG Legal, 2026 |
| Transitional option (acquired before July 1, 2019) | 2.25% | The total sale price, once, on the first sale after that date. Elect it before closing | AG Legal, 2026; Tico Times, undated |
| Habitual residence | Exempt | Tico Times, undated | |
| Non-resident withholding | 2.5% | The gross price; the buyer withholds it (DGT resolution MH-DGT-RES-0051-2025, effective October 2025) | AG Legal, 2026 |
| Resident withholding | 2% from October 6, 2025, per one law-firm network's guide | The price | ILN Real Estate guide, undated. Confirm this point with your attorney. |
| Transfer tax | 1.5% | The higher of price and registered value; split by agreement | Law 6999 |
| Selling a company instead | Transfer tax now applies to indirect sales too, where the shares of a company that owns the land change hands | Rio Times, 2026 |
A worked example
You bought in 2022 for $500,000 and sell in 2027 for $650,000, as a non-resident, and it isn't your habitual residence:
| Line | Amount |
|---|---|
| Gain ($650,000 − $500,000, before allowable costs) | $150,000 |
| Capital gains tax at 15% | $22,500 |
| Withheld by the buyer at closing (2.5% of $650,000) | $16,250 |
| Still to pay when you file | about $6,250 |
Illustrative only. Allowable costs, documented improvements and your share of the transfer tax change the result. Ask your accountant.
Back home
- US: a gain on foreign property is reportable on your US return; a foreign tax credit may offset Costa Rican tax. See US taxes.
- Canada: see Canadian taxes.
How long a sale takes
Listed homes in Guanacaste and Nicoya took a median of about 355 days to sell in 2025 (Coldwell Banker CR, December 2025). Price and paperwork matter: a buyer's attorney will ask for the registry record, survey plan, water letter, permits and proof that taxes and owners' fees are paid.
Keep these from the day you buy
- Your closing statement and registered deed (your cost basis).
- Invoices for construction and improvements.
- Proof of property tax and owners' fees paid.
- Permits, the water letter and the final building inspection.
Questions people ask
What is the capital gains tax on property in Costa Rica?
15% of the gain since July 1, 2019 (Law 9635). Property acquired before that date can elect a one-time 2.25% of the sale price on its first sale, and a habitual residence is exempt (AG Legal, 2026).
What is the 2.5% withholding when a non-resident sells in Costa Rica?
Since October 2025 the buyer must withhold 2.5% of the gross price when the seller isn't a Costa Rican tax resident, as a prepayment of capital gains tax. The seller can file to claim back any excess (AG Legal, 2026).
How long does it take to sell a house in Guanacaste?
Listed homes in Guanacaste and Nicoya had a median of 355 days on market in 2025 (Coldwell Banker CR, December 2025).
You may have heard…
| You may have heard | What the current source says | Source and date |
|---|---|---|
| "Costa Rica has no capital gains tax." | It has since July 1, 2019: 15% of the gain, or 2.25% of the price for property held before then. | AG Legal, 2026 |
| "Easy to buy, hard to sell." | Listed homes took a median of 355 days to sell in 2025. Good paperwork shortens it. | Coldwell Banker CR, December 2025 |
Sources
- AG Legal, "Capital gains tax in Costa Rica: what foreign investors need to know before selling". Published 2026. Checked November 14, 2026.
- Tico Times, capital gains on property (2.25% option and habitual residence). Published undated. Checked November 14, 2026.
- ILN Real Estate Group, "Buying and selling real estate: an international guide" (Costa Rica chapter). Published undated. Checked November 14, 2026.
- Rio Times, "Taxes in Costa Rica for expats, 2026". Published 2026. Checked November 14, 2026.
- Ley 6999, Impuesto sobre Traspasos de Bienes Inmuebles. Law text. Checked November 14, 2026.
- Coldwell Banker Costa Rica, Guanacaste and Nicoya market figures (same entry as on /data/guanacaste-market/). Published December 2025. Checked November 14, 2026.
What changed
- November 14, 2026First published. The non-resident withholding rate is now confirmed at 2.5%.
Email me when these rules change
General information, not tax advice. Ask a Costa Rican accountant and your home-country tax adviser before you list.
Tools for this guide
Plan for your heirs, and know what selling later involves.
Every guide in this stageQuestions about your situation? A virtual tour with an advisor, no obligation.
Book a virtual tour