Buying a Home in Spain as a Moroccan: A Guide

Premiers acheteurs étrangers en Espagne, les Marocains : chiffres notaires, NIE, origine des fonds, impôts, et un interlocuteur français à Valencia.

Table of Contents

In the first half of 2026, Moroccans became the largest group of foreign homebuyers in Spain: 4,960 purchases, accounting for 8.0% of all purchases made by foreigners (Consejo General del Notariado).

Qui sont ces acheteurs, où achètent-ils et à quel prix ? Ce guide répond à ces questions, puis détaille pas à pas les démarches pour acheter depuis le Maroc ou depuis l’Espagne quand on est de nationalité marocaine : NIE, origine des fonds, documents, impôts, location et revente, avec un interlocuteur en français à Valencia.

Key Takeaways

  • Largest group of foreign buyers: 4,960 homes, accounting for 8.0% of foreign purchases in the first half of 2026 (Notariado).
  • The most common nationality among foreigners already living in Spain: 12.4% of their purchases (Notariado, via Idealista).
  • Regions where they make up the largest share of foreign residents: Murcia (36.1%), Navarre (34.3%), La Rioja (25.1%).
  • Average price: €801 per square meter, compared with €2,644 for all foreign buyers (Notariado).
  • Background: Foreigners purchased 62,327 homes in the first half of 2026, 13% fewer than a year earlier (Notariado).
  • To purchase: A NIE is required; a Spanish bank account; proof of the source of funds; in principle, prior authorization from the Foreign Exchange Office is required for residents of Morocco; and it takes two to four months from the decision to the deed.

What do notaries say?

Notaries count the signed deeds of sale. In the first half of 2026, foreigners purchased 62,327 homes in Spain, down 13% from a year earlier—the sharpest decline since the COVID-19 pandemic. They accounted for 18.3% of home purchases, compared with 19.2% in 2025 and 20.3% in 2024 (Notariado, via Idealista).

Of this total, Moroccans made 4,960 purchases (8.0%). They moved into first place, ahead of the British (4,541 purchases, 7.3%). The gap is 419 homes, whereas it was only 24 in the second half of 2025 (Notariado, via Idealista).

Vous voulez acheter en Espagne ? Pour en parler avec notre agence immobilière francophone basée à Valencia, le premier échange est gratuit, en français et sans engagement.

Who are the Moroccan homebuyers in Spain?

First and foremost, they are resident buyers. They account for 12.4% of purchases made by foreigners already living in Spain, ranking first ahead of Italians (9.2%) (Notariado, via Idealista).

Morocco and Spain: A Long-Standing Relationship

Only 14 kilometers separate the two shores of the Strait of Gibraltar at its narrowest point. This proximity has a long history: Al-Andalus, from the 8th to the 15th century, and then the Spanish protectorate in northern Morocco, from 1912 to 1956.

Today, the ties are primarily economic: trade in goods between Morocco and Spain reached 22.757 billion euros in 2025, and Spain remains Morocco’s leading trading partner within the European Union (ICEX report, August 25, 2026).

What about the tunnel under the Strait? There’s been a lot of talk about it… The proposed rail link between Spain and Morocco is under consideration, but it’s not set to open anytime soon. The proposed route connects Punta Paloma (Cádiz) to Cape Malabata (Tangier), spanning approximately 42 km, 27 of which are underwater, at an estimated cost of 8.5 billion euros. The Spanish public company SECEGSA has commissioned Ineco to develop a master plan by the end of 2026, with possible approval in 2027. The main construction work is planned for between 2035 and 2040, and experts consider the goal of opening the tunnel in time for the 2030 World Cup to be unrealistic (Bladi, January 1, 2026). No construction has begun yet. It is therefore better to buy based on the property’s current value, not on the promise of a tunnel.

Where do Moroccans shop, and at what price?

They buy mainly in the interior and the southeast of the country. Among purchases made by foreign residents, Moroccans account for 36.1% in Murcia, 34.3% in Navarre, and 25.1% in La Rioja.

The average price is €801 per square meter, the lowest among all nationalities, compared with an average of €2,644 for all foreign buyers (Notariado). For an 80-square-meter home, this amounts to approximately €64,000 (Terreta calculation based on this average).

In the province of Alicante, Moroccan buyers spent an average of €53,257 in the first quarter of 2026 (Notariado, via El Español).

The process varies depending on where you live

