The Complete Guide to Losing Your Residency in Costa Rica

Travelers walking through an international airport terminal, illustrating the risk of losing residency status in Costa Rica due to extended absences or noncompliance

Last Updated: January 2026

Cutting Through the Misinformation

Let’s be blunt: there’s an alarming amount of incorrect information circulating about how you can lose your residency in Costa Rica. Discussion boards, outdated blog posts, and even some law firms continue to spread rules that no longer exist in Costa Rican law.

This guide is based exclusively on current Costa Rican immigration law—specifically Law 8764 (Ley General de Migración y Extranjería) and its regulations. If you’ve been told you need to spend four months per year in Costa Rica as a pensionado, or six months as an investor, you’ve been misinformed. Those rules are relics of old legislation.

Here’s what you actually need to know.

Part 1: The 11 Legal Grounds for Losing Your Residency

Article 129 of Law 8764 establishes the exclusive grounds under which the Dirección General de Migración y Extranjería (Immigration Department) can cancel your residency status. There are eleven of them. Not more, not less.

Ground #1: Failure to Maintain Eligibility Requirements

Legal Reference: Article 129(1) of Law 8764

You must continue to meet the conditions under which your residency was granted. This is the most common ground for cancellation and affects different residency categories in different ways.

What This Means in Practice:

  • Marriage-based residency: If you divorce your Costa Rican spouse or they pass away, you lose the basis for your residency. However, you may be eligible to change to another category.
  • Investment-based residency: If you sell the property or close the business that qualified you for residency, you no longer meet the requirements. Maintaining the minimum investment amount is critical.
  • Employment-based residency: Getting fired or leaving your job terminates the basis for your residency under this category.
  • Pensionado/Rentista residency: You must maintain the required monthly income from your pension or stable source. If your pension drops below the minimum threshold or you lose your income source, you’re technically in violation.

Important Note: The law requires you to maintain these conditions throughout your residency period, not just at the initial application.

Ground #2: Tax Non-Compliance

Legal Reference: Article 129(2) of Law 8764

Failure to pay required taxes when you’re not legally exempt can result in cancellation.

Reality Check: In over two decades of practice, I have never seen a single case where someone lost their residency solely for not paying taxes. While it’s in the law, enforcement is virtually non-existent. That said, don’t take this as permission to ignore your tax obligations—it’s still technically a ground for cancellation.

Ground #3: Illegal Entry or Exit

Legal Reference: Article 129(3) of Law 8764

Entering or leaving Costa Rica through non-authorized ports of entry or without submitting to immigration controls will get your residency cancelled.

This is self-explanatory and represents a blatant violation of immigration law. Don’t do it.

Ground #4: Circumstances Under Article 70

Legal Reference: Article 129(4) of Law 8764, referencing Article 70

This ground relates primarily to criminal activity and public security threats. We’ll address this in detail in Part 6.

Ground #5: Excessive Absence – Permanent Residents

Legal Reference: Article 129(5) of Law 8764; Article 214 of the Regulations

Permanent residents who are absent from Costa Rica for more than four consecutive years will have their residency cancelled.

Exceptions: The law provides for exceptions if you can demonstrate force majeure or justified reasons related to:

  • Health (medical treatment abroad)
  • Education (studying abroad)
  • Family reasons
  • Other legitimate circumstances

These exceptions must be “debidamente comprobadas” (duly proven) with appropriate documentation.

Critical Point: The four-year clock is consecutive. If you return to Costa Rica even for one day before the four years expire, the clock resets.

Ground #6: Excessive Absence – Temporary Residents

Legal Reference: Article 129(6) of Law 8764; Article 214 of the Regulations

Temporary residents who are absent from Costa Rica for more than two consecutive years will have their residency cancelled.

Same Exceptions Apply: Health, education, family, or other justified reasons can prevent cancellation if properly documented.

Critical Point: Like permanent residents, the two-year clock is consecutive and resets if you return to Costa Rica before expiration.

Ground #7: Fraudulent Documentation

Legal Reference: Article 129(7) of Law 8764

Obtaining residency through false declarations, altered documents, or fake visas will result in immediate cancellation.

