Roadside sign reading Bienvenidos Escuela Las Brisas at a rural school in Costa Rica

Education & Children

Costa Rica's Laws on Education and Children: Compulsory School, Homeschooling, Travel Permits and Parental Duties

Updated

In short

Costa Rica's Constitution makes preschool, general basic and diversified (secondary) education compulsory, and the Children and Adolescents Code (Law 7739 of 1998) requires parents to enroll children and ensure regular attendance. There is no stand-alone truancy statute with fines for students; persistent absences are reported to the Ministry of Public Education, and serious neglect of a child's education can become a child-protection or criminal matter. Children must also have an exit permit to leave the country, and children under 12 who are shorter than 1.45 m must ride in a child restraint in the back seat.

The short answer

Costa Rica treats education as a constitutional duty, not only a right. Article 78 of the Constitution says preschool, general basic and diversified education are compulsory and, in the public system, free and paid for by the nation. The main statute on children's rights is the Children and Adolescents Code (Código de la Niñez y la Adolescencia, Law 7739 of 6 January 1998). It defines a child (niño o niña) as anyone up to age 12 and an adolescent as anyone over 12 and under 18, and it puts the child's best interest at the centre of every decision.

This page explains how those rules work in practice: school attendance and truancy, the legal status of homeschooling, the role of the child-protection agency PANI, travel permits for minors, car seats, paternity and child support. It is general information for families, including foreign residents, not legal advice.

Compulsory education and the question of truancy

What the law requires

The duty to attend school is spread across several texts:

  • Constitution, article 78: preschool, general basic and diversified education are compulsory.
  • Law 7739, article 59: the same three levels are free, compulsory and paid for by the State, and access to them is a fundamental right.
  • Law 7739, article 64: parents or guardians must enroll children in the appropriate school, demand their regular attendance and take an active part in their education.
  • Law 7739, article 65: the Ministry of Public Education (MEP) must keep a census of students in primary and secondary school and use suitable mechanisms to ensure their daily presence and prevent dropout.
  • The older Fundamental Education Law (Law 2160 of 1957) still states in its article 8 that primary education is compulsory and that preschool, primary and secondary education are free.

So does Costa Rica have truancy laws?

Not in the way many US states do. We did not find a Costa Rican law that fines students or parents for a set number of unexcused absences, and there is no truancy court. Instead, the system works through reporting and protection:

  1. Under article 66 of Law 7739, school authorities, public or private, must report to the MEP repeated unjustified absences and dropout once the school's own measures have been exhausted. They must also report abuse, drug problems and repetition rates.
  2. If the cause is neglect at home, the case can move to the Patronato Nacional de la Infancia (PANI), which may open a protection process for the child.
  3. In serious cases, article 187 of the Penal Code punishes anyone who fails to meet or neglects their duties of protection, care and education toward a person under 18, so that the child is left in material or moral abandonment. The penalty is six months to one year in prison or 20 to 60 day-fines, plus a six-month to two-year bar on exercising parental responsibility.

In other words, chronic absence is first an administrative and child-protection issue. Criminal law is reserved for real abandonment, not for a few missed days.

Empty classroom with rows of wooden desks and a chalkboard

Searches for "Costa Rica homeschool laws" usually expect a yes or no. The honest answer is that the law does not provide a homeschooling option:

  • Education at the compulsory levels is mandatory, and article 64 of Law 7739 speaks of enrolling the child in a centro de enseñanza.
  • Article 79 of the Constitution guarantees freedom of teaching but places every private school under State inspection, which is how private and international schools operate legally.
  • The MEP runs open-education programs (Educación Abierta), set up by Executive Decree 26906 of 1998 and amended several times since. They let people sit official exams, for example for the third cycle of general basic education or the distance-learning bachillerato, based on the official curricula.

We found no law or regulation in force that recognizes home education as a substitute for school enrollment. In practice, some expatriate families teach at home using foreign or online programs, often while in the country on temporary status. That is a practice, not a recognized legal regime: it does not by itself produce MEP accreditation, and it does not displace the parental duties in Law 7739. Families planning long-term residence should get advice on accreditation and on how their situation fits the compulsory-education rules.