The purchasing process varies depending on the country where you live. Here are the three most common scenarios:

  1. You reside in Morocco. You are a non-resident buyer from outside the European Union. Prior approval from the Foreign Exchange Office is required; you must apply for a NIE at the Spanish consulate in your district; and Spanish taxes on rent and capital gains are those applicable to non-residents from outside the EU (24%).
  2. You reside in France, Belgium, or another European Union country. You are a non-resident buyer from outside the EU or the EEA. You can apply for a NIE at the Spanish consular office in your country of residence. Rental income (on net income) and capital gains are taxed at 19% in Spain, and the tax treaty between Spain and your country of residence prevents double taxation.
  3. You already live in Spain. You are a Spanish tax resident. In principle, you already have an NIE, you pay IRPF on your rental income, and capital gains are taxed according to the tax scale for residents’ savings. The exemption for a primary residence may apply under certain conditions. Our guide to real estate taxation in Spain details each scenario.

The rest of this guide follows the journey of a buyer living in Morocco—the most complex scenario.

Shopping in Spain from Morocco: A Step-by-Step Guide

A Moroccan buyer is a non-EU buyer, and the process begins even before the search for a property. The longest part is the paperwork, not the property tour: between the decision to buy and the signing of the deed, it takes two to four months, according to the law firm Pomerol Legal Partners (September 2026).

Shopping in Spain from Morocco: A Step-by-Step Guide

From the decision to the signing of the deed: 2 to 4 months

1

The NIE

Required to sign the documents at the notary’s office. Obtain this from the Spanish consulate in your district (form EX-15 and passport).

2

A Spanish bank account

NIE, passport, proof of income, and documentation regarding the source of funds.

3

An Update on Morocco

In principle, prior approval from the Foreign Exchange Office is required for residents of Morocco. Please verify this based on your specific situation.

4

Moroccan documents

Apostille from the Moroccan Ministry of Foreign Affairs, followed by translation by a certified translator.

5

The purchase itself

Property inspection, deposit agreement (typically 10% of the price), notarized deed, registration in the registry. Signing by proxy is permitted.

6

The Living Room

As of April 2025 (when the Golden Visa program ends), purchasing property no longer grants a residence permit. Applications for residency must be processed separately.

To visit a property: a short-stay Schengen visa (maximum 90 days within a 180-day period). A visa denial does not prevent you from purchasing the property: you can view it remotely and sign the documents by power of attorney.

Sources: Spanish Ministry of Foreign Affairs, Pomerol Legal Partners (September 2026), Terreta Spain

Visiting the property: the Schengen visa

A Moroccan national needs a short-stay Schengen visa to visit a property in Spain (up to 90 days within any 180-day period). The application must be submitted to the Spanish consular services.

Acheter un bien ne donne aucun droit à un visa, et un refus de visa n’empêche pas d’acheter : la visite peut se faire à distance, en vidéo, et la signature par procuration (voir l’étape 5). C’est pour cela que beaucoup d’acheteurs s’appuient sur un interlocuteur présent à Valencia.

Vous voulez acheter en Espagne ? Pour en parler avec notre agence immobilière francophone basée à Valencia, le premier échange est gratuit, en français et sans engagement.

1. The NIE

The NIE is essential for signing documents at a notary’s office, opening a bank account, and identifying yourself to government agencies. It does not grant any right of residence. It can be obtained at the Spanish consulate in your district (see the list below) or in Spain through a lawyer who has been granted power of attorney.

Documents to be provided:

  • Form EX-15 stating the economic basis for the application, and a valid passport.
  • Proof of residence in the consular district and payment of the fee.
  • The applicant, or a representative with a power of attorney, must be present.

According to the Spanish Ministry of Foreign Affairs, the processing time is approximately two weeks, though in practice it can take longer.

Download Form EX-15 by clicking on this link. This is the first step you need to take.

Here are the Spanish consulates general in Morocco and their jurisdictions.

Rabat

  • Constituencies: Boulemane, Fez, Ifrane, Khémisset, Khénifra, Kenitra, Meknes, Rabat, Salé, Témara, Sefrou, El Hajeb, Sidi Kacem, Taounate, and Taza.
  • Address: 1, at the corner of Avenue d’Alger and Rue Moascar
  • Phone: +212 537 68 74 70
  • Email: cog.rabat@maec.es

Casablanca

  • Constituencies: Casablanca, Benslimane, Settat, Béni Mellal, Azilal, Errachidia, Ouarzazate, Marrakech, El Kelâa des Sraghna, El Jadida, Safi, Khouribga, Midelt, and Zagora.
  • Address: 14 Boulevard de Paris, 4th floor, 20000 Casablanca
  • Phone: +212 522 22 07 52
  • Email: cog.casablanca@maec.es

Tangier

  • Constituency: the province of Tangier and the Asilah area.
  • Address: 85 President Habib Bourguiba Avenue
  • Phone: +212 539 93 56 25
  • Email: cog.tanger@maec.es

