Monday to Friday · 9:00 a.m. to 6:00 p.m. [email protected] Roma Norte, Mexico City

Child Custody in Mexico: Laws, Shared Custody, Travel and Hague Abduction Rules

Updated November 14, 2026 · Written by Mexican lawyers in Mexico City · Mexican federal law and Mexico City law

Quick answer

In Mexico City, a family judge decides child custody (guarda y custodia) according to the child's best interest, and parents can agree on shared custody through a written agreement (Código Civil para el Distrito Federal, articles 282 and 416).

Since a reform of June 2, 2022, Mexico City law no longer gives mothers automatic custody of children under 12: the judge decides whether the child stays with the mother, the father or another person based on the facts of each case (article 282).

Custody is different from patria potestad (parental authority): a parent without custody usually keeps parental authority, the right to visitation and the duty to pay child support (articles 416 and 416 Bis).

Mexico has applied the 1980 Hague Child Abduction Convention since September 1, 1991, so a parent can ask for the prompt return of a child wrongfully taken to or kept in Mexico.

A Mexican or resident child who leaves Mexico alone or with an adult who is not a parent or guardian needs a notarized authorization or the INM SAM form (Reglamento de la Ley de Migración, article 42).

Ask a lawyer in English on WhatsApp

Key facts

  • Mexico City judges must hear the child, assisted by a DIF psychologist, social worker or educator, before deciding a custody or visitation dispute (Civil Code, articles 417 and 417 Bis).
  • A judge can limit or suspend visitation only by court order, and only for repeated failure to meet parenting duties or danger to the child's health or safety (article 416 Bis).
  • A judge can remove patria potestad from a parent who fails to pay child support for more than 90 days without justification, abandons the child for more than 3 months, or wrongfully takes or keeps the child (article 444, sections IV, V and IX).
  • A parent who owes child support cannot ask for a change of custody or for the other parent's loss of patria potestad until he or she pays (article 323).
  • The Hague Abduction Convention applies to children under 16 and has been in force between Mexico and the United States since October 1, 1991.
  • Adulthood in Mexico starts at 18, when custody and patria potestad end (Civil Code, articles 443 and 646).

What is child custody in Mexico?

Child custody in Mexico (guarda y custodia) is the right and duty to live with a child and care for the child day to day. It is narrower than patria potestad (parental authority), which covers the child’s education, legal representation and property. In Mexico City, the Código Civil para el Distrito Federal regulates both, and a family judge decides any dispute based on the interés superior del menor (the child’s best interest).

Most separated parents keep shared patria potestad. One parent, or both under shared custody, has guarda y custodia, and the other parent keeps visitation rights and the duty to pay support.

How custody works, step by step

  1. Try an agreement first. Parents can agree on custody, visitation and support. In a divorce, the agreement is part of the convenio (settlement proposal) that article 267 requires. Read our guide on divorce in Mexico City for that process.
  2. File in the right court. A parent files a custody claim or a divorce with the family courts of the Tribunal Superior de Justicia de la Ciudad de México.
  3. Ask for provisional custody. From the first filing, the judge can set temporary custody, visitation and child support, plus protection measures in cases of family violence (Civil Code, article 282; article 275 in a unilateral divorce). When a parent asks for provisional custody and the other parent disagrees, the judge holds a hearing within 15 days (Código de Procedimientos Civiles, article 941 Bis).
  4. The judge hears the child. A specialist from DIF (Desarrollo Integral de la Familia, Mexico’s child welfare agency) assists the child during a private interview with the judge (articles 417 and 417 Bis).
  5. Evidence and evaluations. The judge can order psychological evaluations, home studies and school reports.
  6. Final resolution. The judge sets custody, the visitation schedule and child support. Either parent can later ask to modify custody if circumstances change.

Requirements and documents

  • The child’s birth certificate. A foreign certificate needs an apostille and a Spanish translation by a perito traductor (court-authorized translator).
  • Your ID and proof of address in Mexico City.
  • A care plan: home, school, schedule, health insurance and who cares for the child while you work.
  • Evidence of income and expenses, because the judge also sets child support.
  • Evidence of any risk: police reports, medical records or messages showing violence or threats to take the child abroad.

