CLARA Costa Rica
Sign in Sign in

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.

In short

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

The taxes on a sale
ItemRateWhat it's charged onSource
Capital gains tax15%The gain: sale price minus cost basisAG 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 closingAG Legal, 2026; Tico Times, undated
Habitual residenceExemptTico Times, undated
Non-resident withholding2.5%The gross price; the buyer withholds it (DGT resolution MH-DGT-RES-0051-2025, effective October 2025)AG Legal, 2026
Resident withholding2% from October 6, 2025, per one law-firm network's guideThe priceILN Real Estate guide, undated. Confirm this point with your attorney.
Transfer tax1.5%The higher of price and registered value; split by agreementLaw 6999
Selling a company insteadTransfer tax now applies to indirect sales too, where the shares of a company that owns the land change handsRio 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:

A worked example
LineAmount
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 fileabout $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

  1. Your closing statement and registered deed (your cost basis).
  2. Invoices for construction and improvements.
  3. Proof of property tax and owners' fees paid.
  4. 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…
You may have heardWhat the current source saysSource 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

  1. AG Legal, "Capital gains tax in Costa Rica: what foreign investors need to know before selling". Published 2026. Checked November 14, 2026.
  2. Tico Times, capital gains on property (2.25% option and habitual residence). Published undated. Checked November 14, 2026.
  3. ILN Real Estate Group, "Buying and selling real estate: an international guide" (Costa Rica chapter). Published undated. Checked November 14, 2026.
  4. Rio Times, "Taxes in Costa Rica for expats, 2026". Published 2026. Checked November 14, 2026.
  5. Ley 6999, Impuesto sobre Traspasos de Bienes Inmuebles. Law text. Checked November 14, 2026.
  6. 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.

Stage 8: Estate planning

Plan for your heirs, and know what selling later involves.

Every guide in this stage
Talk it through

Questions about your situation? A virtual tour with an advisor, no obligation.

Book a virtual tour