Child custody and visitation rights in Peru
Since Law 31590 (2022), shared custody (tenencia compartida) is the first legal option when parents are separated: both share parenting unless that isn't possible or would harm the child. The old rule that a child under three stays with the mother no longer exists. If parents don't agree, the judge must grant shared custody as the first option and can only exceptionally give exclusive custody to one parent.
VerificationVerified against the official sourceSee the sources ↓
- 9sources cited
- 9read at the official source
- 2official institutions
El Peruano · Peruvian State portal (gob.pe)
Checked 1 Oct 2026Next review 19 Mar 2027
The law changed substantially in 2022: it’s no longer “agreement first, then the judge picks who the child lived with longer”
Many sources online — including legal guides that look up to date — still describe the version of the Code of Children and Adolescents that existed before October 2022. That version is no longer in force. Law N.º 31590, published on October 26, 2022, completely rewrote Articles 81, 82, 83, and 84 — exactly the ones that determine how custody is decided. This page describes the law currently in force.
Article 81 still gives priority to a direct agreement between parents, taking the child’s views into account, which can be formalized through out-of-court conciliation. What changed is what happens when there’s no agreement: the law now says, in explicit terms, that “the specialized judge must grant shared custody as the first option,” and can only “exceptionally” grant exclusive custody to one of the parents.
What “shared custody” means in practice
Article 84 — also rewritten by Law 31590 — sets out seven factors the judge must weigh when granting shared custody, not as a checklist of requirements but as the concrete content of what sharing parenting actually means:
- The child must spend equal time with both parents.
- Both parents have equal rights to decide on the child’s education, upbringing, and protection.
- The distance between the parents’ homes does not restrict shared custody, though it’s taken into account when working out its specific form.
- The child has the right to spend time with extended family, on both the mother’s and father’s sides.
- The child’s and parents’ vacations are taken into account.
- Important dates in the child’s life are taken into account.
- The child’s age and opinion are taken into account.
Only when the judge does grant exclusive custody — the exception, not the rule — must a visitation regime be set for the parent who doesn’t get it. That visitation regime, and the rights that come with it, still work the way described below: they didn’t change with the 2022 reform.
What this reform eliminated: no more fixed rule by age
The previous version of Article 84 devoted an entire rule to the fact that “a child under three shall remain with the mother,” and another to the child staying with whichever parent “lived with them longer.” Neither rule exists today. The current text makes no mention of the child’s age as a factor for granting exclusive custody, nor does it favor either parent based on prior time lived together. The legal starting point, at any age, is shared custody.
How to file a judicial request
If there’s no agreement, Article 83 requires filing a claim along with the filer’s ID document, the child’s birth certificate, and relevant evidence. Within the process, you can request a precautionary measure for shared or exclusive custody, which the judge must resolve within a maximum of 30 calendar days from filing.
Visitation and the right to maintain contact
Article 88 recognizes the right to visit your children even without legal guardianship, with one condition: you must show with sufficient proof that you’re meeting the child-support obligation, or that you’re unable to. This right isn’t limited to parents — Article 90 allows the visitation regime to extend to relatives up to the fourth degree of consanguinity and second degree of affinity (grandparents, aunts and uncles, cousins), and even to non-relatives, when the child’s best interest justifies it. And Article 85 still requires the judge to hear the child’s opinion and take the adolescent’s view into account throughout the process.
What happens if it isn’t followed, and how it’s changed later
Failing to comply with a judicially-set visitation regime carries consequences: it triggers legal enforcement measures, and if the resistance persists, it can lead to custody being changed (Article 91). The new Article 82 adds specific conduct-based criteria for changing an already-set shared or exclusive custody arrangement — for example, if the parent with custody systematically damages the child’s image of the other parent, or unjustifiably blocks the relationship with the other parent. Alongside that, the general rule in Article 86 still applies: generally, you must wait six months from the original ruling before requesting a change, except when the child’s safety is at risk.
What to do
If you’re negotiating custody, keep in mind that the legal starting point today is sharing it, not a judge assigning it to just one of you — prepare for a conversation about how to split time and decisions, not about who “wins.” If the case goes to court, the relevant evidence is no longer just who the child lived with longer, but the seven factors in Article 84: equal time, shared decisions, distance between homes, extended family, vacations, important dates, and the child’s opinion. If you’re researching this topic elsewhere, check the publication date — any explanation of “the judge’s three criteria” or the under-three rule is describing the law as it stood before October 2022.
Custody requires filiation to already be established
Before custody or visitation can be discussed, a legally recognized filiation link must exist. If the father hasn’t acknowledged the child, see the judicial process in establishing paternity in Peru outside marriage.
Can the other parent travel with the child without your permission?
Having custody doesn’t remove the need for travel authorization when the other parent also holds parental rights. See when travel permission is required and how to get it in travel permission for minors in Peru.
What if the other parent took your child out of the country?
When the move happens without your consent and crosses a border, the applicable mechanism is no longer just local custody but the Hague Convention. See what to do in international child abduction in Peru.
How to file
- Try reaching an agreement between the parents first, considering the childArticle 81 favors a direct agreement between parents on the shape of shared custody, taking the child's or adolescent's views into account, and it can be formalized through out-of-court conciliation.
- If there's no agreement, file with a specialized family judgeArticle 83 requires attaching your ID document, the child's birth certificate, and relevant evidence. You can request a precautionary custody measure, which the judge must resolve within a maximum of 30 calendar days.
- Expect the judge's first option to be shared custodyArticle 81 requires the judge to grant shared custody as the first option; exclusive custody is only granted exceptionally, applying the seven factors in Article 84 (equal time, equal say in decisions, distance, extended family, vacations, important dates, and the child's age and opinion).
- If visitation or contact is being denied, demand enforcementArticle 88 gives you the right to visit your child even without legal guardianship, as long as you show you're meeting the child-support obligation or that you're unable to. The other parent's non-compliance triggers legal enforcement measures (Article 91).
- If circumstances changed, request a changeArticle 82 allows custody to be changed based on the conduct of the parent with custody; Article 86 generally requires waiting six months from the original ruling, except when the child's safety is at risk.
What people fail to ask in time
Do you know what happens to custody if your parents end up divorcing because of one of them being at fault, rather than by mutual agreement?
Find out before it matters →What most people believe — and what the law says
A child under three always stays with the mother.
That rule existed until 2022, but Law 31590 rewrote Article 84 and eliminated it entirely. Today there is no fixed legal preference by age or by the parent's sex: the general rule, at any age, is shared custody between both parents.
The judge decides by giving exclusive custody to whichever parent the child lived with longer.
That criterion was also eliminated. Since 2022, the judge must grant shared custody as the first option when parents don't agree, and can only exceptionally grant exclusive custody to one of them.
Shared custody means one parent decides everything and the other just gets visitation.
Article 84 requires that, under shared custody, the child spend equal time with both parents and that both have equal rights to decide on the child's education, upbringing, and protection. Visitation is specifically what applies to the parent who does NOT get custody when the judge instead grants exclusive custody.
If I lose custody, I lose all contact with my child.
Article 84 requires setting a visitation regime for the parent who doesn't get exclusive custody. And Article 88 recognizes the right to visit your children even without legal guardianship, as long as you show you're meeting the child-support obligation or that you're unable to.
Once custody is set, it can never be changed.
Article 82 allows it to be changed through a new conciliation or judicial resolution, taking into account the conduct of the parent with custody (for example, damaging the child's image of the other parent, or unjustifiably blocking that relationship). Article 86 adds that, generally, you must wait six months from the original ruling — except when the child's safety is at risk.
Frequently asked questions
How much time does the judge have to rule on a provisional custody measure?
Article 83 establishes that the judge must rule on a provisional measure for shared or exclusive custody within a maximum of 30 calendar days from the date it is filed.
What documents do I need to file a court case for custody?
Article 83 requires attaching your ID document, the child's birth certificate, and relevant evidence when filing the claim with the specialized judge.
Does the judge have to hear my child's opinion before deciding custody?
Yes. Article 85 of the Children and Adolescents Code requires the specialized judge to hear the child's opinion and take the adolescent's opinion into account during the process.
Can visitation rights extend to grandparents or other relatives, not just the parents?
Yes. Article 90 allows the judge to extend visitation rights to relatives up to the fourth degree of consanguinity and second degree of affinity (for example, grandparents, aunts/uncles, cousins), and even to non-relatives, when the best interests of the child justify it.
The exact law
Law N.º 31590, Law regulating shared custodyArticle 81 (amends Article 81 of Law N.º 27337)read
Shared custody is the rule when parents are separated; the judge must grant it as the first option
«Cuando los padres estén separados de hecho, la tenencia de los niños, niñas o adolescentes es asumida por ambos padres, excepto que no sea posible o resulte perjudicial para el menor. Los padres en común acuerdo y tomado en cuenta el parecer del niño, niña o adolescente determinarán la forma de la tenencia compartida, de ser caso, se formalizará con una conciliación extrajudicial. De no existir acuerdo, el juez especializado debe otorgar, como primera opción, la tenencia compartida, dictando las medidas necesarias para su cumplimiento, pudiendo excepcionalmente disponer la tenencia exclusiva a uno de los padres, salvaguardando en todo momento el interés superior del niño, niña y adolescente.»
↳Article 82 (amends Article 82 of Law N.º 27337)read
How an already-set shared or exclusive custody arrangement can be changed, and what conduct the judge can penalize
«Cuando la tenencia compartida o exclusiva sea determinada por conciliación extrajudicial o sentencia firme, puede ser variada con una nueva conciliación o por una nueva resolución del mismo juzgado. Para la variación de la tenencia el Juez tomará en cuenta la conducta del padre o madre que estuviera al cuidado del niño, niña o adolescente, haya realizado las siguientes conductas: a. Dañar o destruir la imagen que el hijo tiene del otro padre en forma continua, permanente o sistemática. b. No permitir de manera injustificada la relación entre los hijos y el otro padre. c. No respetar los acuerdos judiciales o conciliaciones extrajudiciales sobre el régimen de visitas a los niños, niñas y adolescentes.»
↳Article 83 (amends Article 83 of Law N.º 27337)read
How to file a judicial custody request and the deadline to resolve a precautionary measure
«El padre o la madre que desee determinar la forma de la tenencia compartida o exclusiva de manera judicial interpondrá su demanda acompañando el documento que lo identifique, la partida de nacimiento y las pruebas pertinentes. Dentro del proceso se puede solicitar una medida cautelar de tenencia compartida o tenencia exclusiva, en respeto a los derechos del niño y la familia, el Juez debe resolver en un plazo máximo de 30 días calendario de presentada la medida cautelar.»
↳Article 84 (amends Article 84 of Law N.º 27337)read
The seven factors the judge must weigh when granting shared custody, and the duty to set a visitation regime under exclusive custody
«En caso de disponer la tenencia compartida, el Juez deberá tener en cuenta lo siguiente: a. El hijo deberá pasar igual período de tiempo con ambos progenitores; b. Los progenitores tienen igualdad de derechos para tomar decisiones respecto a la educación, crianza, formación y protección del hijo; c. La distancia entre los domicilios de los padres no restringe la tenencia compartida, pero se considera al definir la forma; d. El hijo tiene derecho a compartir con la familia extendida materna y paterna; e. Las vacaciones del hijo y progenitores; f. Las fechas importantes en la vida del menor; y g. La edad y opinión del hijo. En caso de disponer la tenencia exclusiva, el Juez para aquel que no obtenga la tenencia del niño, niña o adolescente debe señalar un régimen de visitas.»
Law N.º 27337, Code of Children and AdolescentsArticle 85read
The judge must hear the child and take the adolescent's opinion into account
«El juez especializado debe escuchar la opinión del niño y tomar en cuenta la del adolescente.»
↳Article 86read
Custody can be modified later, but only as a new action and not before six months, except when the child is in danger — a general rule not repealed by Law 31590
«La resolución sobre Tenencia puede ser modificada por circunstancias debidamente comprobadas. La solicitud deberá tramitarse como una nueva acción. Esta acción podrá interponerse cuando hayan transcurrido seis meses de la resolución originaria, salvo que esté en peligro la integridad del niño o del adolescente.»
↳Article 88read
A parent without legal guardianship (patria potestad) still has visitation rights if they meet, or cannot meet, the child-support obligation
«Los padres que no ejerzan la Patria Potestad tienen derecho a visitar a sus hijos, para lo cual deberán acreditar con prueba suficiente el cumplimiento o la imposibilidad del cumplimiento de la obligación alimentaria.»
↳Article 91read
Failing to comply with a visitation regime can lead to custody being changed
«El incumplimiento del Régimen de Visitas establecido judicialmente dará lugar a los apremios de ley y en caso de resistencia podrá originar la variación de la Tenencia. La solicitud de variación deberá tramitarse como una nueva acción ante el Juez que conoció del primer proceso.»
↳Article 90read
A visitation regime can extend to other relatives and even non-relatives, when it benefits the child
«El Régimen de Visitas decretado por el Juez podrá extenderse a los parientes hasta el cuarto grado de consanguinidad y segundo de afinidad, así como a terceros no parientes cuando el Interés Superior del Niño o del Adolescente así lo justifique.»
Also searched as: how is child custody decided in peru · does the under-three-years-old-stays-with-mother rule still exist in peru · what is shared custody tenencia compartida · what is a visitation regime in peru · what if I'm not allowed to see my child · can custody be changed after it's set · does the judge have to listen to the child
Related
Child and family support in Peru: how to request it and how much it is
There's no fixed percentage: here's how a Peruvian judge actually decides how much each parent pays.
Family & inheritanceFamily violence in Peru: how to report it and what the judge owes you within 48 hours
Where a family violence report is filed, what happens next, and how soon.
Family & inheritanceEstablishing Paternity in Peru Outside Marriage: The Judicial Process and DNA Testing
A DNA paternity case in Peru can be resolved in weeks, not years, thanks to a little-known special fast-track process.
Family & inheritanceTravel Permission for Minors in Peru: When It's Required and How to Get It
A parent flying solo with their child without the right paperwork can get stranded at the airport on travel day.
Family & inheritanceInternational child abduction in Peru: what to do if your child was taken abroad
If your child was taken to another country without your consent, every hour matters: here's the legal process to request their return.
Family & inheritanceLoss or suspension of parental authority (patria potestad) in Peru
Losing parental authority is not the same as having it suspended — and only one of the two can be recovered afterward.
Family & inheritanceParental authority after a separation in Peru: who decides on school, health and travel?
Your child living with the other parent does not mean the other parent decides alone.
Family & inheritanceCaring for a child without being their legal guardian in Peru: what can you do?
Raising your grandchild or nephew does not make you their representative. Which document do you need for school or a clinic?
Family & inheritanceParental child abduction within Peru: what counts as a crime and where do you report it?
Being the child's parent does not make it legal to take the child and keep them.
What this page already lets you do
- Name the rule that protects you
- Copy the exact article and send it
- Follow the steps, in order