How to apply for a Spanish NIE from Morocco: which consulate to use

Last updated: By

In this article

Short answer. To apply for a Spanish NIE from Morocco, start with your registered address: seven Spanish consulates general serve the country — Rabat, Casablanca, Tánger, Tetuán, Nador, Agadir and Larache. The office covering your address forwards your application, but the NIE itself is assigned by Spain’s General Commissariat for Immigration and Borders, and it arrives by email.

This is an independent guide by E-Residence, a private service. It is not an official website of any consulate and does not control appointments; every procedure in it links to its official source. Recheck the official page on the day you act.

For the wider picture of how consular NIE applications work, see our guide to NIE applications at Spanish consulates outside Spain. Here, the focus is Morocco and its seven offices.

Which office covers your address?

The consular districts follow Spain’s official division of Morocco. Residence is the starting point — not nationality, and not the office with the most convenient appointment. The list below matches each office’s published district.

Where you live (registered address)OfficeStart here
Buleman, Fez, Ifran, Jemiset, Jenifra, Kenitra, Mequinez, Rabat, Taunat and TazaConsulate General, RabatRabat NIE page
Casablanca, Bensliman, Settat, Beni Melal, Azilal, Errachidia, Ouarzazat, Marrakech, El Kelâa de Srarhna, El Jadida, Safi, El Kelâa de M’Guna and JuribgaConsulate General, CasablancaCasablanca NIE page
The province of Tánger and the Arcila areaConsulate General, TángerTánger NIE page
The provinces of Tetuán, Larache, Chauen and AlcazarquivirConsulate General, TetuánTetuán NIE page
The provinces of Nador, Alhucemas, Uxda, Berkan, Taurirt, Figuig and YeradaConsulate General, NadorNador NIE page
The provinces of Agadir Ida-Utanan, Chtouka Ait Baha, Tarudant, Inzegan Ait Melul, Tiznit, Tata, Guelmim, Tan-Tan and EssauiraConsulate General, AgadirAgadir NIE page
Larache and AlcazarquivirConsulate General, LaracheLarache NIE page

If your address does not map clearly to one of these lists, confirm it with the office before contacting it rather than guessing. Two of the published lists overlap — Larache and Alcazarquivir appear under both Tetuán and Larache — so if you live in that area, ask the offices which one serves you. Each office asks for proof of residence in its consular district. The embassy’s official consular-office directory for Morocco is the source of these districts.

The consular NIE route: what applies across Morocco

Every office here follows the same national procedure, with local differences in how you book and what you bring. The shared points, as published by the offices themselves:

  • A NIE can be requested directly in Spain or at the consular office for your country of residence. From Morocco, that is the office covering your address.
  • You apply in person or through a duly accredited representative — and the physical presence of the applicant or the representative is always mandatory. Do not read the representative route as one that removes attendance altogether.
  • You must state the economic, professional or social reasons that justify the application, and offices may ask for documents proving them.
  • The standard document set is an EX-15 form (original and one copy), a valid passport with a copy of the data page (EU citizens may use a national identity document), proof of residence in the consular district, and a completed Modelo 790, Código 012 with the fee paid.
  • The consular NIE is identification, not residence. The offices state that a NIE processed through them is not valid to reside in Spain and does not accredit residence there, and that anyone planning to settle in Spain must check visa requirements first.
  • The consulate does not issue the number. It is assigned by the General Commissariat for Immigration and Borders, part of Spain’s Directorate-General for the Police. The consulate cannot speed up processing, and the NIE is sent to the applicant by email — so put a working notification address on the form.

Prefer to prepare your application with E-Residence? Start an NIE enquiry — a private service that helps you organise the paperwork before you contact the office. An enquiry does not create, confirm or replace an official appointment.

Office by office: how each one runs NIE applications

Rabat — consulate general

Rabat publishes a fixed processing window: NIE applications are handled Monday to Thursday, 11:00–12:00, without cita previa, according to its NIE page, which also tells applicants to consult the office and check the day they act. Its district is one of the two largest here — the capital region plus Fez, Mequinez, Kenitra, Taza and more across the centre-north — so read the page before travelling. The published general inbox is cog.rabat@maec.es, and the fee is per the office’s consular fees schedule. Rabat NIE page

Casablanca — consulate general