Custody concepts compared

ConceptWhat it meansWho usually has it after separationLegal basis (Mexico City Civil Code)
Patria potestadParental authority over the child’s person and propertyBoth parentsArticles 412 to 414
Guarda y custodiaLiving with and caring for the child dailyOne parent, or both if sharedArticles 282 and 416
Custodia compartidaShared custody by agreementBoth parentsArticles 275, 282 and 283 Bis
ConvivenciaVisitation and contact with the non-custodial parentNon-custodial parent and grandparentsArticle 416 Bis
Pérdida de patria potestadLoss of parental authority by court orderOnly in cases listed by lawArticle 444

Travel and abduction rules

SituationWhat the child needs to leave MexicoSource
Child travels with both parentsValid passport and, for foreigners, the immigration documentReglamento de la Ley de Migración, article 42
Child travels with one parent or guardianValid passport and compliance with civil law requirements; the Reglamento does not require the SAM form, but a court order or alert can block travelReglamento, article 42, section V, a)
Child travels alone or with another adultAuthorization from the parents signed before a notary, or the INM SAM form; documents from abroad need an apostilleReglamento, article 42, section V, b)
Child taken abroad without consentReturn application under the 1980 Hague ConventionHague Convention, in force for Mexico since September 1, 1991
Parent fears abductionCourt order restricting the child’s departure, notified to INMFamily judge’s provisional measures

The SAM rule applies to Mexican children and to foreign children with temporary, temporary student or permanent residency in Mexico. For a foreign child visiting Mexico as a tourist, Mexican rules only require a valid passport, although the airline and the destination country can ask for more.

What Mexican law says

Article 282 of the Civil Code lets parents agree on shared custody and requires the judge to weigh the child’s best interest and take the child’s opinion into account. A reform published on June 2, 2022, removed the rule that kept children under 12 with their mother. The judge now decides, case by case, whether a child under 12 stays with the mother, the father or a third person. The same article says that lack of income cannot count against a parent who did unpaid care work at home.

Article 416 says that, when parents separate, one parent keeps daily care and the other must contribute to the child’s support and upbringing while keeping visitation. Article 416 Bis gives children the right to live with and see both parents, and allows a judge to limit visitation only for repeated failure to meet parenting duties or danger to the child. Article 444 lists the causes of loss of patria potestad, including family violence against the child, unpaid support for more than 90 days and the wrongful removal or retention of the child by the parent who exercises it. Article 417 requires the judge to hear the child in any dispute over visitation or a change of custody, with a DIF assistant present (article 417 Bis).

Mexico joined the 1980 Hague Convention on the Civil Aspects of International Child Abduction, and it entered into force for Mexico on September 1, 1991. The Convention protects children under 16 and orders their prompt return to the country of habitual residence, with limited exceptions such as a grave risk of harm. Mexico and the United States have been treaty partners since October 1, 1991. The SRE (Secretaría de Relaciones Exteriores, Mexico’s foreign ministry) acts as Mexico’s Central Authority.

Scenarios for foreigners

If you are an American father and the mother is Mexican. Your nationality does not reduce your custody rights in Mexico City. Show the judge a stable home, a school plan and your involvement in daily care. If you plan to return to the United States, discuss relocation in the agreement, because moving the child without consent can start a Hague case.

If your ex-partner brought your child from Canada to Mexico City without your consent. Contact your Central Authority in Canada at once and file a Hague return application. Act within one year: after that, the other parent can argue that the child has settled in Mexico.

If you are a European parent and want to travel home for the holidays with your Mexican or resident child. With one parent, the Reglamento does not require the SAM form. Still, carry the other parent’s written consent, notarized and apostilled if possible, plus the custody resolution, because airlines and border officers can ask questions.

If you fear the other parent will take your child abroad. Ask the family judge for a provisional measure that restricts the child’s departure from Mexico. The judge notifies the immigration authorities, and INM can then stop the child at the airport.