Tetouan

  • Constituency: the provinces of Tetouan, Chefchaouen, and Ouezzane, as well as the prefecture of M’diq-Fnideq.
  • Address: Mohammed V Avenue
  • Phone: +212 539 70 39 84
  • Email: cog.tetuan@maec.es

Nador

  • Constituency: the provinces of Nador, Al Hoceima, Oujda, Berkane, Taourirt, Figuig, and Jerada.
  • Address: 47 Hassan II Boulevard, P.O. Box 7
  • Phone: +212 536 60 65 24
  • Email: cog.nador@maec.es

Agadir

  • Constituency: the provinces of Agadir Ida-Outanane, Chtouka-Aït Baha, Taroudant, Inezgane-Aït Melloul, Tiznit, Tata, Guelmim, Tan-Tan, and Essaouira.
  • Address: 49 Ibn Batouta Street, Mixed-Use District, P.O. Box 3179
  • Phone: +212 528 84 56 81
  • Email: cog.agadir@maec.es

Larache

  • Constituency: Larache and Ksar el-Kébir.
  • Address: 1 Casablanca Street, P.O. Box 6
  • Phone: +212 539 91 33 02
  • Email: con.larache@maec.es

Spanish Embassy in Rabat

Phone: +212 537 63 39 00. Email: emb.rabat@maec.es. Website: Spanish Embassy in Morocco

2. A Spanish bank account

The bank requires the NIE, a passport, proof of income, and documentation regarding the source of funds. A wire transfer from Morocco without supporting documentation may be held up for several weeks. Bank statements covering several months, asset sale contracts, probate documents, or proof of income can be used to document the source of funds.

3. The Situation in Morocco

For a Moroccan citizen residing in Morocco, the purchase of property abroad generally requires prior approval from the Foreign Exchange Office, which is granted on a case-by-case basis. Please verify this based on your specific situation.

The Conversion of Dirhams

The purchase of property abroad by a Moroccan resident generally requires prior approval from the Foreign Exchange Office, and the conversion of dirhams into euros for this purchase falls under this requirement. A few tips: use only bank transfers (never cash), compare exchange rates and your bank’s fees, and keep all receipts. The Spanish bank and the notary will ask about the source of the funds. If you are traveling with cash, any amount of €10,000 or more must be declared upon entering or leaving Spain (Form S1).

4. Moroccan documents

A Moroccan document intended for Spain is apostilled by the Moroccan Ministry of Foreign Affairs and then translated into Spanish by a certified translator. A power of attorney signed before a Moroccan notary follows the same process: apostille, then certified translation.

Find the contact information for official translators on the Spanish Ministry of Foreign Affairs' website.

5. The Purchase Itself

Before signing, have the property inspected: nota simple (extract from the property registry: owner, fees, mortgages), confirmation that there are no outstanding property tax (IBI) debts or condominium fees, cédula de habitabilidad (certificate of habitability), and energy performance certificate. Next come the deposit agreement (usually 10% of the price), the notarized deed, and then registration in the property registry. The signing can be done by power of attorney from Morocco.

What about funding?

Spanish banks review applications from non-residents on a case-by-case basis, and the portion they finance is generally smaller than for residents. As a result, many buyers end up contributing a significant amount of their own funds.

To learn more, check out our guide to mortgages in Spain.

In addition to the purchase price, be sure to factor in closing costs (taxes, notary fees, registry fees, attorney or gestor fees): for more on this, see our guide to real estate taxes.

6. The Living Room

Please note that since the end of the Golden Visa program (April 2025), purchasing real estate in Spain no longer grants a residence permit: the residence application must be processed separately.

For more information, read our guide: “The Steps Involved in Buying Real Estate in Spain.”

What taxes are involved in the purchase, and does nationality make a difference?

In Spain, the purchase tax does not depend on the buyer’s nationality. A Moroccan buyer pays the same amount as a Spanish buyer for the same property. What matters is the property’s location and whether it is new or used.

Reduced rates are available, but they are based on personal circumstances (age, family status, income, primary residence), not on passport type.

  • Older home. The buyer pays the property transfer tax (ITP).
  • New home. The purchase is subject to a 10% value-added tax (IVA) and a tax on documented legal acts (AJD) of approximately 1.4%.
  • Reduced rates. Some municipalities offer reduced rates. Check to see if this applies to your situation.

Keep in mind: these taxes are in addition to the purchase price. A professional must calculate them for each property before the contract is signed.

What taxes do you have to pay each year if you own property in Spain?

