Costa Rica sells itself on sun, surf, and “pura vida.” And for most visitors, that’s exactly what they get. However, Costa Rica is also known internationally for its sex tourism industry, which has grown alongside the country’s broader tourism industry. The country is promoted as a popular destination for sex tourism, and this aspect of the tourism industry has contributed to both economic growth and social challenges.
This guide explains Costa Rica sex laws in plain English, with an emphasis on what typically trips visitors up: consent rules, public decency, sex work boundaries, digital content pitfalls, and what to do if a situation turns serious. It’s not personal legal advice, but it’s the kind of practical overview travelers wish they’d read before they needed it.
How Costa Rica Regulates Sex And Consent
Costa Rica’s criminal laws focus heavily on consent, age, and power imbalances (for example, relationships involving authority, dependency, or exploitation). Visitors often assume “if it’s consensual, it’s fine,” but Costa Rican law, and law enforcement practice, can be stricter around incapacity, coercion, and anything involving minors.
Age Of Consent And Close-In-Age Considerations
Costa Rica’s age of consent is 15 in many contexts. That headline number, but, doesn’t mean “anything goes at 15.” The law contains protections for minors and heightened penalties where there is exploitation, a meaningful age gap, or a relationship involving authority or vulnerability.
Key practical points for visitors:
- Anyone under 18 is still a minor. Even when the age of consent threshold is met, sexual activity that involves exploitation, coercion, or manipulation can trigger serious offenses.
- Age-gap and power-dynamic scenarios are higher risk. If one person is significantly older, provides money or gifts, or is perceived to be taking advantage of youth or dependency, authorities can view the situation through an exploitation lens.
- “They said they were 18” is not a shield in many cases. When minors are involved, a visitor’s claimed mistake about age may not protect them, especially if circumstances suggest they didn’t take reasonable steps to verify.
Costa Rica is a destination for child sex tourism, with many sex tourists specifically targeting children and girls. This makes strict enforcement of age laws and protections against child prostitution and trafficking a top priority for authorities.
In other words: from a visitor’s risk-management perspective, the safest approach is simple, avoid sexual activity with anyone who could plausibly be under 18. In tourist areas, where IDs may not be checked and language barriers exist, ambiguity itself is the danger.
Consent, Coercion, And Incapacitation
Costa Rican law treats consent as something that must be freely given and ongoing. Consent can be absent not only where there is force, but also where there is coercion, threats, intimidation, abuse of authority, or significant impairment.
Travel-specific situations that commonly create legal exposure:
- Alcohol/drug impairment. If a person is too intoxicated to understand what is happening or to make a free decision, consent may be legally invalid. “Both were drinking” does not automatically equal “both consented.” Costa Rican law also has specific regulations regarding drugs, including personal use limits, and drug-related impairment can further complicate legal situations.
- Pressure and persistence. Repeatedly pushing after a “no,” isolating someone, blocking exits, taking a phone, or leveraging money/transportation can be interpreted as coercive.
- Consent to one act isn’t consent to all acts. Even within an ongoing encounter, consent can be withdrawn at any time.
For travelers, the rule is less about memorizing statutes and more about behavior: clear, sober, enthusiastic consent is the safest standard in any country, including Costa Rica.
Public Decency, Nudity, And Sexual Conduct In Public
Beach culture can feel permissive, and some tourist zones look like anything is tolerated. But Costa Rica has public-order rules that can apply to nudity, sexual acts in public, and behavior considered offensive or disruptive. Public nudity and sexual conduct are also prohibited in national parks, which are popular destinations for both locals and foreigners. Drinking alcohol is not permitted in any public space in Costa Rica, including beaches and parks.
What Counts As Public Indecency
“Public indecency” isn’t just a dramatic scenario. The risk often comes from ordinary vacation judgment calls, late-night swims, skinny-dipping, or sexual activity on a beach after dark.
Conduct that can draw police attention includes:
- Sexual activity in public or semi-public places (beaches, parks, trails, vehicles parked in public areas)
- Intentional exposure that offends or alarms others
- Harassment-style conduct (unwanted sexual comments, touching, following, or lewd gestures)
While some visitors may try to avoid tan lines by sunbathing topless, it’s important to remember that local sensitivities and laws regarding nudity and modesty still apply.
Enforcement can be uneven, some places look the other way until someone complains. But a complaint, especially from locals or families nearby, can quickly escalate into detention, questioning, or fines.
Beaches, Resorts, And Clothing-Optional Areas
Costa Rica is not broadly “nudity-friendly” in the legal sense, even if some visitors treat it that way.
- Resorts and private properties can set their own rules (including adult-only pools, topless sunbathing in certain areas, or themed events). Those rules do not automatically change public law outside the property.
- Public beaches are generally not the place to assume clothing-optional norms. Topless sunbathing may be tolerated in some tourist-heavy beaches, but tolerance is not the same as legal protection.
- “Hidden” spots aren’t truly private. A cove, jungle path, or empty stretch of sand can still be considered public if others can access it.
For visitors who want to avoid trouble, the simplest guideline is: keep sexual activity in private accommodations, and if experimenting with minimal clothing, do so only where the property explicitly allows it and the setting is clearly non-public.
When planning your trip, make sure you are aware of Costa Rica’s local laws regarding nudity and public conduct to avoid legal issues during your stay.
Sex Work And Related Offenses
Sex work is one of the most misunderstood areas of Costa Rica sex laws. An estimated 15,000 prostitutes (sex workers) work in Costa Rica, many of whom are women and immigrants from other Latin American countries such as Colombia, Nicaragua, Venezuela, and the Dominican Republic. Prostitution is common and practiced openly throughout Costa Rica, particularly in popular tourism destinations, with many sex workers motivated by economic necessity to support their education or families. The majority of sex tourists—about 80%—are from the United States, and sex tourism is embraced due to its economic benefits, despite ongoing social issues and challenges faced by women, including violence and discrimination. The proceeds from sex tourism and related illegal activities support local businesses, especially in hotspots like Jacó. Visitors may hear “prostitution is legal” and assume that means buying sex is a low-risk transaction. The legal reality is narrower, and the practical risk can be much higher because of related offenses like solicitation, pimping, trafficking, and exploitation.
Is Prostitution Legal, And What Activities Are Not
Costa Rica is often described as having a form of tolerated adult prostitution, but that does not mean there is a fully regulated commercial sex market like in some countries.
In broad terms:
- An adult exchanging sex for money may not, by itself, be criminalized in the same way it is in other jurisdictions.
- But, many surrounding activities can be illegal or legally risky, including:
- Pimping/procuring (third-party profiting or arranging)
- Operating or managing venues that help commercial sex in prohibited ways
- Public solicitation or conduct that violates public-order rules
- Any involvement with minors, which is treated extremely seriously
Keep in mind the same laws are in place for tourists participating in prostitution in Costa Rica.
Because the line between “private agreement” and “organized facilitation” can be blurry, a visitor who thinks they are engaging in a straightforward exchange can end up in a situation that authorities view as part of a broader illegal operation.
Brothels, Solicitation, Trafficking, And Exploitation Risks
This is where travelers face the biggest real-world danger, not just legal exposure, but personal safety and moral risk.
- Trafficking and exploitation exist in tourist corridors worldwide, including Central America. A visitor cannot reliably tell whether a person is acting freely, is under pressure, or is underage.
- Bars, “massage” setups, and intermediaries can create legal problems because third-party involvement is a common red flag for procurement and exploitation.
- Minors and strict consequences. Any sexual contact involving a minor can trigger severe penalties. “They looked older” is not a plan.
Costa Rica is recognized as a source, transit, and destination country for women and children subjected to human trafficking. Many trafficking victims originate from other countries, including Colombia, Nicaragua, and other parts of South America, as well as the Dominican Republic and Guatemala. Human trafficking and child prostitution are especially prevalent in urban areas and popular sex tourism destinations such as San José and Jacó. In San José, the Hotel del Rey is known as one of the largest brothels in Costa Rica, where prostitution is openly practiced and which attracts many foreign tourists. These destinations attract older men from abroad, who are a common demographic among sex tourists seeking companionship, particularly in well-known establishments. The Costa Rican government has acknowledged that human trafficking is a significant source of revenue, with estimates of 25 to 40 people being trafficked into and out of the country each week. Costa Rica has strict laws against human trafficking, with penalties between 4 and 20 years in prison. Costa Rican immigration authorities play a key role in combating human trafficking and child prostitution, working to identify victims and perpetrators despite enforcement challenges. The government has also implemented initiatives to curb child prostitution, including education campaigns among tourist industry workers. Law enforcement departments, such as the Judicial Investigation Department and the Fuerza Pública, are actively involved in investigating cases of trafficking and exploitation, and the government continues to implement measures to address these issues.
A cautious, lawful approach for visitors is to avoid commercial sex entirely while traveling, especially in unfamiliar environments where consent and age cannot be verified with confidence and where exploitation is a documented risk.
Pornography, Sexting, And Digital Sexual Conduct
Phones make it easy to cross a legal line without realizing it. In Costa Rica, as elsewhere, the biggest problems arise from recording without consent, sharing intimate images, and anything involving minors.
Child pornography is a serious crime in Costa Rica, with international efforts and research highlighting the connection between child sexual exploitation and the spread of HIV among children. Media articles and research studies have documented the prevalence of child pornography and its impact on vulnerable populations, emphasizing the need for strict enforcement and public awareness. These media reports often include pictures of injuries and video interviews with trans sex workers to highlight incidents of violence and abuse faced by the community. Many legal materials and awareness campaigns in Costa Rica are in Spanish, so understanding Spanish can help visitors stay informed about legal and social issues, including legal penalties and social problems like sex tourism and human trafficking.
Adult Content Rules And Recording Without Consent
Adults can generally consume lawful adult pornography privately. The legal risk tends to come from how content is created and distributed.
Common pitfalls for travelers:
- Filming sexual activity without clear consent. If someone did not knowingly agree to be recorded, it can implicate privacy rights and criminal law.
- Hidden cameras and “surprise” recording are especially dangerous. Even if the encounter was consensual, non-consensual recording can be treated as a separate offense.
- Sharing intimate images after a breakup or argument. Distributing private sexual images without permission (sometimes called “revenge porn”) is a serious issue in many countries and can lead to criminal complaints.
Visitors should assume a conservative rule: no recording unless every person clearly agrees, understands the recording, and agrees to how it will be stored/shared. Anything less is gambling with someone else’s privacy, and their own freedom.
Child Sexual Abuse Material And Strict Liability Traps
Costa Rica treats child sexual exploitation materials as among the most serious offenses. Travelers can stumble into danger in ways that feel “digital” or indirect.
Examples of high-risk scenarios:
- Receiving images from someone who is under 18, even if they claim it’s “their choice.” Possessing or sharing sexual images of minors can lead to severe consequences.
- Sexting with someone whose age is unclear. Dating apps are not age verification.
- Saving or forwarding content in group chats without checking what it is.
A practical safety rule for visitors: never request, accept, store, or forward sexual content from anyone who could be under 18. If there is any doubt, stop the conversation and delete the material in a way consistent with platform and legal guidance. When in doubt, a local attorney is the correct next call.
Relationships, Marriage, And LGBTQ+ Considerations For Travelers
Costa Rica is often viewed as one of the more socially progressive countries in the region, but “legal rights” and “day-to-day comfort” can differ by neighborhood, venue, and local culture.
Marriage, Cohabitation, And Domestic Partnerships Basics
Costa Rica recognizes civil marriage, and long-term cohabitation can carry legal implications in some contexts (particularly around property or family matters). For most visitors, the main points are practical:
- Tourist relationships have no special legal status. A vacation romance does not create rights to property, medical decisions, or immigration benefits.
- Marriage in Costa Rica has formal requirements. Visitors considering marriage should plan ahead for documentation, translations, and local procedural rules.
- Privacy expectations matter. Hotels may require valid identification for guests, and some properties enforce guest policies more strictly than travelers expect.
This section is less about criminal exposure and more about avoiding administrative surprises, especially for couples staying long-term or returning frequently.
LGBTQ+ Rights, Discrimination, And Practical Safety
Costa Rica has strong legal recognition of LGBTQ+ rights compared with many countries, including same-sex marriage (legal since 2020). That legal framework matters, but travelers still navigate real-world variation.
Practical considerations:
- In major tourist areas, LGBTQ+ travelers often report a generally welcoming atmosphere, especially in parts of San José and popular beach towns.
- In more conservative settings, public displays of affection may draw attention even if they are not illegal.
- Discrimination can still happen. Legal protections exist, but enforcement and social attitudes can vary.
For visitors, the safest approach is situational awareness: choose LGBTQ+-friendly accommodations, consider local norms in smaller communities, and keep a plan for transportation and communication after nightlife.
What Happens If Something Goes Wrong
When you visit Costa Rica, you may expect to enjoy its natural attractions and cultural sites, but it’s important to be aware of the legal realities that can arise if something goes wrong. When a situation turns into a police matter, whether someone is accused, arrested, or assaulted, what happens next is usually faster and more stressful than people expect. Knowing the basic playbook can prevent panic-driven mistakes.
If you owe money in Costa Rica, such as legal fines, unpaid bills, or outstanding child support, authorities may not allow you to leave the country until these obligations are settled. Specifically, owed child support must be paid before departure, and failure to do so can result in detention or restrictions on your ability to leave.
If you need help, seek medical treatment promptly. Friends or companions can be valuable in helping you navigate local healthcare or legal systems, especially if you are unfamiliar with the process.
Police Encounters, Searches, And Your Rights As A Visitor
A visitor’s nationality does not exempt them from Costa Rican law. If police become involved, the most important goals are to stay calm, avoid escalating, and get qualified legal help quickly. Visitors and sex workers should also be aware of the risk of false accusations, particularly in situations involving police misconduct or harassment, which can increase vulnerability and legal complications.
General best practices (not jurisdiction-specific legal advice):
- Carry identification (or a lawful copy) and keep immigration status documents accessible.
- Be polite and minimal. Arguing on the street rarely improves outcomes.
- Do not consent to searches casually. If an officer asks to search belongings or a phone, a visitor can ask whether it is required and on what basis. If consent is given, it can be harder to challenge later.
- Ask for an attorney and consular notification. Many countries allow detained citizens to contact their embassy/consulate. Visitors should request that early.
- Avoid signing documents not understood. Language barriers are real: requesting translation or counsel is reasonable.
Even when someone believes they are “just helping,” detailed statements made without legal advice can be misinterpreted.
Reporting Sexual Assault And Accessing Help
If someone experiences sexual assault or coercion, getting help quickly matters, for safety, medical care, and evidence preservation.
Practical steps that tend to help:
- Get to a safe location first. A hotel front desk, trusted friend, or a well-lit public place can help create distance.
- Seek medical care promptly. Medical professionals can address injuries, pregnancy prevention, and STI exposure. They can also document findings.
- Report to police when ready and able. If reporting, it helps to write down details while memory is fresh (times, locations, descriptions, messages).
- Preserve digital evidence. Screenshots, call logs, rideshare records, and chat messages can be important.
- Contact the embassy/consulate for guidance on local processes and lists of attorneys or translators.
No one should have to navigate that alone in a foreign country. Hotels, tour operators, and reputable local organizations can sometimes help coordinate transportation and translation, but survivors should be cautious about sharing details with unverified intermediaries.
Conclusion
Costa Rica is an easy country to love, and an easy place to get overly relaxed. But the smartest visitors treat sex and consent as an area where “vacation rules” don’t exist. The legal and practical risks tend to cluster around a few predictable hotspots: age ambiguity, intoxication, public sexual conduct, commercial sex and exploitation, and recording/sharing content without explicit permission.
For travelers who want the pura vida experience without legal fallout, the best strategy is boring but effective: keep intimate encounters private, prioritize clear consent, avoid anything involving minors or age uncertainty, and never record or share sexual content without unmistakable agreement. If a situation escalates, contacting an attorney and one’s consulate early is often the difference between a manageable problem and a life-changing one.
Frequently Asked Questions About Costa Rica Sex Laws
What should visitors know about Costa Rica sex laws before dating or going out at night?
Costa Rica sex laws put heavy weight on consent, age, and power imbalances. Vacation settings—alcohol, nightlife, beaches, and dating apps—often create the biggest risk. The safest approach is clear, sober, ongoing consent, avoiding anyone who could be under 18, and keeping sexual activity private.
What is the age of consent in Costa Rica, and does “they said they were 18” protect you?
The age of consent in Costa Rica is 15 in many contexts, but anyone under 18 is still a minor and extra protections apply. Significant age gaps, gifts/money, or exploitation concerns raise risk. “They said they were 18” often won’t shield you—ambiguity is a major danger for visitors.
Can you get in trouble for sex on the beach or public nudity in Costa Rica?
Yes. Even if a beach feels permissive, public-order rules can apply to nudity, exposure, and sexual acts in public or semi-public places (beaches, parks, trails, vehicles). Enforcement varies, but a single complaint can lead to detention, questioning, or fines. Keep intimate activity in private accommodations.
Is prostitution legal in Costa Rica, and is buying sex low-risk for tourists?
Costa Rica is often described as tolerating adult prostitution, but that doesn’t mean a fully regulated, low-risk market. Many related activities can be illegal or risky—solicitation, third-party arranging (pimping/procuring), and any link to trafficking or exploitation. Because age and consent can’t be reliably verified, avoiding commercial sex is safest.
What are the biggest digital or sexting risks under Costa Rica sex laws?
The biggest pitfalls are recording without explicit consent and sharing intimate images without permission. Hidden or “surprise” filming can be treated as a separate offense even if the encounter was consensual. Anything involving minors is extremely serious—never request, accept, store, or forward sexual content from anyone who could be under 18.
If police get involved in a sex-related incident in Costa Rica, what should you do?
Stay calm, be polite, and keep statements minimal. Carry ID (or a lawful copy) and don’t casually consent to searches—ask if a search is required and why. Request an attorney and ask for consular notification early. Don’t sign documents you don’t understand; ask for translation or legal counsel.



