Prostitution is legal in Mexico for consenting adults. No federal law criminalizes selling or buying sex between adults, and the Federal Penal Code says nothing about the activity itself. What exists instead is a patchwork: each state and municipality decides how, where, and under what conditions sex work can take place, so the same activity can be openly regulated in one city and informally tolerated a few kilometers away.
What Federal Law Does and Doesn’t Say
Mexico’s federal legislation does not mention sex work. There is no national statute that prohibits, permits, or regulates the sale of sexual services between consenting adults, and clients are not penalized federally either. The federal criminal provisions that touch the industry target third parties: pimping and trafficking, which are separate offenses from the act of sex work itself.
Because the federal government stays out, every state and municipality handles the industry through its own political constitution and local administrative codes. States can regulate through health and public order rules, tolerate the activity informally, or restrict it through local ordinances. A worker registered in one municipality may face entirely different administrative requirements in the next.
How States and Cities Regulate the Work
In regulated municipalities, the rules usually appear in local police and public order ordinances rather than criminal codes. Enforcement focuses on public order violations like solicitation in prohibited areas, not on the underlying transaction. Workers who stay within the boundaries set by municipal rules generally face no legal consequences for the work itself. Step outside those boundaries and the result is typically an administrative fine or brief detention, not a criminal charge.
Local laws typically require workers to register, whether they operate on the street within a designated area or inside a venue. Workers who share a private home as a workspace may also be required to register individually. Brothel owners who employ workers must separately notify local authorities about any new hire, but the workers themselves are responsible for completing their own registration. The justification given is almost always public health, specifically the prevention of sexually transmitted infections.
Tolerance Zones
Many municipalities concentrate the industry into specific geographic districts known as tolerance zones. These areas allow sex work to operate openly within defined boundaries, kept away from schools, churches, and residential neighborhoods. Local governments use the zones to centralize activity where police can maintain a visible presence and health inspectors can conduct checks.
The setup varies by city. In some zones, workers rent individual rooms from private operators who own or lease the physical spaces. Cities may subsidize parts of the operation, including bulk purchases of condoms distributed free to workers. Clients entering certain zones pay a small entrance fee that offsets municipal operating costs, and police stationed at entry points screen visitors for intoxication before letting them in.
Working outside a tolerance zone is where problems usually start. Solicitation on public streets in non-designated areas typically counts as an administrative infraction rather than a criminal offense. Penalties vary by municipality and can include fines or short-term detention. Zone boundaries are defined in the municipal gazette by specific street names or landmarks, and business owners inside a zone need special land-use permits to operate.
Health Registration and Medical Checks
Registered workers in regulated municipalities must undergo regular medical examinations as a condition of continued work. Screenings test for HIV and other sexually transmitted infections, with frequency set locally. Some municipalities require monthly testing, others bi-weekly. Workers who pass receive an updated health card that serves as both a registration document and proof of current clearance.
Examinations are usually performed at municipal health department clinics. A worker whose card is expired or missing can be removed from a workplace immediately and may face administrative fines. Health inspectors conduct surprise visits to venues to verify that every worker present holds a current card, and establishments where unregistered workers are found can face temporary closure.
The system creates a two-tier reality. Registered workers inside tolerance zones operate with a degree of institutional protection and access to regular healthcare. Unregistered workers, who by most estimates make up the majority of the industry, operate outside this framework entirely. The mandatory registration has drawn criticism from advocacy groups who argue it functions more as surveillance than a genuine health measure, especially since it applies only to workers and not to clients.
Pimping and Trafficking Are Serious Crimes
While individual sex work is tolerated, profiting from someone else’s sex work is a serious offense. The Federal Penal Code defines lenocinio to cover three scenarios: exploiting another person through commercial sex and keeping the proceeds, inducing or recruiting someone into prostitution, and running a brothel or similar venue dedicated to exploiting workers for profit. The penalty is two to nine years in prison and a fine of 50 to 500 days of the minimum wage.1Justia Mexico. Codigo Penal Federal – Articulos 206 al 207 Lenocinio y Trata de Personas
The heavier charges fall under Mexico’s General Law to Prevent, Punish, and Eradicate Trafficking Crimes. This federal statute targets anyone who benefits from sexually exploiting another person through deception, violence, abuse of power, or exploitation of a vulnerable position. The penalty for sexual exploitation under this law is 15 to 30 years in prison and a fine of 1,000 to 30,000 days of the minimum wage.2Cámara de Diputados del H. Congreso de la Unión. Ley General para Prevenir, Sancionar y Erradicar los Delitos en Materia de Trata de Personas y para la Proteccion y Asistencia a las Victimas de estos Delitos
The distinction matters in practice. Lenocinio covers traditional pimping, where someone profits from another person’s sex work. Trafficking charges apply when exploitation involves coercion, deception, or abuse of power. Prosecutors can pursue both, and trafficking convictions carry dramatically longer sentences. The framework is built to protect the agency of individual workers while severely punishing anyone who exploits them.
Minors Are Off Limits Entirely
Any commercial sexual activity involving someone under 18 triggers the harshest penalties in Mexico’s criminal framework. Procuring or facilitating commercial sexual activity involving a minor is a standalone offense separate from both lenocinio and trafficking. The trafficking law imposes 15 to 30 years in prison and fines of 2,000 to 60,000 days of the minimum wage for anyone who induces, promotes, or facilitates a minor’s involvement in sexual acts or sexually explicit material for economic gain.2Cámara de Diputados del H. Congreso de la Unión. Ley General para Prevenir, Sancionar y Erradicar los Delitos en Materia de Trata de Personas y para la Proteccion y Asistencia a las Victimas de estos Delitos
Sexual tourism involving minors carries 15 to 25 years in prison under the same law. Promoting, advertising, or facilitating travel for the purpose of sexual contact with a minor falls under this provision regardless of whether the perpetrator is a Mexican citizen or a foreign national.
The U.S. State Department’s Trafficking in Persons Report has noted that commercial child sexual exploitation is increasing in Mexico, particularly in tourist areas and northern border cities. Foreign nationals from the United States, Canada, and Western Europe are identified among the perpetrators, alongside Mexican men. Children experiencing homelessness face especially high risk, and parents are sometimes complicit in facilitating exploitation of their own children.3U.S. Department of State. 2024 Trafficking in Persons Report – Mexico
Taxes Apply Like Any Other Independent Work
Because sex work is treated as a form of independent economic activity rather than a crime, workers who earn income from it have the same tax obligations as any other self-employed person in Mexico. Every taxpayer must obtain a Federal Taxpayer Registration number, known by the acronym RFC, through the Tax Administration Service. All income must be documented using Mexico’s mandatory electronic invoicing system in the CFDI 4.0 format.
Independent workers earning up to 3.5 million pesos annually may qualify for the Simplified Trust Regime, with income tax rates from 1% to 2.5% on gross invoiced income. Workers above that threshold fall under the standard progressive income tax, where rates range from 1.92% at the lowest bracket to 35% on income above roughly 4.5 million pesos. Monthly provisional payments are due by the 17th of the following month, and the annual return for individuals is due by April 30.
In practice, compliance is low across Mexico’s informal economy, and sex work is no exception. Many workers operate entirely in cash without issuing invoices, which technically constitutes tax evasion but is rarely prosecuted at the individual level. Workers who do formalize their status gain the ability to deduct business expenses and build a documented income history, which matters for applying for credit or qualifying for government programs.