A nonresident property owner has several annual obligations, even if he or she does not live in the property.

  • The IBI, or property tax, is due annually by all property owners, regardless of whether the property is rented or vacant.
  • Rental Income. A non-resident from outside the EU is taxed at 24% on gross rental income, without any deduction for expenses. A non-resident from the EU or the EEA is taxed at 19% on net income. The tax return is filed using Form 210, once a year.
  • Unrented property. Even if vacant, the property requires the reporting of imputed income—the “renta imputada”—calculated at 1.1% of the assessed value (2% if it has not been revised since 1994), always using Form 210.
  • Wealth Tax. A non-resident whose net worth in Spain exceeds the exemption threshold must file a return (the threshold is €700,000 nationwide). In the Valencian Community, the threshold for residents has been raised to 1 million euros, and will then increase to 2 million euros starting in the 2026 tax year.

For detailed calculations, see our guide to real estate taxes in Spain.

Renting Out Your Property in Spain: Do You Have to Pay Tax in Morocco?

A Moroccan who is a tax resident of Morocco and rents out a property located in Spain does not pay tax twice on that rental income. The tax treaty between Morocco and Spain, signed in Madrid on July 10, 1978, and which entered into force on May 16, 1985, outlines the respective responsibilities.

Les revenus d’un bien immobilier, y compris sa location, sont imposables dans le pays où se trouve le bien (article 6). Pour un appartement à Valencia, c’est donc l’Espagne qui impose les loyers en premier lieu. Le Maroc, pays de résidence, exonère ensuite ces revenus (article 23, méthode de l’exemption). Il peut toutefois en tenir compte pour déterminer le taux applicable au reste des revenus du contribuable.

In practice, the property owner must therefore report his rental income in Spain. To determine how to report this income on his Moroccan tax return, he should seek the assistance of a tax specialist.

To learn more, read our full article on rental property taxes in Spain.

Source: Morocco-Spain Tax Treaty

Selling Your Property in Spain as a Moroccan Citizen: What Are the Tax Implications?

A Moroccan citizen who sells property located in Spain is taxed in Spain on the capital gain. The Morocco-Spain tax treaty provides that gains from the sale of real property are taxable in the country where the property is located (Article 13). Morocco, the country of residence, then exempts these gains and may only take them into account when determining the tax rate on the taxpayer’s other income (Article 23).

  • Capital gain(capital gain). This is the difference between the sale price and the purchase price, plus acquisition costs, selling expenses, and justified renovation costs. Non-resident sellers must report it using Form 210 within four months of the sale. The tax rate is 19% for residents of the European Union or the EEA, and 24% for non-EU residents.
  • The 3% withholding. The buyer withholds 3% of the sale price upon signing to ensure payment of the tax. If the tax actually owed is less than that amount, the seller may request a refund of the difference.
  • Municipal capital gains tax. This is a local tax, paid to the city hall, calculated based on the property’s assessed value and the length of ownership. The seller generally pays it within 30 business days of the sale.

To avoid unpleasant surprises, it’s a good idea to keep the purchase agreement, the sales contract, and the invoices for any renovations, as these will help you calculate the actual capital gain.

For more information, see our tax guide.

Passing on Property in Spain: What Happens During the Probate Process?

This is the question many Moroccan buyers ask themselves—and often… a little too late. There are two distinct issues to consider: which law applies, and what taxes are due.

Which law applies?

For deaths occurring on or after August 17, 2015, a European regulation (Regulation (EU) No. 650/2012) provides that a single set of laws applies to the entire estate: in principle, the laws of the country where the decedent last habitually resided. Anyone may choose, by will, to have the laws of their country of nationality apply instead. The regulation also applies to nationals of non-EU countries, which includes Moroccans who own property in Spain.

In practical terms:

  • In principle, Spanish law applies to a property owner who resides in Spain, unless the owner specifies the law of his or her country of nationality in his or her will.
  • In principle, Moroccan law applies to all of the property owned by a property owner residing in Morocco, including property located in Spain.

How this changes things for Morocco

For Muslim Moroccans, inheritance is governed by the Family Code (Moudawana) and the rules of Islamic inheritance: the shares of the heirs are set by law, a son receives twice the share of a daughter, and a will cannot bequeath more than one-third of the estate. Non-Muslim Moroccans and mixed-faith situations require the advice of an attorney.

What taxes?

Spain imposes a tax on the transfer of property located within its territory (Form 650; deadline of six months after death, extendable by six months if the request is made within the first five months). In the Valencian Community, children and the spouse are eligible for a 99% reduction in the tax liability, provided that the decedent had their habitual residence in the Valencian Community. If the decedent did not reside in Spain, the national tax authority (AEAT) has jurisdiction. The heir to real property may also be required to pay the municipal capital gains tax (plusvalía municipal) (Delaguía y Luzón, Guide 2026).