This includes:

  • Forged background checks
  • Falsified bank statements
  • Altered marriage certificates
  • Fake employment letters
  • Any misrepresentation in your application

Consequences: Beyond cancellation, this can result in deportation and a ban on re-entry.

Ground #8: Unauthorized Employment

Legal Reference: Article 129(8) of Law 8764

Performing paid work without proper authorization is a violation.

What This Means:

  • If you’re a pensionado or rentista without “libre de condición” (work authorization), you cannot legally work for pay in Costa Rica
  • Categories like investors and those with employment-based residency are authorized to work within the scope of their approved activity
  • Special category residents must comply with the work restrictions of their specific category

Getting Caught: Immigration can and does investigate unauthorized work, particularly if there’s a complaint.

Ground #9: Public Security Threat

Legal Reference: Article 129(9) of Law 8764

If your background or actions constitute a threat to public security and order, your residency can be cancelled.

This is a broad ground that gives immigration authorities significant discretion. It can include:

  • Criminal history (even from your home country)
  • Association with criminal organizations
  • Activities that threaten national security
  • Behavior that disturbs public order

Ground #10: Failure to Renew DIMEX Within Three Months

Legal Reference: Article 129(10) of Law 8764; Article 213 of the Regulations

If you don’t renew your DIMEX (residency card) within three months of its expiration date, cancellation proceedings can begin.

Exception: The law provides an exception “unless there are duly proven reasons demonstrating impossibility” to renew within this timeframe.

Potential Conflict: This ground can conflict with Grounds #5 and #6 regarding excessive absence. For example, if a temporary resident is absent for two years and their DIMEX expires during that absence, they might technically be subject to cancellation under both grounds. This has created some interesting legal questions that courts may need to resolve.

Practical Reality: While the law allows for cancellation after three months, many residents have renewed their DIMEX months or even years after expiration without facing cancellation—they just pay late fees. That said, don’t rely on lax enforcement. The law is clear.

Ground #11: Sham Marriage

Legal Reference: Article 129(11) of Law 8764

If it’s proven that your marriage to a Costa Rican citizen was entered into solely to obtain immigration benefits (marriage fraud), your residency will be cancelled.

How They Prove It:

  • Interviews with both spouses
  • Investigation of living arrangements
  • Financial records showing lack of joint finances
  • Testimony from neighbors or family
  • Evidence of payment for the marriage

Immigration takes marriage fraud seriously, and convictions can lead not only to cancellation but to criminal charges.


Part 2: Criminal Convictions and Article 130

Legal Reference: Article 130 of Law 8764; Article 290 of the Regulations

This deserves its own section because it’s frequently misunderstood.

The Rule: If you’re convicted of a crime and sentenced to prison (custodial sentence) by a competent court, the Dirección General must initiate administrative proceedings to determine whether your residency should be cancelled during the execution of your sentence.

Critical Points:

  1. The crime doesn’t have to be committed in Costa Rica. If you commit a felony in your home country while holding Costa Rican residency, this can trigger cancellation proceedings.
  2. Initiation is mandatory, cancellation is not automatic. The Immigration Department must start the process, but the final decision depends on the circumstances.
  3. You have due process rights. You’ll receive notice, have the opportunity to present a defense, and can appeal any decision.

What Happens After Cancellation:

  • Residents: If your residency is cancelled, you’ll be ordered to leave Costa Rica (unless you haven’t served your sentence or haven’t been tried yet—in which case deportation doesn’t proceed until after legal proceedings conclude).
  • Deportation vs. Removal: The law distinguishes between residents (who are “conminados” or ordered to leave) and non-residents (who are deported).

Part 3: The BIG LIE About Minimum Stay Requirements

Let’s address the most persistent myth in Costa Rican immigration law:

THERE IS NO MINIMUM NUMBER OF DAYS YOU MUST SPEND IN COSTA RICA TO MAINTAIN YOUR RESIDENCY.

Read that again. Memorize it. Share it with every expat forum spreading outdated information.

Where This Myth Comes From

