Spanish Naming Customs: Double Surname Builder
In Spanish naming customs a child carries two surnames, one from each parent. Enter both parents' surnames, choose which comes first, and see the child's surnames and what is not passed on.
Updated 29 Oct 2026
The child's surnames
Under Spain's civil registry law the parents agree the order before registering, and the registrar decides in the child's best interest if they do not. This tool shows the result of that rule. It is not legal advice. ES-RC-2011
Quick answer
A child in Spain gets 2 surnames: when both parents are recognized, each passes on their first surname, in an order they agree before registration (Ley 20/2011, article 49). García Martín and López Ruiz can give García López or López García; Martín and Ruiz are not passed on. ES-RC-2011
Spanish naming customs: how the two surnames are passed on
Spanish naming customs give a person two surnames, often called the first and second surname (primer y segundo apellido). Article 49 of Ley 20/2011 on the Civil Registry sets the rule for a birth: filiation determines the surnames, and when it is established through both lines the parents agree, before the birth is registered, the order in which each transmits their first surname. ES-RC-2011
- Take each parent's first surname.
- The parents agree which of the two comes first.
- If they do not agree, or the surnames were not stated in the application, the registrar asks them to state the order within three days; if they still do not, the registrar decides in the child's best interest.
- The order chosen for the first birth applies to later births with the same parents.
The builder above applies steps 1 and 2. It does not replace the registrar or give legal advice.
Examples
Three made-up couples, with the child's surnames in each order. "De la Cruz" is entered as one compound surname.
| Parent 1 | Parent 2 | Parent 1's first | Parent 2's first | Not passed on |
|---|---|---|---|---|
| García Martín | López Ruiz | García López | López García | Martín, Ruiz |
| Fernández Gil | Sánchez Moreno | Fernández Sánchez | Sánchez Fernández | Gil, Moreno |
| de la Cruz Vega | Ortiz Blanco | de la Cruz Ortiz | Ortiz de la Cruz | Vega, Blanco |
The next generation
Because each parent passes on only their first surname, a second surname stops with the person who has it. Take a child called García López. With a partner whose surnames are Pérez Soto, their child's surnames are García Pérez or Pérez García: López and Soto are not passed on. ES-RC-2011
Before you register
The law puts the choice of order in the parents' hands before the birth is registered, so it helps to settle it early. The steps below come from article 49. ES-RC-2011
- Decide together which parent's first surname comes first. The builder shows both orders so you can say them aloud.
- State the order in the registration application. If it is missing, the registrar asks you for it within three days.
- Remember that the order applies to later children with the same parents, so choose one you are happy to use for all of them.
- Keep the name (nombre) separate in your mind from the surnames: the record holds the name given to the child as well as the surnames.
If you want the baby's first name too, try the baby name generator or keep a list in the name shortlist.
Limits of this tool
- It follows Spain's law for a birth with two recognized parents. For a birth with only one recognized parent, the law says that filiation determines the surnames and the parent may determine the order. ES-RC-2011
- The order can be inverted later: the law lets the registrar authorise this on the declaration of the person concerned (article 53). ES-RC-2011
- Other countries set their own rules. If the birth is registered outside Spain, check that register office.
- It does not list Spanish surnames or their meanings. Meanings need a cited source for each surname, and this page has none yet.
The consolidated text of the law on the BOE website is informational, so check the official publication for legal purposes.
Questions
How do Spanish surnames work?
Which surname comes first?
Do later children have the same order?
Which surnames are passed on to the next generation?
What if only one parent is recognized?
Can the order of surnames be changed later?
Does this apply outside Spain?
What does the birth record contain?
What is a first surname and a second surname?
Are the surnames I type saved?
Sources and method
- ES-RC-2011 Spain: Agencia Estatal Boletin Oficial del Estado, "Ley 20/2011, de 21 de julio, del Registro Civil, article 49 (consolidated text)", www.boe.es/buscar/act.php?id=BOE-A-2011-12628 Opened 29 Oct 2026
Numbers this tool calculates come from tested code in formulas.ts. Figures taken from a source are cited next to the figure. See all of our formulas and sources and how we check our work in the editorial policy.
Related tools
See all baby name tools.
Use this calculator on your site
This calculator gives an estimate. It does not replace advice from your doctor, midwife or fertility clinic. Read our medical disclaimer. How your data is handled: privacy policy.