Costa Rica tax residency: the 183-day rule
Costa Rica treats you as a tax resident at 183 days in the calendar year (1 January – 31 December) — but the day count is only the part we can calculate. It is one of Costa Rica's tests, not the whole rule (see the others below). Source: Dirección General de Tributación (Ministerio de Hacienda), last reviewed 2026-05-27.
183 days isn't the only route — Costa Rica can also treat you as resident on non-day grounds (costa rican state officials / representatives abroad). See every test below.
Spend 183 days or more in Costa Rica during the calendar year (1 January – 31 December) and it will generally treat you as a tax resident for that period.
Reviewed by Quentin Dupard, founder · last reviewed 2026-05-27 · How we research
- Threshold
- 183 days
- Counting window
- Calendar year
- Day-based test
- 1
- Last reviewed
- 2026-05-27
How does Costa Rica count days for tax residency?
According to Dirección General de Tributación (Ministerio de Hacienda), you become a tax resident of Costa Rica once you spend 183 days or more there in the calendar year (1 January – 31 December). Because the count is per calendar year, it resets every 1 January and days from a previous year do not carry over — though a single stay that spans New Year is split across two years’ totals.
183-day rule (calendar year)
183 days · the calendar year (1 January – 31 December)Spend 183 days or more in Costa Rica during the calendar year (1 January – 31 December) and it will generally treat you as a tax resident for that period.
Fiscal resident ("domiciliado") if present more than 183 days (continuous or not) in the calendar year. Part-days count (entry and exit days both count). Sporadic absences of ≤30 consecutive days still count as presence. IMPORTANT: Costa Rica is strictly territorial — even residents are taxed only on Costa-Rica-source income, so crossing 183 days does not bring your foreign income into tax.
What else makes you a tax resident of Costa Rica?
The day count is only one route. Costa Rica can also make you a tax resident through any one of the following — regardless of how few days you spend there. These don't depend on a day count, so Yuravia can't track them for you; weigh them against your own situation.
Costa Rican State officials / representatives abroad
Persons holding official posts or representations abroad that are paid by the Costa Rican State, its public entities or municipalities are treated as Costa Rican tax residents regardless of physical presence (Art. 10(1)(b) of the Income Tax Regulation).
Costa Rica at a glance
- Tax year
- 1 January – 31 December (the fiscal period matches the calendar year for individuals since the 2018/2019 tax reform; a non-calendar period is only possible by special authorization).
- How days are counted
- Residency is triggered by presence of more than 183 days (continuous or discontinuous) in the fiscal period, and PwC states this counts days "including departures and arrivals to the country," so arrival and departure days both count; whether part-days count as whole days is not specified by the authority.
- What residency means
- Costa Rica is territorial: both residents and non-residents are taxed only on Costa Rican-source income (residents file the annual D-101 and pay progressive rates; non-residents pay withholding tax), and foreign-source income is generally not taxed — there is no worldwide-income basis.
- Notable regime
- Digital Nomad Visa (Law No. 10008): remote workers earning only foreign income are exempt from Costa Rican income tax on those earnings and are not treated as income-tax residents even if they stay beyond 183 days.
Official source
Dirección General de Tributación (Ministerio de Hacienda). View the primary guidance ↗
Rule last checked against this source on 2026-05-27.
Count your days in Costa Rica
The day count is the one test you can actually calculate — the home, family and ties tests above, you can’t. Use a free calculator to see exactly how close you are to Costa Rica's 183-day threshold — or let Yuravia track it automatically across every country at once and warn you before you cross a line.
Your trips to one country
Enter each stay in the country you're checking. Both the arrival and departure day count as days of presence.
Add at least one trip to see how close you are to 183 days in 2026.
Tracking more than one country?
Track every country automatically — freeYuravia watches 75 tax-residency rules at once and alerts you before any threshold.
Frequently asked questions
How many days can I stay in Costa Rica without becoming a tax resident?
According to Dirección General de Tributación (Ministerio de Hacienda), Costa Rica treats you as a tax resident at 183 days in the calendar year (1 January – 31 December) (the "183-day rule (calendar year)"). Staying under that is necessary but not sufficient — a permanent home, family, or your centre of vital interests can make you resident on fewer days.
Is the day count the only way to become a tax resident of Costa Rica?
No. Beyond the day count, Costa Rica can treat you as resident through costa rican state officials / representatives abroad — any one of these can apply even if you stay well under 183 days. They don't depend on counting days, so confirm them against your own circumstances.
What counts as a day of presence in Costa Rica?
In most jurisdictions any day on which you are physically present — including the arrival and departure days — counts as a full day. Treating both as counted is the conservative assumption. Always confirm the exact rule with Dirección General de Tributación (Ministerio de Hacienda).
What is the official source for Costa Rica's tax-residency rule?
Dirección General de Tributación (Ministerio de Hacienda). The rule on this page was last checked against that source on 2026-05-27. Thresholds and tests change, so confirm before relying on it.
Related guides
Other countries
Never cross a threshold by accident
Yuravia tracks your days across Costa Rica and 70+ other jurisdictions and warns you before you trip a tax-residency rule. Free, anonymous, no ads.
Create your free account