Becoming an autonomo in Spain is often presented as a simple administrative choice: a couple of forms, a monthly fee, and you start invoicing. For Spanish nationals with domestic clients and a stable billing pattern, that description is close enough. For foreign professionals, digital nomads, and international founders moving to Spain, it rarely captures what actually happens. The real decision combines residence, tax position, Social Security affiliation, and business structure into a single file that has to stay coherent over time.
The mistakes we see most often are not technical. They are strategic. A correct monthly filing built on the wrong underlying position — wrong visa status, wrong Social Security basis, wrong income projection — will eventually be reviewed by Hacienda or by the Tesorería General de la Seguridad Social, and the cost of unwinding it is always higher than the cost of setting it up properly.
Residency First: Who Can Register as Autonomo in Spain
Registering as self-employed is a consequence of residence, not a route to it. The first question is never “how do I become autónomo?” It is whether your immigration status permits self-employment in the first place, and on what terms.
For EU, EEA and Swiss citizens, the regulatory path is light. Freedom of movement carries the right to establish as self-employed; the practical steps centre on identification and on registration in the EU Citizens’ Register. For non-EU citizens, the position is structurally different. Self-employment requires an authorisation that specifically contemplates lucrative activity on own account, and the classic route is the self-employed work permit applied for from the Spanish consulate of the country of origin before arrival. The self-employed work permit for Spain is not interchangeable with a general residence card, and registering as autónomo without the correct underlying authorisation creates exposure on both the immigration and the Social Security side.
The sequence matters. A person who moves to Spain, begins to work from the country, and only then seeks to regularise the immigration file is working from a weaker position than someone who aligns residence, tax and Social Security registration from day one.
Need help with your case in Spain?
If this article applies to your situation, contact our team for tailored legal guidance and clear next steps.
The Digital Nomad Visa and the Art. 93 LIRPF Regime: Two Frameworks, Not One
This is the single most misunderstood point in English-language guides on Spanish self-employment, and it is worth separating carefully.
The Digital Nomad Visa in Spain was introduced by Ley 28/2022 de fomento del ecosistema de las empresas emergentes. It is an immigration route for remote workers and qualifying self-employed professionals who serve predominantly non-Spanish clients. By itself, it grants residence and the right to perform the activity from Spain. It does not grant any specific tax regime.
The 24% flat rate on Spanish-source employment income up to €600,000 that is often associated in passing with the DNV actually comes from a different legal instrument: the special tax regime for inbound workers under art. 93 de la Ley 35/2006 del IRPF, commonly referred to as the Beckham regime. Holders of the Digital Nomad Visa are among the categories that may apply to this regime, but the application is separate, subject to its own eligibility requirements, has strict timing rules, and must be formally elected. It is not automatic, and it does not extend to every type of income the DNV holder may earn. Treating the residence authorisation and the tax regime as the same thing is the origin of a disproportionate number of avoidable disputes.
Practical distinction: the Digital Nomad Visa decides whether you may live and work from Spain. Art. 93 LIRPF decides, only if properly elected and if the facts fit, how your Spanish-source income is taxed during a defined period. They must be examined in parallel, not assumed to travel together.
Registering as Autonomo in Spain: The Administrative File
Registration is two separate filings that must be internally consistent. The tax-office registration declares the economic activity for IRPF and VAT purposes, and the Social Security affiliation with the Tesorería General de la Seguridad Social enrols the individual in the special regime for self-employed workers (RETA), governed by the consolidated TRLGSS. In the cases we handle, this is the point at which the file either becomes defendable or develops a structural weakness that surfaces years later.