PANI: the child-protection authority

The Patronato Nacional de la Infancia is an autonomous institution created by its Organic Law, Law 7648 of 1996. Its main purpose is to protect minors and their families comprehensively, and it is the lead agency on childhood, adolescence and family matters. Through local offices it receives complaints, investigates risk situations and can order protection measures under Law 7739.

Two rules in Law 7739 matter for everyday life:

  • No physical punishment. Article 24 bis, added by Law 8654 of 2008, gives children the right to guidance and discipline without corporal punishment or humiliating treatment, at home, at school and in any other setting.
  • Duty to report. Article 49 requires managers and staff of health centres, schools, daycares and other places that care for children, as well as adults responsible for minors in cultural, religious, sports or youth groups, to report any reasonable suspicion of abuse to the Public Prosecutor's Office. The reporter's identity must be protected.

PANI's website lists 9-1-1 for emergencies and a dedicated children's line.

Gray and black child car seat installed in the back seat of a car

Children in cars: car seat rules

The child seat rule is in article 94 of the Traffic Law (Law 9078 of 2012). Drivers must make sure all occupants use seat belts and other required safety devices. Children under 12 who are less than 1.45 metres tall must ride in the back seat in a child restraint system, whose technical specifications are set by regulation. They may ride in the front passenger seat with a restraint only for an accredited medical reason or when the vehicle has no back seat.

Taxis, regular-route buses and special bus services are exempt, except student transport for children under 12 who are shorter than 1.45 m. For fines, points and other driving rules, see our guide to Costa Rica traffic, driving and DUI laws.

Travelling with children: exit permits

Every minor needs authorization to leave Costa Rica. Article 76 of the Migration Law (Law 8764) lets migration officers stop the departure of any minor, Costa Rican or foreign, who does not carry an exit permit issued by the competent authority. Children of accredited diplomats are the only exception it lists.

Article 16 of Law 7739 gives the Dirección General de Migración y Extranjería control over minors' entries and exits and has it keep a register of exit bans ordered by the courts. When parents who share parental responsibility disagree about the permit, only a family judge can resolve the dispute, using the protection procedure of the Family Procedure Code and always considering the child's best interest.

In practice, the exit permit is processed with the migration authority, and the documents required depend on the child's nationality and status and on whether both parents consent. Requirements change, so check the official requirements before booking flights, especially in shared-custody or international situations.

Passenger airplane parked at a jet bridge at night at an airport in Costa Rica

Paternity and child support

The Responsible Paternity Law

The Responsible Paternity Law (Law 8101 of 2001) changed how children born outside marriage are registered. When the father does not come forward, the mother may sign the birth record and name the presumed father. He is notified and has ten business days to respond. If he denies paternity, a single free appointment is set at an accredited Social Security (CCSS) laboratory for a genetic marker test. If he does not show up or refuses the test, and the mother and child did attend, paternity is presumed and declared administratively, with all the legal obligations of a parent. The father can still challenge it in court, but that does not suspend the registration.

The law also amended the Family Code so that, once paternity is declared, the court can order the father to reimburse pregnancy and maternity expenses for the child's first twelve months, and his support obligation runs back to the date the claim was filed.

Child support basics

Support (pensión alimentaria) is governed by the Child Support Law (Law 7654 of 1996). Two enforcement tools surprise many foreigners:

  • Travel restriction (article 14): a support debtor may not leave the country unless the claimant expressly authorizes it or at least twelve monthly payments, plus the year-end bonus (aguinaldo) and the full school-salary amount, have been guaranteed.
  • Civil arrest (article 25): the court may order apremio corporal for up to six months of unpaid support when the claimant has sought collection repeatedly. It does not apply when the debtor's wages or pension are effectively being withheld, and detention does not cancel the debt.

Deliberately failing to provide the means of subsistence to a child is also a crime under article 185 of the Penal Code. Support amounts are set case by case by the family courts. Our family law team handles support, custody and paternity matters.

