
Criminal Law & Extradition
Criminal Law, Self-Defense and Extradition in Costa Rica
In short
Yes, Costa Rica extradites. Foreigners can be extradited under the Extradition Law (Ley 4795) and treaties, and since a 2025 constitutional reform (Ley 10730), in force and followed by implementing Ley 10831, Costa Rican nationals can also be extradited, but only for international drug trafficking or terrorism. Self-defense is a full legal justification under article 28 of the Penal Code when there is an unlawful attack and the defense used is reasonably necessary.
Costa Rica's criminal justice system is built on two main codes: the Código Penal (Ley 4573 of 1970), which defines crimes and penalties, and the Código Procesal Penal (Ley 7594 of 1996), which sets out how crimes are investigated and tried. Above both sits the Constitución Política, whose guarantees on detention, privacy and nationality frame everything else.
This page explains, in general terms, how the system works, when self-defense is legal, how extradition works after the 2025 constitutional reform, what rights a person has when arrested, and how the law treats recordings and prostitution.
How a criminal case works
The process is accusatory and oral. The Ministerio Público (public prosecutor's office) directs the investigation and brings charges. It works with the judicial police, the OIJ. Judges supervise investigative measures that affect fundamental rights, decide on precautionary measures such as pretrial detention, and hold the oral trial. Victims have recognized rights to take part in the process.
Under article 39 of the Constitution, no one can be punished except for an offense defined by a prior law, through a final judgment, after having had the chance to defend themselves. Article 36 adds that no one is required to testify against themselves or close relatives.
Self-defense (legítima defensa)
Article 28 of the Penal Code treats self-defense as a justification: there is no crime at all when someone acts in defense of their own or another person's life or rights, provided two conditions are met:
- an unlawful aggression (agresión ilegítima); and
- a reasonable necessity of the means of defense used to repel or prevent it.
Article 28 also contains a specific home-defense rule. Self-defense is presumed for someone who uses violence against an intruder who, without any right and creating danger for the occupants, is inside a building or its dependencies, "whatever the harm caused to the intruder". This provision is narrower than it sounds. It covers someone unlawfully inside the building who poses a danger, and courts examine the facts of each case.
Article 29 deals with excess. If the person defending goes beyond what was necessary, the act can still be punished, although the judge may reduce the penalty (article 79). Excess is not punishable when it comes from an excusable fear or agitation caused by the circumstances. Article 27 separately covers necessity (estado de necesidad), where someone harms another legal interest to avoid a greater, imminent harm they did not cause.
In practice, whether a defense was "reasonably necessary" depends on the facts: the type of attack, the means available, proportionality and timing. Anyone involved in a self-defense incident should expect an investigation and should seek a lawyer immediately. If a firearm was involved, see our page on Costa Rica's gun laws.

Extradition: does Costa Rica extradite?
Yes. Costa Rica cooperates in extradition through bilateral treaties (including one with the United States, approved by Ley 7146 of 1990), multilateral conventions and, where there is no treaty, the Ley de Extradición, Ley 4795. Decisions to grant or refuse extradition belong to the judiciary, not the executive (article 5).
Foreigners
A foreign national wanted abroad can be arrested and extradited if the legal requirements are met. Article 3 of Ley 4795 lists cases where extradition is refused. These include acts that are not crimes under Costa Rican law or are time-barred, political offenses, cases where the person is already being tried or has been tried in Costa Rica for the same acts, people with political asylum, and trial before special or exceptional courts. If the offense carries the death penalty in the requesting state, extradition is refused unless that state undertakes to apply the next lower penalty. Requests may be made urgently by any means of communication when there is an arrest warrant, with the formal documents to follow within a short deadline (article 7).
Since Ley 10936 of 2026, the judge handling an extradition can authorize a search of a property, at any hour, to arrest the person sought.
Costa Rican nationals: the 2025 reform
For decades, article 32 of the Constitution flatly prohibited forcing any Costa Rican to leave the country, so nationals could not be extradited. That changed with Ley 10730, dated 20 May 2025, which reformed article 32. The status is clear:
- Approved and in force: the constitutional reform is law. Article 32 now allows extradition of Costa Ricans only in cases of international drug trafficking or terrorism, when granted by the courts with strict respect for fundamental rights and procedural guarantees.
- Implementing law in force: Ley 10831 of 18 November 2025 amended articles 3, 6 and 7 of the Extradition Law. The old bar on extraditing nationals no longer applies to requests for those two crimes, and a national charged with them cannot obtain the release that article 7 otherwise allows.
- Everything else unchanged: for any other offense, a Costa Rican (by birth or naturalization at the time of the act) is still not extradited and is instead tried by Costa Rican courts.
Questions about how the reform applies to acts committed before it took effect have been raised before the courts. Anyone facing a request should get case-specific legal advice.
Rights when arrested
Article 37 of the Constitution requires a proven indication that the person committed a crime and a written order from a judge or public-order authority, except for fugitives or people caught in the act. In every case, the detained person must be placed before a competent judge within a strict 24 hours.
Article 82 of the Código Procesal Penal requires police, prosecutors and judges to inform the accused immediately and understandably of their rights, including:
- to know the reason for the detention and who ordered it;
- to communicate immediately with a person or organization of their choice;
- to be assisted from the first act by a defense lawyer they choose or, failing that, a public defender;
- to remain silent and, if they agree to testify, to have their lawyer present; and
- not to be subjected to methods that alter their free will or violate their dignity.
People who do not understand Spanish have the right to an interpreter (article 14). Foreign nationals can also ask that their consulate be notified. Pretrial detention is only ordered by a judge under the conditions of article 239, such as flight risk or risk to the investigation or victims.
Recording conversations without consent
Article 24 of the Constitution protects the privacy of communications. Article 198 of the Penal Code punishes with one to three years in prison anyone who, without consent, records "the words of another or others" that are not intended for the public, or who uses technical means to listen to private conversations not directed to them. The penalty rises to two to six years if, among other things, the recording is published (article 200). Publishing private recordings, even ones lawfully in your possession, can also lead to fines (article 202).
There is an important exception. Under article 29 of Ley 7425, a person who takes part in a conversation through which a crime is committed (for example, extortion or threats) may record it and hand it to the police or courts, where it can be used as evidence. Wiretaps by the authorities require a court order and are limited to serious crimes listed in article 9 of that law. Whether a participant's recording outside that exception is lawful depends on the circumstances. If you are thinking about recording someone, get advice first.

Is prostitution legal?
Exchanging sex for money between consenting adults is not itself a crime in Costa Rica. The surrounding conduct, however, is heavily criminalized under the Penal Code:
- Proxenetismo (promoting, inducing, keeping someone in, or recruiting for prostitution): two to five years in prison (article 169), with aggravated forms.
- Rufianería (coercively living off a sex worker's earnings): two to eight years (article 171).
- Human trafficking: six to ten years (article 172).
- Promoting the country as a sex-tourism destination: four to eight years (article 162 bis).
- Any paid sexual act with a minor: a serious crime with prison terms that increase the younger the victim (article 160).
Who enforces the law
- Fuerza Pública: the uniformed preventive police under the Ministry of Public Security. It patrols, responds to emergencies and makes on-the-spot arrests.
- OIJ (Organismo de Investigación Judicial): the judicial investigation police, part of the Judicial Branch. It handles criminal investigation, forensic science and legal medicine.
- Policía de Tránsito: the traffic police under the Ministry of Public Works and Transport (see our page on traffic and DUI laws).
- Other specialized forces include the Border Police, Coast Guard, Drug Control Police and the immigration police.
Getting advice
Criminal matters move fast, and early decisions (such as whether to make a statement, how to handle a recording, or how to respond to an extradition request) can shape the outcome. If you or someone close to you is under investigation, has been detained, or is the subject of an extradition request, contact a qualified Costa Rican criminal attorney as soon as possible.
Sources
- Constitución Política de Costa Rica, articles 24, 32, 36, 37 and 39, current text, SINALEVI
- Ley 10730, Ley para permitir la extradición de nacionales (20 May 2025), SINALEVI
- Ley 4795, Ley de Extradición (16 July 1971), current text, SINALEVI
- Ley 10831, Reforma Ley de Extradición (18 November 2025), SINALEVI
- Ley 10936, search warrants in extradition proceedings (12 May 2026), SINALEVI
- Ley 7146, approval of the Extradition Treaty with the United States of America (30 April 1990), SINALEVI
- Ley 4573, Código Penal, current text, SINALEVI
- Ley 7594, Código Procesal Penal, current text, SINALEVI
- Ley 7425, Registro, Secuestro y Examen de Documentos Privados e Intervención de las Comunicaciones (9 August 1994), SINALEVI
- Organismo de Investigación Judicial (OIJ), Poder Judicial
Frequently asked questions
Does Costa Rica have an extradition treaty with the United States?
Yes. Costa Rica has an extradition treaty with the United States, approved by Ley 7146 of 1990, and treaties with many other countries. Where no treaty applies, the Extradition Law (Ley 4795) governs.
Can Costa Rica extradite its own citizens?
Since the 2025 reform of article 32 of the Constitution, yes, but only for international drug trafficking or terrorism, and only when the courts grant it with full procedural guarantees. For other crimes, Costa Ricans are tried at home instead.
Is self-defense legal in Costa Rica?
Yes. Article 28 of the Penal Code says there is no crime when someone defends their own or another person's life or rights against an unlawful attack, using a reasonably necessary means of defense. Excessive defense can still be punished.
Is it legal to record a phone call in Costa Rica?
Recording other people's private words without consent is a crime under article 198 of the Penal Code. However, a participant who records a conversation in which a crime is committed against them may give the recording to the authorities under Ley 7425.
Is prostitution legal in Costa Rica?
Adult prostitution itself is not a crime, but promoting it (proxenetismo), living off it coercively, human trafficking, sex tourism promotion and any paid sexual act with a minor are serious crimes.
How long can police hold me without seeing a judge?
Under article 37 of the Constitution, anyone detained must be placed before a competent judge within a strict 24-hour period.
Related Costa Rica laws
Talk to a lawyer
This page is general information about Costa Rican law. For advice on your own situation, book a consultation or send us a short question.
The information on this website is general information, not legal advice. Contacting us does not create an attorney-client relationship.