What clients sometimes underestimate is the requirement of internal consistency between the two files. The activity code declared to Hacienda, the start date, and the description of the business should all match what is registered with Social Security and, where applicable, with immigration authorities. A misalignment between what the tax office holds and what the Tesorería General de la Seguridad Social holds is one of the most common sources of retroactive correction and, in the more difficult cases, of proceedings to requalify the nature of the activity.
This is the point at which generic online guidance breaks down for foreign freelancers. The procedural steps are findable online. What is not obvious from a checklist is how Hacienda and the TGSS read the file as a whole — and how small inconsistencies in residence, activity classification, or invoicing pattern can be reconstructed against the taxpayer later. A properly documented Social Security registration is the foundation on which the rest of the position rests.
Cuota, MEI and Annual Regularisation
The monthly contribution paid by a self-employed worker — the cuota — is not a fixed fee. Since Real Decreto-ley 13/2022, the RETA contribution system is tied to declared rendimientos netos placed into progressive tramos that are adjusted annually by the General State Budget law. The framework plans a convergence towards contribution bases that track real income through 2031.
Two additional elements sit on top of the base cuota. The MEI (Mecanismo de Equidad Intergeneracional), introduced by Ley 21/2021, adds an intergenerational equity supplement that rises progressively. The tarifa plana for new registrants, redesigned under RDL 13/2022, reduces the initial contribution for a defined period, subject to prior-registration exclusions and to a net-income threshold during the first year; the extension of the benefit past the initial period depends on how the first-year income compares with the SMI reference.
Rather than reproduce each element in the pillar, we treat this analytically in a dedicated piece: cuota autónomo 2026: rates and risks for expats. For the purposes of the pillar, the point to retain is that the bracket selection is not an administrative formality. It is a provisional declaration of forecast net income that must be documented well enough to survive the annual regularisation, which compares the provisional figure against the actual tax return.
Income Tax, Deductions and the Affectation Rule
For IRPF purposes, the self-employed worker is taxed under the general progressive scale, which combines a state component with an autonomous-community component. This is a point where national-level guides, by quoting only the statutory brackets of the state scale, systematically understate the final effective marginal rate: the community of residence meaningfully changes the outcome, and a move between Madrid, Catalonia, the Basque Country or the Canary Islands can shift the top marginal bracket by a material amount in either direction.
The deductibility regime is defined by the Ley 35/2006 del IRPF and its Reglamento (Real Decreto 439/2007). It is more technical than the familiar “must be 100% business-related” summary. Full affectation to the activity is the baseline rule, but the law recognises partial affectation in specific categories — most visibly utilities and certain costs connected with a home used for the activity, prorated by the portion of the dwelling effectively devoted to the business, and in limited professional activities, vehicles. The boundary between deductible and non-deductible expense is precisely where Hacienda focuses its attention, and the practical question is rarely “is this deductible in principle?” It is “is the documentation strong enough that the deduction survives a compliance review?”
This is also where foreign freelancers tend to import the wrong accounting reflex from their home country. Spanish rules on affectation, documentation, and the personal-versus-professional test do not always match the rules the client grew up with, and the gap is where retroactive adjustments happen.
Autonomo or Sociedad Limitada: When to Review the Structure

