Costa Rica tax residency is the rare threshold that mostly brings good news. You become a tax resident by spending more than 183 days in the country during the fiscal year - but because Costa Rica taxes on a territorial basis, residency does not put your foreign salary, pension, or portfolio in reach. The count still matters, just for different reasons: proving residency to other countries, qualifying for a certificate, and knowing when local obligations begin. Here is how the pieces fit.
The 183-day rule, Costa Rica style
You are a tax resident for a fiscal year - which now runs with the calendar year, January to December - if you are present in Costa Rica for more than 183 days, continuous or discontinuous, during it. Two details do the real work:
- Sporadic absences count as presence. Short trips out - a border run to Panama, a week in Miami - are added back into your Costa Rican total unless you can prove tax residency in another country, typically with an official residency certificate from that country's tax authority.
- Immigration status is separate. Pensionado, rentista, and inversionista programs govern your right to live in Costa Rica; the tax test is simply the day count above.
The sporadic-absence rule means the naive strategy of hopping out every few months does not keep you under the line. If Costa Rica is your base and you cannot show the taxman of somewhere else claiming you, the days you spent away get counted as if you had stayed.
What residency actually changes in a territorial system
Costa Rica taxes Costa Rican-source income - local employment, a business serving the local market, local rentals - whether you are resident or not. Foreign-source income stays outside the system either way. So why does the 183-day line matter at all?
- Proof for the country you left. Exiting a worldwide-tax country cleanly (the UK, Spain, Canada) is far easier when you can show you are tax resident somewhere else. Crossing 183 Costa Rican days and obtaining a residency certificate gives your old tax authority a concrete answer - and remember, other countries' rules are exactly why your own sporadic absences need documenting.
- Local obligations. Residency status feeds into local filing positions and, for those with Costa Rican earnings, which regime applies.
- Banking and paperwork. Certificates, mortgages, and increasingly common know-your-customer checks ask where you are tax resident; "nowhere" is a bad answer.
The digital nomad lane
Costa Rica's remote-worker law goes a step further than most: holders of the digital nomad visa (stable foreign income of roughly 3,000 US dollars a month, or 4,000 for a family) are exempt from Costa Rican income tax on their foreign earnings by law, even if their days run past 183. Given the territorial base plus the express exemption, a nomad-visa year in Costa Rica is about as clean as remote-work taxation gets - what remains is managing the country you came from, which is a day-count exercise on the other side.
Track your Costa Rica days automatically
Between sporadic absences that count, a home country watching your return visits, and a certificate you may need to earn, the day log is the asset. Tax Residency Tracker maintains it:
- Automatic GPS detection records every Costa Rican stay and every hop to Panama or Nicaragua, dated - exactly the trips the sporadic-absence rule asks about.
- Real-time totals show when you cross 183 days, and per-country totals keep the old-country count honest at the same time.
- Planned-stay previews test a season's itinerary before you book it, and threshold alerts warn you near any line you set.
- Documents plus CSV export package boarding passes and stays into evidence for either tax authority - stored on your device, working fully offline.
Frequently asked questions
Does Costa Rica tax my foreign salary or pension if I pass 183 days?
No. Costa Rica taxes territorially: foreign-source salaries, pensions, and investment income stay outside the system whether or not you are resident. Local-source income is taxed either way.
Do my trips out of Costa Rica reduce my day count?
Often not: sporadic absences are added back into your presence unless you can prove tax residency in another country. A dated log of every exit and return is what makes your position defensible.
Which fiscal year does the count use?
Costa Rica's fiscal year for individuals now aligns with the calendar year, so the 183-day test runs January through December.
Is the digital nomad visa really tax free?
For qualifying foreign earnings, yes - the exemption is written into the nomad law, on top of the territorial system. Income from Costa Rican sources remains taxable, and your home country's rules are a separate question.
Leaving a worldwide-tax system first? See leaving the UK and changing tax residency, get the base rule in the 183-day rule, or browse all guides.