Foreign Direct Investment in Spain: Legal Framework, Sectoral Restrictions, and Opportunities

Foreign Direct Investment in Spain

Table of contents:

Spain is one of the most open economies in the world to foreign investment, and its legal framework starts from a principle worth being clear about from the first line: foreign investment is free and, in general, only requires a subsequent declaration for statistical purposes. The foreigner who sets up a company, buys a business, or acquires real estate in Spain doesn’t need, in the vast majority of cases, to ask anyone for permission.

That said, that principle coexists with an exception that has gained prominence in recent years: the screening mechanism for foreign direct investment, which subjects certain operations in strategic sectors to prior government authorization. Confusing the two planes is costly in both directions: some investors lose months asking for authorizations they don’t need, and others close operations that are null and void for not having asked for the one they did need. This guide sorts out the whole system: what’s free and what’s controlled, what sectors trigger screening, how the authorization procedure works, what tax incentives exist, and how the declaration to the Foreign Investment Registry is filed.

Do you want a expert consultation? Contact us and we will help you.

How Does Spain Regulate Foreign Direct Investment?

The regulatory framework has two pieces. The base is Law 19/2003, on capital movements, whose Article 7 bis (introduced in 2020, in the middle of the pandemic, to protect weakened strategic companies) created the prior-authorization mechanism. The implementing regulation arrived with Royal Decree 571/2023, on foreign investments, in force since September 1, 2023, which replaced the 1999 regulation and modernized both the screening and the declaration regime.

From that architecture a three-speed system results. First: the general rule of freedom of investment with subsequent declaration to the Investment Registry, an informative procedure that doesn’t condition the validity of the operation. Second: the screening of Article 7 bis, which requires prior authorization when a type of investor and a strategic sector intersect. Third: the special sectoral regimes with their own rules, such as activities directly related to national defense or the manufacture and trade of weapons and explosives, which keep their specific authorization mechanism apart from the general one.

General Freedom of Investment and Its Limits

Under the principle of freedom, a foreign investor (natural or legal person, of any nationality) can channel their entry into Spain through any of the usual routes: setting up a new company, as we explain in the guide on how to create a company in Spain; acquiring shares or stock in an existing Spanish company; opening a branch or representative office, whose differences we cover when comparing representative office, branch, or subsidiary; buying real estate, with the circuit we detail in the guide on buying property in Spain; or financing Spanish companies through participating loans and analogous figures.

A cross-cutting warning we always give the investor who wants to “test the market” without setting up a structure: operating in Spain through your own people or means with no declared entity doesn’t eliminate the obligations, it hides them, and it can end up generating a permanent establishment in Spain with its corresponding retroactive tax bill. Freedom of investment is freedom of form, not of compliance.

The real limits to that freedom are set: the screening of Article 7 bis when a sensitive investor and sector concur, the special defense and armament regimes, and the sectoral rules that require licenses for the activity itself (banking, insurance, energy, gambling), which apply equally to domestic and foreign investors.

Sectors Subject to Prior Authorization: Defense, Telecommunications, Energy

Screening doesn’t depend only on who invests, but on where. Article 7 bis and RD 571/2023 delimit the strategic sectors whose acquisition may affect public security, order, or health:

  • Critical infrastructure, physical or virtual: energy, transport, water, health, communications and telecommunications, media, data processing and storage, aerospace, defense, electoral, and financial infrastructure, as well as the land and real estate key to their use.
  • Critical and dual-use technologies: artificial intelligence, robotics, semiconductors, cybersecurity, quantum and nuclear technologies, nanotechnology, biotechnology, and aerospace and defense technologies.
  • Supply of fundamental inputs: energy, strategic raw materials, and food security.
  • Sectors with access to sensitive information, particularly personal data, or with the capacity to control it.
  • Media, with their regulatory nuances.

To the sectoral list is added a subjective criterion that surprises many international groups: authorization can be required because of the investor’s profile regardless of the sector, notably when the foreign investor is controlled directly or indirectly by the government of a third country (sovereign wealth funds and state-owned companies included), when they have already invested in sectors affecting security in another EU state, or when there’s a serious risk they carry out criminal activities. Spanish screening, like that of our European neighbors, looks at the what and the who.

Do you want a expert consultation? Contact us and we will help you.

The Foreign Investment Screening Mechanism

