Marrying a Spaniard does not grant Spanish nationality, nationality by residence is not applied for at the Spanish consulate in Mexico before moving, and the child of Mexican parents born in Spain is not Spanish merely by being born here (unless one of the parents was also born in Spain). All three ideas circulate in forums and among groups of Mexicans in Madrid, and all three have an article of the law that refutes them.
First idea: "If I marry a Spaniard, marriage gives me nationality"
Marriage does not grant nationality: it shortens the period of residence required in order to apply for it. Article 22.2.d) of the Civil Code sets that period at one year for anyone who, when filing the application, has been married to a Spaniard for a year and is not separated legally or in fact.
It therefore remains an application for nationality by residence, with the same requirements as any other: legal residence, continuous and immediately preceding the application, good civic conduct, a sufficient degree of integration and whichever Instituto Cervantes examinations apply. For a Mexican national the effect is smaller than people assume, because the general period under article 22.1 is already two years for nationals of origin of Ibero-American countries. Marriage reduces it from two years to one; it does not remove it.
Second idea: "I will apply at the Spanish consulate in Mexico before I move"
Nationality by residence is applied for from within Spain, because it presupposes exactly that: having resided in Spain. Article 22.3 of the Civil Code requires the residence to be legal, continuous and immediately preceding the application. Without legal residence in Spain there is no application to start.
Royal Decree 1004/2015, which governs the procedure, also provides that processing is electronic at every stage (article 3.1) and that it begins with the filing of the application on a standard form through the corresponding electronic application (article 4.1), before the competent body of the Ministry. Spanish consular offices in Mexico handle other routes to nationality, such as the right of option and recovery, but not residence.
Third idea: "My child was born in Madrid, so the child is already Spanish"
Being born in Spain is not enough when the child already holds another nationality. Article 17.1.c) of the Civil Code treats as Spanish by origin those born in Spain to foreign parents only if both parents are stateless or if the legislation of neither of them attributes a nationality to the child. It is a rule designed to prevent a child from being left stateless.
There is an exception worth knowing: if at least one of the foreign parents was also born in Spain, the child born in Spain is Spanish by origin (article 17.1.b of the Civil Code).
Mexican legislation does attribute a nationality to that child. Article 30, section A, of the Political Constitution of the United Mexican States treats as Mexican by birth those born abroad to Mexican parents, to a Mexican mother or to a Mexican father. The child is not left without a nationality, so the exception in article 17.1.c) does not apply.
The child's route is a different one, and it is short: article 22.2.a) of the Civil Code sets at one year the residence required of anyone born in Spanish territory. In other words, a child born in Spain may apply for nationality by residence after one year of legal residence, subject to the remaining requirements of the procedure.
One thing that is not a myth: silence counts against you
There is a rule many applicants do not know about, and it should not be taken lightly. Article 11.3 of Royal Decree 1004/2015 sets a maximum period of one year to decide and notify, counted from the entry of the application at the competent body. If that period passes without an express decision, applications are deemed refused. Silence is negative: waiting grants nothing.
Knowing this rule before filing helps you plan realistically and avoid mistaking a lack of response for a grant.
What actually decides the application
Once those three ideas are set aside, what genuinely weighs in an application for nationality by residence comes down to three conditions and one examination:
- Legal residence: covered by a residence authorisation in force, which is not the same as a mere stay.
- Continuous and immediately preceding the application: the period is counted backwards from the day the application is filed (article 22.3 of the Civil Code).
- Good civic conduct and a sufficient degree of integration: both are express requirements of article 22.4 of the Civil Code.
- The CCSE examination: if you are Mexican, you are exempt from the language test (article 6.5 of Royal Decree 1004/2015), but not from the test on constitutional and sociocultural knowledge of Spain.
Each route to nationality has its own requirements and time limits. Identifying the one that fits your case before gathering a single document is what saves the most time.
Common mistakes
- Treating marriage to a Spaniard as an automatic way of acquiring nationality.
- Trying to start nationality by residence from Mexico, without having resided in Spain.
- Assuming that the child of Mexican parents born in Spain is Spanish by origin.
- Reading a lack of response from the authorities as a grant.
- Assuming that the exemption from the language test includes the CCSE.
Sources
- Civil Code, articles 17.1.b) and c), 22.1, 22.2.a) and d), 22.3 and 22.4 (consolidated text from the BOE, consulted in September 2026)
- Royal Decree 1004/2015, of 6 November, Regulation of the procedure for acquiring Spanish nationality by residence, articles 3.1, 4.1, 6.5 and 11.3 (consolidated text from the BOE, consulted in September 2026)
- Political Constitution of the United Mexican States, article 30, section A, subsection II (wording published in the DOF on 17 May 2021)
- Consulate General of Spain in Mexico, consular services (consulted in September 2026). According to the information published by the Ministry of Foreign Affairs, embassies and consulates do not process nationality by residence