Costa Rica · CR

Costa Rica Tax Residency: Territorial System & 183-Day Rule

Costa Rica tax residency relies on a territorial system that leaves most foreign income untaxed. Here's how the 183-day rule and key residency visas work.

10 min read

Costa Rica runs a territorial tax system: it taxes income earned inside Costa Rica and generally does not tax foreign-source income at all. So a foreign pension, a remote salary paid by an overseas employer, dividends from abroad, or rent on a property back home are typically outside the Costa Rican tax net, even if you live there full-time. The 183-day rule can make you a Costa Rican tax resident, but because of the territorial principle, becoming resident usually changes your reporting more than your actual tax bill.

That combination, easy residency visas, a pleasant base, and 0% on most foreign income, is why Costa Rica is a perennial favourite for retirees and remote workers. Below is how the territorial rule, the day count, and the popular Pensionado and Rentista visas fit together, and where the plan can quietly go wrong.

What 'territorial' means in Costa Rica

Under a territorial system the decisive question is not who earns the income or where they live, it's where the income is sourced. Income produced by activity, work, or assets located in Costa Rica is Costa Rica-source and taxable. Income produced by activity or assets located outside Costa Rica is foreign-source and generally exempt, even when a resident receives it into a Costa Rican bank account.

  • Generally taxable in Costa Rica: salary for work physically performed in Costa Rica, profits from a Costa Rican business serving the local market, rent from Costa Rican property, gains on local assets.
  • Generally not taxed in Costa Rica: a foreign pension, dividends and interest from foreign accounts, a remote salary for work delivered to clients abroad, gains on foreign securities or real estate.
  • The grey zone: remote work that is increasingly performed from Costa Rican soil. Where you physically sit while working can pull income into the local source, the analysis is fact-specific and worth professional review.

How the 183-day rule makes you a tax resident

Costa Rica generally treats you as a tax resident once you've been physically present for more than 183 days in a tax period, the days do not have to be continuous. Establishing your economic and family base in the country can also point toward residency. Because the day count is the cleanest, most provable path, most people planning a move treat it as the backbone of the analysis.

Counting carefully matters more than people expect. A few miscounted travel days can be the line between being treated as resident and not, and that line affects your reporting in both countries. A simple 183-day calculator keeps the running total honest, and the tie-breaker rules become relevant the moment a second country also claims you.

ConceptWhat it controlsThreshold
Residency visaYour legal right to live in Costa RicaGranted by immigration, not days
Tax residencyWhether Costa Rica treats you as resident for tax183+ days or economic base
Tax liabilityWhat Costa Rica can actually taxCosta Rica-source income only

Pensionado, Rentista, and the digital nomad visa

Costa Rica's residency programs are what draw most newcomers, and each one grants the right to reside, not, by itself, tax residency.

  • Pensionado: for retirees who can show a stable lifetime pension income above a set monthly minimum. It's the classic retiree route.
  • Rentista: for people with steady passive or investment income (or a sufficient deposit in a Costa Rican bank), aimed at remote earners and the financially independent.
  • Inversionista (investor): for those who invest a qualifying amount in Costa Rican property, a business, or approved assets.
  • Digital nomad visa: a temporary stay for remote workers earning a qualifying foreign income, with foreign earnings generally exempt from Costa Rican income tax for the period.

Holding a Pensionado or Rentista visa does not automatically free you from tax in the country you left. A residency permit gives you the right to live in Costa Rica; whether your old country still taxes you depends on whether you genuinely broke residency there.

Costa Rica won't tax it, but will your old country?

Going territorial in Costa Rica only delivers a clean 0% result if you've also broken tax residency where you came from. Many countries keep taxing you until you can prove you genuinely left, by day count, by giving up a permanent home, by moving your center of vital interests. The day log that gets you over 183 in Costa Rica is the same evidence that proves you stayed under your former country's threshold.

US citizens are the sharpest exception. The United States taxes its citizens and green-card holders on worldwide income no matter where they live, so moving to Costa Rica does not switch off US tax. The planning instead leans on the foreign earned income exclusion and foreign tax credits, and a Costa Rica move can pair well with the FEIE because so little local tax is paid, though qualifying still depends on meeting the physical-presence or bona-fide-residence day tests. See our digital nomad tax guide for how those pieces interact.

For nationals of residence-based systems, the move usually does work, but only with records. Expect your former tax authority to test your departure with the same tools it uses in any residency audit: where did you actually spend your days, where is your home, where is your family.

What counts as a Costa Rican day

For the 183-day threshold, a Costa Rican day is generally any day on which you were physically present in the country at some point. Day-counting conventions differ between jurisdictions, so don't assume Costa Rica mirrors the rules you used at home, see our note on how day counting varies by country.

  • Arrival day: generally counts.
  • Departure day: generally counts.
  • A trip out of the country interrupts the count, those days abroad are not Costa Rican days.
  • Keep entry and exit stamps, boarding passes, and rental records; immigration data is the primary evidence the authorities rely on.

Costa Rica participates in international information-exchange frameworks, so foreign income that goes untaxed locally is not invisible. Reporting obligations in your home country, and disclosure of foreign accounts, can still apply even when no Costa Rican tax is due.

Track your Costa Rica days from day one

Whether you're crossing the 183-day line to become a Costa Rican resident or proving you stayed under a former country's limit, the math is identical: count accurately and keep the records. Tax Days tracks your Costa Rican days against the 183-day rule and your old country's threshold at the same time, updating as you log trips, so when an authority on either side asks, the answer is already documented.

FAQ

Frequently asked questions

Does Costa Rica tax foreign income?

Generally no. Costa Rica uses a territorial tax system, so income earned outside the country, foreign pensions, dividends, interest, and a remote salary delivered to clients abroad, is typically not taxed in Costa Rica, even for residents. Only Costa Rica-source income is taxed.

How many days make you a tax resident of Costa Rica?

Generally more than 183 days of physical presence in a tax period; the days do not need to be consecutive. Establishing your economic and family base in the country can also support residency even with fewer days.

Is the Pensionado or Rentista visa the same as tax residency?

No. These visas grant the legal right to live in Costa Rica. Tax residency is a separate question driven mainly by the 183-day rule and your ties, and your visa status does not by itself end tax residency in the country you left.

Do US citizens pay no tax if they move to Costa Rica?

No. The US taxes citizens and green-card holders on worldwide income regardless of where they live. A Costa Rica move shifts the planning toward the foreign earned income exclusion and foreign tax credits, not a zero-tax outcome.

Is the Costa Rica digital nomad visa tax-free?

For the duration of the digital nomad visa, qualifying foreign income is generally exempt from Costa Rican income tax. That does not change your obligations in your home country, which may still tax you depending on your residency status there.

Does my pension get taxed in Costa Rica?

A foreign pension is generally treated as foreign-source income and is typically not taxed by Costa Rica under the territorial system. Whether your home country taxes that pension is a separate question that depends on its own rules and any tax treaty.

Sources & further reading

Every rule on this page is drawn from primary sources. Verify the current law before making a residency decision.

  1. [1]Publication 54, Tax Guide for U.S. Citizens and Resident Aliens AbroadIRS
  2. [2]Foreign Earned Income Exclusion, Physical Presence TestIRS
  3. [3]Foreign Earned Income Exclusion, Bona Fide Residence TestIRS
  4. [4]Alien Residency, Green Card TestIRS
  5. [5]Report of Foreign Bank and Financial Accounts (FBAR)FinCEN / IRS
  6. [6]Foreign Account Tax Compliance Act (FATCA)IRS
  7. [7]OECD Model Tax Convention, Article 4 (Resident) tie-breakerOECD