Casablanca asks you to book an appointment by writing to the consulate email: cog.casablanca@maec.es. It carries the longest single list of provinces in this guide — Casablanca, Marrakech, Safi, El Jadida, Settat, Beni Melal and others across the centre and south — and repeats the standard document set. On the fee, the page points to the consular fees schedule rather than publishing a figure. Casablanca NIE page

Tánger — consulate general

Tánger publishes no appointment system; the published route is to check its own page and ask the office, whose published inbox is cog.tanger@maec.es. Its district is the province of Tánger and the Arcila area, in the far north, and the office publishes a TASAS CONSULARES (prices) page for the current amount. Tánger NIE page

Tetuán — consulate general

Tetuán states that no appointment is needed for this service, per its NIE page — read the page for the current arrangements before travelling. Its published district is the provinces of Tetuán, Larache, Chauen and Alcazarquivir, and the contact is cog.tetuan@maec.es. The office also publishes a TASAS CONSULARES (prices) page for the fee. Tetuán NIE page

Nador — consulate general

Nador publishes no appointment system; check the office page, and use the published inbox cog.nador@maec.es for questions. Its district covers the provinces of Nador, Alhucemas, Uxda, Berkan, Taurirt, Figuig and Yerada — the eastern Rif — and the fee is per the office’s consular fees schedule. Nador NIE page

Agadir — consulate general

Agadir is the office here that asks you to request an appointment through its online appointment system, with one appointment per person and procedure. Its district runs down the south-west coast and into the desert provinces: Agadir Ida-Utanan, Chtouka Ait Baha, Tarudant, Inzegan Ait Melul, Tiznit, Tata, Guelmim, Tan-Tan and Essauira. The published inbox is cog.agadir@maec.es, and the fee is per the office’s consular fees schedule. Agadir NIE page

Larache — consulate general

Larache publishes no appointment system; check its page, and use the published inbox con.larache@maec.es. Its district is Larache and Alcazarquivir — which also appear in Tetuán’s published list, so confirm which office serves your address if you live in that area. The office publishes a TASAS CONSULARES (prices) page for the fee. Larache NIE page

OfficeAddressOpen the map
Rabat1, Ángulo Av. Alger con Rue Moascar, RabatGoogle Maps
Casablanca14, Boulevard de Paris, 4ª planta, 20.000 CasablancaGoogle Maps
Tánger85, Av. Président Habib Bourghiba, TángerGoogle Maps
TetuánAv. Mohamed V, TetuánGoogle Maps
Nador47, Bd. Hassan II – BP 7, NadorGoogle Maps
Agadir49, Rue Ibn Batouta, Secteur Mixte – BP 3179, AgadirGoogle Maps
Larache1, Rue Casablanca – BP 6, LaracheGoogle Maps

These are the offices’ published addresses. The map links are navigation aids built from those addresses — they do not confirm which service a building hosts, and they are no substitute for the office’s own page. Check the address there before travelling.

What this guide does not confirm

  • Current fees for any office. None of the seven publishes an amount in the material reviewed here. Each office points to its own consular fees schedule or TASAS CONSULARES page. Take the figure from your office on the day you pay.
  • Processing times. No office reviewed here publishes how long the NIE takes. Treat any estimate you see elsewhere as unconfirmed and ask your office.
  • A booking channel for Tánger, Nador and Larache. Their pages publish no appointment system, so the published route is to ask the office by email — the addresses are above. Check the page again before travelling.
  • How Tetuán’s and Larache’s districts interact. Larache and Alcazarquivir appear in both published lists. Ask the office that covers your address rather than assuming.
  • Whether Rabat’s published window still runs as stated. Its NIE page gives Monday to Thursday, 11:00–12:00 without cita previa but tells applicants to consult the office. Check it on the day you plan to go.

Want a second pair of eyes on your document set before you email the office? Send your situation through a short NIE enquiry. We flag gaps before the office does — an enquiry does not replace or speed up the official procedure.

Frequently asked questions

Which Spanish consulate in Morocco covers my address?