With the map of sectors clear, the mechanics. Prior authorization is triggered, as a general rule, when an investor resident outside the European Union and EFTA comes to hold a stake equal to or greater than 10% of the capital of a Spanish company in a strategic sector, or acquires its control by any means. The rule also reaches formally European investors whose beneficial ownership corresponds to residents from outside the EU and EFTA (more than 25% of the capital or voting rights, or control by other means): interposing a Luxembourg company doesn’t deactivate the analysis.

There’s also a transitional regime worth keeping in mind because it’s still alive: until December 31, 2026, investors resident in the EU or EFTA also need authorization when they acquire 10% or the control of a listed Spanish company in a strategic sector, or of an unlisted one if the investment exceeds 500 million euros. The extension of this regime, approved by the Council of Ministers, keeps large intra-European operations over sensitive Spanish assets under control.

The system itself incorporates proportionality valves. The most useful for the mid-market: acquisitions of companies whose turnover doesn’t exceed 5 million euros in the last financial year are exempt from authorization, unless their technologies were developed in programs of particular interest to Spain. And for gray areas there’s the prior voluntary consultation: the operation is put to the Administration, which responds within about 30 business days on whether the investment requires authorization or not, cheap insurance against the alternative of getting it wrong.

The formal authorization procedure is resolved within a maximum period of 3 months (RD 571/2023 reduced it from the previous 6), with a detail that changes the calendar strategy of any operation: administrative silence is negative. And the consequences of skipping the procedure are the harshest in the whole system: the operation executed without the mandatory authorization lacks validity and legal effects until it’s regularized, and constitutes a very serious violation punishable by a fine that can reach the amount of the operation. That’s why, in any purchase of a Spanish company by a foreign investor, the screening analysis is part of the basic package of prior review alongside the corporate, tax, and labor examination of the target, exactly the work of our legal due diligence in Spain service.

Tax Incentives for Foreign Investors

The friendly flip side of the legal framework. Spain doesn’t have a single incentive for foreign investment, but a mosaic of pieces that, well combined, build very competitive tax setups. The impatriate regime (the Beckham Law) lets the investor who relocates to run their project be taxed at 24% on their employment income up to 600,000 euros for six financial years. Newly created entities enjoy the reduced 15% rate on Corporate Income Tax in their first two profitable years. Holding structures access the 95% exemption on dividends and capital gains from subsidiaries and, for international platforms, the ETVE regime, which we analyze in depth in the guide on the holding company in Spain.

Added to this are the deductions for R&D and technological innovation (among the most generous in Europe), the special territorial regimes such as the Canary Islands Special Zone with its 4% rate, the network of more than ninety double taxation treaties that gives legal certainty to the repatriation of profits, and the fast immigration routes of the Entrepreneurs Law to relocate founders, executives, and teams. The full picture matters: the sophisticated investor doesn’t choose Spain for an isolated incentive, but for the combination of access to the European market, operating costs, and available tax architecture.

Declaration Procedure Before the Foreign Investment Registry

Once the operation is closed, the obligation almost all investors are unaware of arrives, and it has nothing to do with asking for permission: the subsequent declaration to the Foreign Investment Registry of the Ministry of the Economy, purely administrative and statistical in nature. The operational keys:

  • Declared, among others, are stakes in Spanish companies equal to or greater than 10% of the capital or voting rights, the setting up and endowment of branches, and acquisitions of real estate for an amount over 500,000 euros.
  • The general deadline is one month from the completion of the operation, through the official electronic forms (the D-1A for investments in companies, the D-2A for real estate, with their liquidation mirrors D-1B and D-2B on exit).
  • The prior declaration only survives for investments coming from non-cooperative countries and territories, and doesn’t replace the subsequent one.
  • Certain companies with significant foreign participation also file an annual report on the development of the investment.
  • The one who declares is, in general, the non-resident holder, acting in practice through their representative, the notary, or the operation’s advisors.

Failing to file the declaration doesn’t invalidate the investment, but it constitutes a violation punishable by fines proportional to the undeclared amount, and it also leaves a trail of formal non-compliance that’s awkward in future scenarios: financings, sales, inspections. It’s a minimal-cost procedure whose omission only generates gratuitous problems.

Investing in Spain as a foreigner is, in short, simpler than its regulatory reputation suggests: freedom as the rule, a set and predictable screening as the exception, and a statistical procedure as the epilogue. The difference between a clean operation and a stuck file is decided before signing: verifying whether the sector and the investor’s profile trigger prior authorization, using the voluntary consultation in gray areas, scheduling the 3 months of the procedure when applicable, and settling the declarations to the Registry on time.