Older versions of Costa Rican immigration law (pre-2010) contained specific physical presence requirements:

  • Pensionados were required to be in-country for four months per year
  • Investors needed six months per year
  • Other categories had similar requirements

These rules no longer exist. They were eliminated when Law 8764 came into force.

What the Current Law Actually Says

The current law operates on a maximum absence principle, not a minimum presence requirement:

  • Permanent residents: Can be absent up to 4 consecutive years
  • Temporary residents: Can be absent up to 2 consecutive years
  • Special category: Can be absent up to 1 year (Article 302 of the Regulations)

There is no minimum. Technically, under the law, you could visit Costa Rica for one day every four years (if you’re a permanent resident) or one day every two years (if you’re a temporary resident) and remain in compliance with the absence rules.

Why Law Firms Get This Wrong

Unfortunately, many websites and even some practitioners haven’t updated their materials since the law changed in 2010. Some continue to cite the old rules, either through ignorance or failure to update their content.

This is inexcusable. The law has been clear for over 15 years.


Part 4: What You Actually Need to Know About Time Requirements

While there’s no minimum stay requirement, there are practical considerations related to how long you’re outside Costa Rica:

The One-Year Rule for Renewals

Legal Reference: Article 215(c) and Article 216(b) of the Regulations

If you’ve been outside of Costa Rica for more than one year when you go to renew your DIMEX, you’ll need to provide:

  1. A written explanation of why you were outside the country for more than a year
  2. A new background check (certificate of good conduct) from the country where you resided, properly legalized (authenticated or apostilled)

This doesn’t mean you can’t renew. It doesn’t mean your residency is at risk. It just means additional paperwork and costs.

Our Recommendation: Visit Once Per Year

Based on practical considerations, we advise clients to visit Costa Rica at least once per year. This is not a legal requirement—it’s sound practical advice because:

  1. Avoids additional renewal paperwork: No need for foreign background checks
  2. Demonstrates ongoing connection: Shows you maintain ties to Costa Rica
  3. Reduces scrutiny: Less likely to trigger questions from immigration officials
  4. Resets the clock: Keeps you well within the maximum absence limits
  5. Maintains CCSS coverage: Easier to keep your social security uninterrupted

CCSS (Social Security) Requirements

Legal Reference: Article 210 of the Regulations; Article 274 of the Regulations

All residents must maintain enrollment in the Caja Costarricense de Seguro Social (CCSS) continuously and without interruption from the moment residency is granted.

Critical Point: Immigration verifies your CCSS status electronically when you renew your DIMEX. If there are gaps in coverage, you’ll need to explain them.

Exception: You can request suspension of your CCSS coverage if you obtain approval for suspension of your residency status (Article 302-305 of the Regulations).

Practical Impact: If you’re out of the country for extended periods, you still need to maintain your CCSS payments or risk complications at renewal time.


Part 5: Understanding Renewal Requirements

Let’s clarify what happens when you renew your residency, because this is where time-in-country issues become relevant.

Standard Renewal Requirements

Legal Reference: Article 276 of the Regulations

For all residency renewals, you must:

  1. Present your current DIMEX or other identification
  2. Be enrolled in CCSS continuously since approval of residency
  3. Pay applicable government fees

Category-Specific Requirements

Depending on your residency category, you’ll also need to prove you still meet the original eligibility requirements:

  • Pensionados: Proof of ongoing pension income
  • Rentistas: Proof of ongoing stable income
  • Investors: Proof that investment is maintained
  • Marriage-based: Proof of ongoing marriage and cohabitation
  • Employment-based: Proof of ongoing employment

Renewal Schedules

Legal Reference: Articles 206-207 of the Regulations

  • Temporary residents: Renew every 2 years
  • Temporary residents (marriage-based): Renew every 1 year (must prove ongoing cohabitation annually)
  • Permanent residents:
    • First 5 years: Renew every 2 years
    • After 5 years: Renew every 3 years
    • After 10 years: Renew every 5 years

Late Renewal Penalties

Legal Reference: Article 209 of the Regulations

You can renew within 30 days after expiration by paying a late fee of $3 USD per month (or fraction thereof) of delay.

After 3 months: See Ground #10 above—you risk cancellation proceedings.