Morocco has seven Spanish consulates general, and the office depends on your registered address. Rabat covers Buleman, Fez, Ifran, Jemiset, Jenifra, Kenitra, Mequinez, Rabat, Taunat and Taza. Casablanca covers Casablanca, Bensliman, Settat, Beni Melal, Azilal, Errachidia, Ouarzazat, Marrakech, El Kelâa de Srarhna, El Jadida, Safi, El Kelâa de M’Guna and Juribga. Tánger covers the province of Tánger and the Arcila area. Tetuán covers the provinces of Tetuán, Larache, Chauen and Alcazarquivir. Nador covers the provinces of Nador, Alhucemas, Uxda, Berkan, Taurirt, Figuig and Yerada. Agadir covers the provinces of Agadir Ida-Utanan, Chtouka Ait Baha, Tarudant, Inzegan Ait Melul, Tiznit, Tata, Guelmim, Tan-Tan and Essauira. Larache covers Larache and Alcazarquivir. Confirm your district with the office before contacting it.

Consular-office directory for Morocco

Do I need proof of residence in Morocco to apply through a consulate?

Residence is the starting point: each office serves a defined consular district, and the standard document set published for the consular NIE route includes proof of residence in that district. The offices reviewed here publish their district lists on the pages linked in this guide, so check which list your address falls under. If your situation is unusual — a recent move, a shared address, documents in someone else’s name — ask the office what will establish your residence before you travel.

Rabat NIE page · Casablanca NIE page

Can someone else submit the application — do I have to attend in person?

The applicant or a duly accredited representative must attend; the physical presence of the applicant or the representative is always mandatory, as the offices state. If you use a representative, expect to supply the representative’s identity document plus a power of attorney that expressly authorises them to file the NIE application, and check the formalities with your office. Attendance practice differs here: Rabat publishes a window of Monday to Thursday, 11:00–12:00 without cita previa, and Tetuán states that no appointment is needed, while Casablanca books by email and Agadir uses an online system.

Rabat NIE page · Casablanca NIE page

Does the consular NIE let me live or work in Spain?

No. The NIE issued through a consulate is an identification number: the offices state that it is not valid to reside in Spain and does not accredit residence there. If you plan to settle in Spain, check the visa and residence requirements first — that route starts in Spain, not at the consulate. Treat the consular NIE as what it is: a tax and identification number for dealings with Spain, not a residence permit.

National Police — NIE assignment · Tetuán NIE page

Who assigns the NIE, and how long does it take?

The number is assigned by the General Commissariat for Immigration and Borders, under Spain’s Directorate-General for the Police — not by the consulate, which cannot shorten processing. None of the seven offices reviewed here publishes a processing time for NIE applications, so this guide cannot confirm one. The NIE is delivered to the applicant by email, so make sure the notification address on the form works.

National Police — NIE assignment · Consular-office directory for Morocco

Where do I get the EX-15 and how do I pay the fee?

Open the forms from your office’s NIE page: EX-15 for the application and Modelo 790, Código 012 for the fee. On payment, the offices reviewed here point to their own consular fees schedule or TASAS CONSULARES page rather than publishing a figure: Rabat and Casablanca direct you to the consular fees schedule of the office, while Tánger, Tetuán, Nador, Agadir and Larache publish or refer to a fees page. No office here publishes an amount, so take the figure from your office on the day you pay.

Agadir NIE page · Nador NIE page · Larache NIE page

Choose your next step

You can run the whole process yourself through the official channels above — it costs the official fee and, in most cases, one appointment in Morocco. Recheck your office’s page on the day you act, because document lists and fees change.

Prefer to prepare with E-Residence? Start an NIE enquiry and describe your purpose in one or two sentences. An enquiry does not replace the official procedure; it helps you arrive at it prepared.

For the full service picture, see NIE in Spain.

Editorial note: procedures, forms and local practice can change. Recheck the official links on the day you submit your application.

Official sources

  1. Ministry of Foreign Affairs — Spanish consular offices in Morocco — the official list used to locate the offices above.
  2. Rabat — Consulate General: NIE — published window without cita previa, Monday to Thursday 11:00–12:00.
  3. Casablanca — Consulate General: NIE — email booking and consular fees schedule.
  4. Tánger — Consulate General: NIE — no published appointment system and TASAS CONSULARES page.
  5. Tetuán — Consulate General: NIE — no appointment needed and TASAS CONSULARES page.
  6. Nador — Consulate General: NIE — no published appointment system and consular fees schedule.
  7. Agadir — Consulate General: NIE — online appointment system, one appointment per person and procedure.
  8. Larache — Consulate General: NIE — no published appointment system and TASAS CONSULARES page.
  9. National Police — NIE assignment procedure — the national procedure behind the consular route.

Last checked: 2 October 2026.