Common mistakes foreigners make

  • Moving abroad with the child without a court order or written consent. This can turn you into the respondent in a Hague abduction case, and a Mexico City judge can treat it as a cause for loss of patria potestad (article 444, section IX).
  • Confusing custody with parental authority. Losing custody does not end patria potestad or the duty to pay support.
  • Withholding support to pressure the other parent. Article 323 bars a parent who owes support from requesting a change of custody until he or she pays. See child support in Mexico.
  • Bringing unapostilled foreign documents. Get apostilles and translations early. Our apostille guide explains how.
  • Waiting too long after an abduction. The one-year mark in the Hague Convention changes the case.

For more detail in Spanish, read our guides on guarda y custodia compartida en la CDMX and patria potestad en la CDMX.

How we help

Abogados en CDMX represents foreign parents in custody, visitation and Hague return cases before Mexico City family courts, in English. We prepare your care plan, request provisional custody and ask for travel restrictions when a child is at risk. Write to us on WhatsApp in English at +52 55 6465 5501 with your child’s age, nationality and where the child lives today.

Frequently asked questions

What are the child custody laws in Mexico?

Each Mexican state has its own family code, and in Mexico City the Código Civil para el Distrito Federal applies. The judge first respects the parents' agreement, including shared custody, and, absent an agreement, decides based on the child's best interest after hearing the child. Since 2022, the law no longer presumes that children under 12 stay with the mother.

Does the mother automatically get custody in Mexico?

Not in Mexico City. A reform published on June 2, 2022, replaced the old maternal preference with a case-by-case decision for children under 12. The judge can give custody to the mother, the father or even a third person, depending on who offers the best conditions for the child's care and development.

Is shared custody possible in Mexico City?

Yes. Parents can agree on guarda y custodia compartida (shared custody) in their agreement, and the judge approves it if it does not put the child at risk in daily life (Civil Code, articles 275, 282 and 283 Bis). The agreement should set where the child lives each week, school pickups, holidays and how each parent pays expenses.

Can a parent take a child out of Mexico without the other parent's consent?

Under article 42 of the Reglamento de la Ley de Migración, a child traveling with one parent or guardian does not need the SAM form at the airport, as long as that parent meets the requirements of civil law. However, a court order or a migration alert can stop the child from leaving, and moving the child's residence abroad without consent can trigger a Hague return case. Get written consent or a court authorization before any long trip.

What is the SAM form for minors leaving Mexico?

The Formato de Salida de Menores (SAM) is the INM form that parents or guardians sign to authorize a Mexican child, or a foreign child with temporary, student or permanent residency, to leave Mexico alone or with a third adult. You fill it out online on the INM website, sign it and present it to the INM officer at departure. An authorization signed before a Mexican notary works as an alternative, and a document signed abroad needs an apostille or legalization (Reglamento de la Ley de Migración, article 42).

What happens if my child is taken to Mexico without my consent?

You can file a return application under the 1980 Hague Convention with the Central Authority of your country, such as the US Department of State, which sends it to the Mexican Secretaría de Relaciones Exteriores (SRE). A Mexican judge then decides whether the child returns to the country of habitual residence. File quickly, because after one year the other parent can argue that the child is settled in Mexico.

Can a foreign parent get custody in Mexico?

Yes. Mexican family judges decide custody based on the child's best interest, not on the parent's nationality. A foreign parent should show stable housing, a care plan, schooling and, if relevant, a regular immigration status in Mexico.

At what age can a child choose which parent to live with in Mexico?

Mexico City law sets no fixed age. The judge must hear the child regardless of age, with the help of a DIF specialist, and must take the child's opinion into account (Civil Code, articles 282 and 417). The child's opinion weighs more as the child grows older, but the judge decides based on the child's best interest.

Do I need a lawyer for a custody case in Mexico City?

Mexico City family judges must correct legal deficiencies in a parent's filing (Código de Procedimientos Civiles, article 941), but custody cases involve evidence, psychological evaluations and hearings in Spanish. A lawyer prepares your care plan, requests provisional custody and asks the judge for measures such as a travel restriction when there is a risk of abduction.

Talk to a Mexico City lawyer in English

Our lawyers review your documents, explain your options under Mexican law and tell you the next step. Send us a message on WhatsApp, and we will reply in English.

WhatsApp +52 55 6465 5501

This guide explains Mexican law in general terms and does not replace advice on your specific case. Laws, fees and requirements change; we review this page periodically.