Entry/Exit Verification

Legal Reference: Article 211 of the Regulations

Before approving renewal, immigration will check your entry and exit records. If there are irregularities (e.g., you entered or left through unofficial channels), you must provide documentation explaining the discrepancy.


Part 6: The Administrative Cancellation Process

If immigration decides to cancel your residency, you’re entitled to due process.

Legal Reference: Articles 289-301 of the Regulations; Articles 221-230 of Law 8764

How It Starts

The Dirección General initiates cancellation proceedings by issuing a reasoned resolution (Article 289).

Your Right to Defend

Legal Reference: Article 291 of the Regulations

  1. Initial Notification: You receive formal notice of the cancellation proceedings, including:
    • The specific grounds for cancellation
    • The facts supporting the decision
    • Where your administrative file is located
    • Your obligation to provide an address for notifications
  2. Defense Period: You have 8 days to:
    • Submit written arguments in your defense
    • Provide supporting documentation
    • Present evidence
  3. No Appeal of Initial Resolution: The initial decision to start proceedings cannot be appealed (Article 291).

Final Decision

Legal Reference: Article 292 of the Regulations

After receiving your defense, immigration must issue a final decision within 3 months.

Your Right to Appeal

Legal Reference: Articles 293-297 of the Regulations; Articles 225-229 of Law 8764

Against the final cancellation decision, you can file:

  1. Recurso de Revocatoria (Appeal for Reconsideration):
    • Filed with the Dirección General
    • Must be filed within 3 business days of notification
    • Must be resolved within 3 months
  2. Recurso de Apelación (Appeal):
    • Filed with the Tribunal Administrativo Migratorio (Immigration Administrative Tribunal)
    • Can be filed simultaneously with revocatoria (subsidiary appeal)
    • Must be filed within 3 business days of notification
    • Must be resolved within 3 months

Important: Filing an appeal suspends execution of the cancellation order (Article 297). This means you can remain in Costa Rica while your appeal is pending.

No Special Formalities Required

Legal Reference: Article 294 of the Regulations; Article 226 of Law 8764

Your appeals don’t require special legal language. They just need to clearly express that you’re asking for the decision to be revoked or appealed.


Part 7: Consequences of Cancellation

Legal Reference: Articles 298-301 of the Regulations; Articles 130-131 of Law 8764

Loss of Status

Cancellation means:

  • Loss of your migratory legal status
  • Loss of your authorized period to remain in Costa Rica
  • Invalidation of your DIMEX and other immigration documents
  • Your guarantee deposit may be used to cover deportation costs

For Residents

If you were a resident (temporary or permanent):

  • You’ll be ordered to leave Costa Rica (conminación)
  • You must depart within the timeframe set by immigration
  • If you don’t comply, you’ll be deported

Exception: If you haven’t served a criminal sentence or are awaiting trial, deportation won’t proceed until after legal proceedings conclude.

For Non-Residents and Special Categories

If you were a non-resident or held special category status:

  • Immediate deportation proceedings begin (Article 301)

Re-Entry Bans

Depending on how you lost status:

  • Deportation: Cannot return for 5 years (Article 185 of Law 8764)
  • Expulsion: Cannot return for 10 years, or 25 years if the expulsion was based on crimes against minors, domestic violence, or crimes against people with disabilities (Article 187 of Law 8764)

Part 8: Practical Scenarios

Let’s look at real-world situations:

Scenario 1: The Pensionado Who Stays Home

Maria is a permanent resident under the pensionado category. She obtained residency in 2018 and visits Costa Rica once per year for 2-3 weeks to see friends and renew her DIMEX when needed. She spends the rest of the year in Spain.

Status: Fully compliant. She’s well within the 4-year maximum absence period, and her annual visits reset the clock. She continues to receive her pension (maintaining her eligibility requirement) and keeps her CCSS payments current.

Scenario 2: The Investor Who Sold

John obtained investor residency based on a $200,000 real estate purchase. Three years later, he sells the property and doesn’t reinvest.