The Terreta Spain Board

Drawing up a will before a Spanish notary allows you to choose the applicable law and simplify the process for your heirs. This decision should be made in consultation with an attorney who is familiar with both Moroccan and Spanish law. This guide is for informational purposes only and is not a substitute for legal advice.

Get help with your purchase, in French

For a Moroccan buyer looking at properties in Spain—whether from Morocco, from Europe, or even if they’re already living in the country—having a contact who speaks French and is familiar with the Spanish procedures makes all the difference in the buying experience.

Terreta Spain is a French-speaking real estate agency: it assists French-speaking buyers—regardless of where they live—in French, from the property search through the signing of the contract, and on to renovation and rental management.

Concrètement : recherche et sélection de biens, visites, négociation, démarches espagnoles, rénovation et décoration, mise en location, à Valencia et à distance. Un premier échange est gratuit, en français et sans engagement.

FAQ

Are Moroccans the leading foreign buyers of homes in Spain?

Yes, according to notaries, in the first half of 2026: 4,960 purchases, accounting for 8.0% of foreign purchases, ahead of the British (4,541) (Consejo General del Notariado, via Idealista).

Where do Moroccans shop in Spain?

This is especially true in Murcia, Navarre, and La Rioja, where they account for 36.1%, 34.3%, and 25.1%, respectively, of purchases made by foreign residents (Notariado, via Idealista).

How much do Moroccan buyers pay per square meter?

An average of 801 € per square meter in the first half of 2026, compared with 2,644 € for all foreign buyers (Notariado).

Does a Moroccan need an NIE to buy property in Spain?

Yes. You need an NIE to make a purchase, even if you don’t live in Spain. You can apply for one at the Spanish consulate using Form EX-15 and a valid passport (Spanish Ministry of Foreign Affairs).

How long does the purchase process take when buying from Morocco?

According to Pomerol Legal Partners (September 2026), you should allow two to four months between the decision and the signing of the deed. Obtaining the NIE and opening a bank account account for most of this time.

Un acheteur marocain peut-il être accompagné en français à Valencia ?

Oui. Terreta Spain accompagne en français les acheteurs francophones, marocains, français, belges ou suisses, dans l’achat, la rénovation et la gestion locative, à Valencia et à distance.

Does a foreign buyer pay more taxes on a purchase than a Spanish buyer?

No. Taxes on property purchases depend on the property and the buyer’s personal circumstances, not on the buyer’s nationality (Law 13/1997, Valencian Community).

Do you have to pay taxes in Morocco on rent received in Spain?

In principle, no—not for the tax itself, according to the Morocco-Spain tax treaty: rental income is taxed in Spain and exempt in Morocco, which may take this into account when determining the tax rate on other income.

Does a Moroccan pay capital gains tax in Morocco or in Spain?

In Spain. The Morocco-Spain tax treaty assigns the taxation of capital gains on real estate to the country where the property is located. Morocco exempts these gains.

Peut-on acheter à Valencia à distance ?

Oui. Terreta Spain accompagne ses clients à Valencia et à distance, en français, de la recherche du bien à la gestion locative.

Do Moroccans need a visa to visit a property in Spain?

Yes. A Moroccan national needs a short-stay Schengen visa to visit a property (up to 90 days within any 180-day period). Visits can also be conducted remotely, and signatures can be provided by proxy.

How do I convert dirhams to euros to make purchases in Spain?

By bank transfer, which generally requires prior approval from the Foreign Exchange Office for residents of Morocco. Cash should be avoided, and any amount of €10,000 or more carried in cash must be declared at the Spanish border.

Which law applies to the estate of a Moroccan citizen who owns property in Spain?

In principle, the law of the country of the person’s last habitual residence, unless the person has chosen the law of their nationality in a will (European Regulation 650/2012). An attorney must review each situation.

Is there a tunnel under the Strait of Gibraltar?

No. The project is currently under review. A master plan is expected by the end of 2026, and the main construction work is planned for between 2035 and 2040 (Bladi, January 1, 2026).

Let's talk about your project in Spain

Are you looking for a French real estate agency in Spain? Terreta Spain assists French-speaking buyers—whether they’re from France, Belgium, Switzerland, or Morocco—with the purchase, sale, renovation, and rental management of their properties in Spain, even from a distance. The initial consultation is free, conducted in French, and with no obligation.

Sources

This content is provided for informational purposes only.

Share the Post:

These articles might interest you