At ILLAY Legal we support investors and foreign groups through the whole cycle of their investment in Spain with fully online service: screening analysis and prior consultations, due diligence of the target, tax structuring of the entry, and full execution of the operation with our company incorporation in Spain service. Tell us what operation you have in hand and we’ll tell you exactly what authorizations and declarations it needs and how to execute it without friction.

Frequently Asked Questions About Foreign Direct Investment in Spain

Can I buy a Spanish company as a foreigner?

Yes, and in the vast majority of cases with no authorization: it’s enough to execute the sale and declare it afterward to the Investment Registry. Prior authorization only comes into play if the target company operates in a strategic sector and you, as an investor, fit the profiles of Article 7 bis (resident outside the EU and EFTA with 10% or control, non-EU beneficial ownership, or the cases of the transitional regime for Europeans). If the acquired company has a turnover of less than 5 million euros, the operation is generally exempt from screening even in sensitive sectors.

Is buying a home in Spain foreign investment, and does it need permission?

It doesn’t need permission: the acquisition of real estate by foreigners is free, whether a home, premises, or office. The only specific obligation is declarative: real estate over 500,000 euros is reported to the Investment Registry with the corresponding form in the month following the purchase. A different matter are the ordinary procedures of any buyer (NIE, taxation of the operation, financing), which apply regardless of the amount.

What happens if I execute an investment subject to authorization without asking for it?

It’s the system’s worst-case scenario: the operation lacks validity and legal effects until it’s regularized, and it constitutes a very serious violation punishable by a fine that can reach the total amount of the investment. In practice, moreover, the defect contaminates the whole subsequent chain (financings, guarantees, resales), because no one wants to acquire rights hanging from an ineffective operation. When in doubt, the prior voluntary consultation resolves in weeks what a sanctioning file turns into years.

Do European Union investors need authorization in Spain?

As a rule, no: screening is designed for investors from outside the EU and EFTA. The two exceptions in force are these. First, the transitional regime, extended until December 31, 2026, which subjects to authorization investments by EU/EFTA residents that reach 10% or the control of listed Spanish companies in strategic sectors, or exceed 500 million euros in unlisted ones. Second, beneficial ownership: the European vehicle ultimately controlled from outside the EU is taxed, for these purposes, as what it is.

How long does the authorization of a foreign investment take?

The maximum resolution period is 3 months, and silence is negative, so the operation’s calendar must be built on the express resolution. Requests for additional information suspend the count, so a well-prepared file from day one (investor structure, beneficial ownership, description of the target’s activity) is the best tool to shorten real timelines. Complex operations usually also rely on the prior voluntary consultation to reach the procedure with the ground cleared.

Does the Golden Visa for investors still exist?

No. The residence visa by investment (the Golden Visa for the purchase of real estate worth 500,000 euros, public debt, or deposits) was repealed with effect from April 2025. Investment remains free, but it no longer carries automatic residence. Investors who want to relocate to Spain today channel their residence through the live routes of the Entrepreneurs Law (entrepreneur, highly skilled professional, intra-company transfer, digital nomad) or through non-lucrative residence if they live off income.

Do you want a expert consultation? Contact us and we will help you.

Legal notice: This article is for informational purposes only and may contain errors or be outdated. It does not constitute legal advice. For an updated initial consultation, contact us. One of our expert attorneys will assist you.

Share this article:

Our Team

Meet the team

At ILLAY Legal, we are a diverse and passionate team of more than 20 professionals from 15 different countries. We believe that cultural and linguistic diversity is one of our greatest strengths, which is why we serve our clients in more than 10 languages, including Spanish, English, French, Brazilian Portuguese, Russian, Albanian, Turkish, Moroccan Arabic, Chinese, Serbian, Italian, Finnish, and Polish.

We work from our offices in Barcelona and Madrid, united by a common purpose: to offer personalized, professional service tailored to each person’s needs. More than just a legal team, we are a group of people committed to accompanying and guiding our clients with empathy, knowledge, and dedication.

Our numbers speak for themselves

Our track record

On average, we tell good news about their immigration cases to 9-10 people each day. A real perk of the job.

Refusals overrulled in appeals

+ 0

Immigration cases solved and in process

+ 0

Appeals efficiency

0 %

Join a Community of Satisfied Customers

The journey to a new life in Spain begins today