Status: At risk. He no longer meets the eligibility requirements under Ground #1. He should either: (a) reinvest to maintain compliance, (b) change to another residency category if eligible, or (c) accept that his residency may be cancelled at renewal time.

Scenario 3: The Divorcee

Sophie had temporary residency based on marriage to a Costa Rican citizen. After 2.5 years, they divorce.

Status: She loses the basis for her marriage-based residency. However, if she’s maintained the marriage for 2+ years and demonstrated genuine cohabitation, she may be eligible to change her category to temporary resident (independent) or apply for permanent residency. Timing is critical—she should consult with an attorney immediately.

Scenario 4: The Three-Year Absence

David is a permanent resident who leaves Costa Rica for 3 years and 11 months due to caring for an ill family member.

Status: Technically compliant (under 4 years). However, he should: (a) document the family emergency with medical records and other evidence in case questions arise, (b) consider whether he should have applied for suspension of residency, and (c) be prepared to provide a foreign background check when he returns since he’s been gone over a year.

Better Approach: David should have filed for suspension of residency (Article 302) before leaving, which would have paused all time limits and made his absence completely protected.


Part 9: Frequently Asked Questions

Q1: How many days per year do I need to be in Costa Rica?

A: There is no minimum. You only need to avoid exceeding the maximum consecutive absence: 4 years for permanent residents, 2 years for temporary residents.

However, we recommend visiting at least once per year to avoid additional renewal paperwork and demonstrate ongoing ties to Costa Rica.

Q2: I’m a pensionado. Do I need to spend 4 months per year in Costa Rica?

A: No. This is an outdated rule from pre-2010 law. Ignore anyone who tells you otherwise.

Q3: I’ve been outside Costa Rica for 1.5 years. Am I in trouble?

A: Not if you’re a temporary or permanent resident. You’re within the legal limits. However, when you return and renew your DIMEX, you’ll need to provide a background check from the country where you resided and explain your absence.

Q4: Can I work remotely for a foreign company with pensionado residency?

A: This is a gray area. Technically, performing “labores remuneradas” (paid work) without authorization is prohibited under Ground #8. Immigration’s interpretation of whether remote work for a foreign employer counts as “labor” has been inconsistent.

Our Recommendation: If you plan to work remotely, consider obtaining “libre de condición” (work authorization) or applying for a different residency category that permits work.

Q5: My DIMEX expired 6 months ago. Can I still renew it?