For most newcomers, starting as an autónomo is the right first move. It is the fastest route to invoicing, the administrative burden is contained, and the regime is well understood by Hacienda. That does not mean it remains the optimal structure indefinitely. The question of whether to continue as an autónomo or to incorporate a sociedad limitada becomes material when net income grows, when personal liability exposure increases because of the nature of the activity, or when international tax considerations (source of income, residence of clients, treaty coverage) start to dominate the profile.
The review is not only a comparison of marginal tax rates. Corporate taxation under the Spanish Impuesto sobre Sociedades interacts with dividend distribution, director remuneration, and the social-security treatment of a company director in ways that can neutralise or amplify the apparent nominal advantage. The company formation in Spain analysis is properly a paired exercise with the autónomo file, not an alternative to it.
The usual error is to leave the review too late. By the time the cost difference becomes obviously material, part of the optimisation window has already closed.
Strategic Oversights Foreign Professionals Keep Repeating
Each pattern below carries a specific consequence we see materialise in the files that arrive too late:
- Retroactive reading of an inconsistent file. Treating immigration status as a proxy for tax and Social Security classification. A valid residence authorisation does not decide whether the activity qualifies for RETA or whether a particular tax regime applies, and the inconsistency is read against the taxpayer when surfaced.
- Worldwide reclassification of income. Splitting income by geography in a way Spanish authorities may not accept. Income invoiced to non-Spanish clients is not automatically outside the Spanish base if the activity is performed from Spain and the taxpayer is tax resident. The reclassification, when it arrives, applies to the full period reviewed.
- Back contributions plus surcharges. Starting activity before completing registration. The exposure is not only retroactive contributions, but also a re-reading of the file that affects bracket selection, expense deductibility, and access to incentives that were available at the proper start date.
- Six tax periods of lost regime. Assuming the Digital Nomad Visa comes bundled with the Beckham regime. It does not. The two require parallel, timely elections, and missing the Beckham window forfeits the full six-year benefit with no rescue procedure.
- Years of efficiency lost before the change is made. Postponing the autónomo-versus-SL analysis until the numbers visibly justify the change usually means a meaningful share of the optimisation window is already closed, with MEI accumulation and missed deductions that cannot be recovered.
Frequently Asked Questions about Autonomo in Spain
Do I need a visa to register as autonomo in Spain?
EU, EEA and Swiss citizens do not need a visa; registration as autónomo follows from freedom of establishment and the EU Citizens’ Register. Non-EU citizens need an authorisation that specifically contemplates self-employment — the self-employed work permit, the Digital Nomad Visa where applicable, or a prior residence authorisation that does not exclude lucrative activity on own account. The practical answer still requires confirming that the immigration file, the activity declared to Hacienda, and the Social Security registration describe the same business.
Does the Digital Nomad Visa give me a 24% flat tax rate automatically?
No. The Digital Nomad Visa is an immigration authorisation created by Ley 28/2022. The 24% flat rate on Spanish-source employment income up to €600,000 derives from the special regime for inbound workers under art. 93 LIRPF, which must be separately elected within strict time limits and only applies if the specific eligibility conditions are met. The defensibility of the position rests on early documentation strategy rather than on any inference from the visa itself.
How does Hacienda treat deductions for self-employed workers?
Under the Ley 35/2006 del IRPF and its Reglamento, the baseline is full affectation of the expense to the economic activity, with defined categories admitting partial affectation. The operative test for a foreign freelancer is not whether a given expense is deductible in principle, but whether the supporting documentation is consistent enough — across invoices, bank records, activity code and declared dwelling — to survive review. The outcome depends on the overall consistency of the taxpayer’s position, not on the line item in isolation.
Can I switch from autonomo to a Sociedad Limitada later if my income grows?
Yes. The shift from autónomo to sociedad limitada is a legitimate and frequent structural change. The substantive question is not whether the shift is allowed, but when it starts to be tax-efficient and whether the personal-liability or client-profile picture already justifies incorporation earlier. The analysis should consider the interaction between the Impuesto sobre Sociedades, dividend distribution, director remuneration and the Social Security treatment of a company director; the answer rarely comes from a single-number comparison.
What happens if I start the activity before securing the right immigration status?
Registering as autónomo without an underlying authorisation that contemplates self-employment creates exposure on both the immigration and the Social Security side, and can complicate subsequent applications by producing a record that is difficult to reconcile with the correct status later. The practical answer depends on how far the file has already progressed and on whether the work has effectively started from Spain, which is why correction should be attempted before, not after, an inspection or a renewal.
When Professional Advice Changes the Outcome
Some autónomo files are straightforward. Many are not. Advice is worth commissioning when income is variable, when clients sit in more than one jurisdiction, when a visa or residence application must be aligned with the tax registration in a specific order, when the Beckham regime under art. 93 LIRPF is in play, or when the medium-term question of remaining self-employed versus incorporating a sociedad limitada has begun to matter financially.
Those are the files where small procedural errors — wrong start date, inconsistent activity code, poorly documented bracket, late election of a special regime — produce disproportionate downstream cost. The objective of early advice is not to find the lowest cuota or the lowest headline tax bill. It is to build a position that still looks correct three years later, when the file is reviewed rather than filed.
Legal Fournier advises expats, digital nomads, and international founders on how to align Spanish tax residency, autónomo registration, and business structure under a single legal and tax view from the outset.
Legal Disclaimer. This article is for informational purposes only and does not constitute legal, tax, or financial advice. The content reflects the state of Spanish law and practice as of its publication date and may not account for subsequent legislative, regulatory, or judicial developments. Every case involves specific facts and circumstances that may materially affect the outcome. Readers should not act or refrain from acting on the basis of this article without seeking professional legal guidance tailored to their situation. Legal Fournier accepts no liability for decisions made solely on the basis of this content.
A correct monthly filing on top of the wrong underlying position will eventually be reviewed. The cost of unwinding it is always higher than the cost of setting it up properly.