Schooling arrangements, international travel with children, custody disagreements and support orders all depend on the details: nationality, immigration status, existing court orders and the child's needs. If you are relocating with children, separating, or facing a PANI or support process, a consultation with a Costa Rican family lawyer can help you understand your obligations and options before deadlines or travel dates arrive.

Sources

  1. Constitución Política de la República de Costa Rica (1949), arts. 78-79, SINALEVI
  2. Ley 7739, Código de la Niñez y la Adolescencia (6 January 1998), SINALEVI
  3. Ley 2160, Ley Fundamental de Educación (25 September 1957), SINALEVI
  4. Ley 7648, Ley Orgánica del Patronato Nacional de la Infancia (9 December 1996), SINALEVI
  5. Decreto Ejecutivo 26906, Política y Normativa de los Programas de Educación Abierta (1998), SINALEVI
  6. Ley 4573, Código Penal, art. 187 (Incumplimiento de deberes de asistencia), SINALEVI
  7. Ley 8764, Ley General de Migración y Extranjería (19 August 2009), art. 76, SINALEVI
  8. Ley 9078, Ley de Tránsito por Vías Públicas Terrestres y Seguridad Vial (4 October 2012), art. 94, SINALEVI
  9. Ley 8101, Ley de Paternidad Responsable (16 April 2001), SINALEVI
  10. Ley 7654, Ley de Pensiones Alimentarias (19 December 1996), arts. 14 and 25, SINALEVI
  11. Patronato Nacional de la Infancia (PANI), official site

Frequently asked questions

Does Costa Rica have truancy laws?

Not in the sense of a truancy statute with fines for students. The Constitution makes schooling compulsory, Law 7739 requires parents to enroll children and demand regular attendance, and schools must report repeated unjustified absences to the Ministry of Public Education. Serious neglect can lead to PANI protection measures or, in extreme cases, criminal charges.

Is homeschooling legal in Costa Rica?

No law recognizes homeschooling as a substitute for enrollment. Education is compulsory, and the Ministry of Public Education accredits studies through formal schools and its open-education exam programs. Some families use foreign or online curricula, but that practice is not a legal recognition, so get advice before relying on it.

Do children need a permit to leave Costa Rica?

Yes. Article 76 of the Migration Law allows authorities to stop a minor, Costa Rican or foreign, who does not carry an exit permit issued by the competent authority. If parents disagree about the permit, only a family court can decide.

What are Costa Rica's child car seat rules?

Article 94 of the Traffic Law says children under 12 who are less than 1.45 m tall must ride in the back seat using a child restraint system, with limited exceptions such as taxis and regular-route buses.

What is Costa Rica's Responsible Paternity Law?

Law 8101 of 2001 lets a mother name the presumed father when registering a child born outside marriage. If he denies paternity, a free DNA test is scheduled; if he does not appear or refuses, paternity can be declared administratively.

Can a parent who owes child support travel abroad?

Article 14 of the Child Support Law says a support debtor may not leave the country unless the claimant expressly authorizes it or at least twelve monthly payments plus the year-end bonus and school-salary amount are guaranteed.

How we can help

  • Costa Rica Family Lawyer

    Costa Rica family lawyers for divorce, child custody and visitation, child support (pensión alimentaria), marriage, prenuptial agreements and foreign judgments.

  • Costa Rica Divorce Lawyer

    Divorce in Costa Rica for foreigners and locals: mutual consent and contested divorce, property and child arrangements, and recognition of foreign divorces.

  • Costa Rica Immigration Lawyer

    Costa Rica immigration lawyer for residency applications, DGME requests, appeals, overstays, work permits and status changes, in English and Spanish.

  • Costa Rica Litigation Lawyer

    Costa Rica litigation lawyers for civil, commercial, property and administrative disputes: negotiation, conciliation, arbitration and court representation.

All Costa Rica law topics

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.

Request a consultation

Tell us briefly what you need. We will reply to let you know whether and how we can help.

Please don't include confidential details (account numbers, ID numbers, case strategy). A short summary is enough; we will ask for what we need.

More details (optional)
How should we contact you?

The information on this website is general information, not legal advice. Contacting us does not create an attorney-client relationship.