A: Legally, after 3 months, you risk cancellation proceedings (Ground #10). In practice, many people have renewed after longer delays by paying late fees. However, you’re technically in violation and should renew immediately.

You’ll pay $3 per month in late fees.

Q6: I got divorced from my Tico spouse. Do I automatically lose residency?

A: Not automatically, but you no longer meet the eligibility requirements for marriage-based residency. You have several options:

  • Change to another residency category (investor, pensionado, etc.) if you qualify
  • If you maintained a genuine marriage for 2+ years, you may be able to convert to independent temporary residency or apply for permanent residency
  • Consult with an immigration attorney immediately to explore your options

Q7: What happens if I don’t maintain my CCSS payments?

A: CCSS enrollment must be continuous and uninterrupted (Article 210). When you renew your DIMEX, immigration checks your CCSS status electronically. Gaps in coverage will require explanation and could complicate or delay your renewal.

Keep your CCSS current, or if you’ll be outside Costa Rica for an extended period, apply for suspension of both your residency and CCSS coverage.

Q8: I was arrested (but not convicted) in my home country. Will this affect my residency?

A: It depends. Article 130 applies to convictions with custodial sentences. An arrest without conviction shouldn’t trigger cancellation proceedings.

However:

  • You’ll need to disclose this when renewing and provide background checks
  • If the arrest was for a serious crime, it could raise questions under Ground #9 (public security threat)
  • If you’re eventually convicted, Article 130 would apply even for crimes committed outside Costa Rica

Q9: Can I suspend my residency while I’m abroad?

A: Yes! This is an excellent option if you know you’ll be outside Costa Rica for an extended period.

Legal Reference: Articles 302-305 of the Regulations

You can request suspension if:

  • Permanent residents: planning to be absent more than 4 years
  • Temporary residents: planning to be absent more than 2 years
  • Special category: planning to be absent more than 1 year

You’ll need to provide documentation of the reason for your absence (work, study, health, family, etc.).

Benefits: Suspension pauses the clock on:

  • Your maximum absence period
  • Your path to permanent residency or citizenship
  • Requirements related to physical presence

Q10: I haven’t been to Costa Rica in 3 years because of COVID. Am I okay?

A: You may have special protections. Resolution D.JUR-220-05-2024 provides that for permanent residents, the period between March 17, 2020, and November 1, 2020, doesn’t count toward the one-year threshold for requiring foreign background checks.

Additionally, “force majeure” circumstances (like pandemic travel restrictions) can excuse absences that would otherwise exceed the limits. Document your situation thoroughly.

Q11: If my residency is cancelled, can I reapply?

A: It depends on why it was cancelled:

  • Administrative cancellation (e.g., excessive absence, failure to renew): Generally yes, though you may need to wait and will need to start from scratch
  • Deportation: 5-year ban on re-entry (though the Director General can grant exceptions)
  • Expulsion: 10-year ban (25 years for certain crimes)
  • Criminal grounds: May be permanently inadmissible depending on the nature of the crime

Q12: Do I need a lawyer if I receive a cancellation notice?

A: Strongly recommended. The administrative process has strict deadlines (8 days to respond, 3 days to appeal), and your response must address the specific legal grounds cited. An experienced immigration attorney can:

  • Draft a proper legal defense
  • Identify procedural errors in the cancellation proceeding
  • Present evidence effectively
  • File timely appeals
  • Represent you before the Tribunal Administrativo Migratorio

The cost of an attorney is far less than the cost of losing your residency.


Part 10: Key Takeaways

  1. There are exactly 11 grounds for losing residency under Article 129 of Law 8764. No more, no less.
  2. There is no minimum time requirement to stay in Costa Rica. The law establishes maximum absences: 4 years for permanent residents, 2 years for temporary residents.
  3. The “4 months for pensionados” rule is obsolete. Anyone citing this is working from outdated information.
  4. Practical recommendation: Visit once per year. While not legally required, this avoids additional paperwork at renewal and demonstrates ongoing ties to Costa Rica.
  5. Maintain your eligibility requirements. Keep your investment active, your pension coming, your marriage intact, or whatever condition your residency is based on.
  6. Keep CCSS current. Continuous enrollment is required and verified electronically at renewal.
  7. Criminal convictions matter—even abroad. Article 130 applies to crimes committed anywhere, not just in Costa Rica.
  8. Renew your DIMEX on time. You have 30 days after expiration without complications. After 3 months, you risk cancellation.
  9. If you’re gone more than a year, you’ll need extra documents. Specifically, a background check from where you resided.
  10. You have due process rights. If facing cancellation, you get notice, the right to defend, and the right to appeal. Use them.
  11. Consider suspension for long absences. If you know you’ll exceed the maximum absence periods, apply for suspension of residency in advance.
  12. Don’t believe everything you read online. Verify information against the actual law, not forum posts or outdated blog articles.

Final Thoughts: The Simple Rule

Here’s the simplest way to think about maintaining your Costa Rican residency:

Don’t break the law.

Specifically:

  • Keep meeting the requirements you qualified under
  • Don’t be gone too long (or suspend your residency if you must be)
  • Renew your DIMEX when required
  • Maintain your CCSS coverage
  • Don’t commit crimes
  • Don’t work without authorization
  • Don’t use false documents

Follow these principles, and your residency is secure. Ignore the myths, stop believing outdated “minimum stay” requirements, and base your decisions on actual Costa Rican law.

If you have specific questions about your situation, consult with a qualified immigration attorney who is current on the law—not forum participants or practitioners recycling information from 2009.


Legal References:

Disclaimer: This guide is for informational purposes only and does not constitute legal advice. Immigration law is complex and fact-specific. For advice regarding your particular situation, consult with a licensed Costa Rican immigration attorney.


Copyright © 2026. All rights reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *

Costa Rica Immigration Book a Consultation
Costa Rica Immigration Book a Consultation