Setting up as an autónomo in Spain is the standard route for a freelancer, independent professional or sole trader who wants to invoice clients in their own name. It is not complicated once you see the shape of it, but it does have moving parts that catch people out: there are two registrations, not one; there is a starting discount that you can lose if you miss the conditions; and, from the first quarter you invoice, there is a recurring cycle of tax filings that never really stops. This page walks through the whole picture — how you register, what it costs to start, what you file each quarter and year, how to invoice, what you can deduct, and how all of this interacts with an immigration route or the Beckham regime.
On this page
The two registrations you actually need Alta with Hacienda: Modelo 036 or 037 Alta in RETA with Social Security What it costs to start: tarifa plana and the income-based cuota The quarterly rhythm: IVA and IRPF Annual summaries and the income-tax return Invoicing rules and retenciones Deductible expenses — the basics The self-employed residence route and the Beckham regime When to use a gestor Key forms and obligations at a glance Frequently asked questions
"Setting up as an autónomo correctly on day one is worth far more than any early saving. The IAE heading, the VAT position and a realistic contribution bracket shape a year of filings — fixing them retrospectively is always harder than choosing them right from the start."
— Jacob Salama · International Tax lawyer, Ilustre Colegio de Abogados de Málaga (nº 11294)
The two registrations you actually need
Before any of this: check that your residence status lets you do it at all. If you are here on a non-lucrative visa, it does not — and the route out is a modification under article 191.4 of RD 1155/2024, available only after a year of residence, which we cover in from a non-lucrative visa to a work permit. Registering as autónomo without the right authorisation is not a paperwork error; it is the thing that costs people their renewal. If you are unsure whether small royalties or a monetised hobby even amount to an activity that needs registering, see hobby, royalty and side income on the non-lucrative visa.
The single most useful thing to understand at the outset is that becoming an autónomo means registering in two different places with two different administrations, and both need to be in order before you issue your first invoice:
- Alta with the tax authority (Hacienda / Agencia Tributaria) — you declare that you are starting an economic activity and tell the tax office what that activity is, so your VAT and income-tax obligations are switched on. This is done with Modelo 036 or its simplified version Modelo 037.
- Alta in RETA (Régimen Especial de Trabajadores Autónomos) — the special self-employed scheme run by the Social Security treasury (Tesorería General de la Seguridad Social), which is what makes you liable for the monthly self-employed contribution and gives you access to healthcare, sick pay and a contributory pension.
People often assume one registration covers both, or that the social security side alone makes them "official". It does not. The tax alta is what legitimises your invoicing and defines your fiscal obligations; the RETA alta is what covers your contributions. Getting both right, and in the right order, is the foundation everything else sits on — and it is where our companion note on social security registration for the autónomo goes deeper on the RETA side specifically.
Alta with Hacienda: Modelo 036 or 037
The tax registration is made through the declaración censal — the census declaration — filed on Modelo 036 (the full form) or Modelo 037 (a simplified version available to many individuals with straightforward circumstances). On this form you tell the Agencia Tributaria the essentials of your fiscal profile:
- The economic activity you are starting, coded under the IAE (Impuesto sobre Actividades Económicas) classification. The heading you choose matters, because it signals whether your work is professional or business in nature — and that in turn affects invoicing and withholding.
- Your VAT (IVA) situation — whether your activity is subject to VAT, exempt, or falls under a special scheme.
- The IRPF regime for calculating your taxable profit, most commonly the estimación directa simplificada (simplified direct assessment) for smaller activities.
- Your address, bank details and the effective start date of the activity.
As a rule the tax alta should be effective from the day you actually begin the activity — you cannot backdate it to tidy up invoices you have already sent, and you should not sit on it once work has genuinely started. Choosing the wrong IAE heading or the wrong regime is one of the most common early mistakes, and it is far easier to set up correctly than to correct later.
Alta in RETA with Social Security
Once (or around the same time as) the tax alta, you register in RETA with the Tesorería General de la Seguridad Social. This is the step that creates your monthly self-employed contribution — the cuota de autónomos — and enrols you in the public system for healthcare and pension purposes. In practice the RETA alta must generally be filed within a short window around the start of the activity, and the two altas are expected to be consistent with each other: the activity you declare to Hacienda and the one you register for social security should line up.
The RETA contribution is a flat monthly amount you pay regardless of whether a given month was profitable, which is why the starting discount below matters so much to new freelancers. Because the social-security dimension has its own rules and its own timing, we treat it separately in the dedicated social security registration guide.
What it costs to start: tarifa plana and the income-based cuota
Two things drive what an autónomo pays in social security contributions: a starting discount for new registrants, and, once that ends, a system that scales the contribution to income.
The tarifa plana (reduced flat rate for new autónomos). To encourage people to start out, qualifying new autónomos can pay a reduced flat monthly contribution for an initial period instead of the ordinary amount, with the discount typically tapering before it disappears. The mechanism is designed for genuinely new self-employed activity — there are conditions on not having been registered as an autónomo in a recent prior period, on being up to date with obligations, and sometimes on the region, since some autonomous communities extend or top up the discount. The exact starting monthly figure, how long the reduced rate lasts and the precise qualifying conditions are set by regulation and change; confirm the current numbers for your year before relying on them.
The income-based cuota system. After the tarifa plana ends, contributions run under the system that ties your monthly cuota to your real net income (rendimiento neto). The mechanism works like this: you estimate your expected yearly net earnings, that estimate places you in a contribution bracket with a corresponding monthly amount, and you pay that provisionally through the year. At the end of the year the Social Security and tax authorities reconcile your provisional contributions against your actual net income — so if you earned more than your bracket, you top up, and if you earned less, you may be refunded. You can adjust your estimated bracket several times a year as your income becomes clearer, which is useful for freelancers with uneven months. The bracket boundaries and the monthly amount for each bracket are fixed by regulation for each year and must be confirmed for the current year.
The quarterly rhythm: IVA and IRPF
Once you are registered and invoicing, the defining feature of being an autónomo is the quarterly filing cycle. For most freelancers there are two recurring quarterly filings:
- VAT — Modelo 303. Each quarter you total the IVA you charged clients (output VAT) and subtract the deductible IVA on your business purchases (input VAT), and pay the difference to Hacienda. If your input VAT exceeds your output VAT in a quarter, the balance is generally carried forward. Modelo 303 is filed quarterly, with an annual VAT summary at year-end.
- IRPF payments on account — Modelo 130. If you are not having enough income tax withheld at source, you make quarterly advance payments of income tax through Modelo 130, generally around 20% of your cumulative net profit for the year to date, with earlier payments credited. These are payments on account — advances against the final income-tax bill, not a separate tax. Whether you file Modelo 130 at all depends on your activity and on how much of your income already suffers retenciones (see below).
The quarterly deadlines cluster in the month following each calendar quarter, so the discipline is really about keeping your books current rather than reconstructing a quarter in a panic. This is exactly the recurring cadence a freelancer has to build a routine around, and it is described from the social-security angle in our companion registration note too.
Annual summaries and the income-tax return
The quarterly filings are provisional. At the year-end they are pulled together into annual returns that settle the real position:
- Annual VAT summary — an end-of-year recapitulation of the year's IVA (historically Modelo 390), consolidating the four quarterly Modelo 303 filings.
- Annual income-tax return (Renta) — your personal IRPF return, where your business profit as an autónomo is declared alongside any other income, the quarterly Modelo 130 advances are credited, and the final tax due or refundable is calculated.
- Informative summaries — depending on your activity you may also file annual informative declarations (for example on withholdings applied or on operations with third parties).
The mental model to hold is simple: you pay tax in instalments through the year, and the annual returns true up those instalments against your actual results.
Invoicing rules and retenciones
An autónomo invoices in their own name, and Spanish invoices have a required anatomy. A compliant invoice generally shows a sequential invoice number, your name and NIF/NIE, the client's details, the date, a clear description of the service, the taxable base, the IVA rate and amount, and — for many professionals — a retención (withholding) line.
The retención is the feature that surprises newcomers most. Where you invoice a Spanish business or professional client and your activity is classified as professional, you typically add IVA to the base but the client withholds a percentage of IRPF and pays it directly to Hacienda on your behalf. So the amount that lands in your account is lower than the headline fee, because part of your income tax has already been paid at source. That withheld amount is credited back to you in your annual return — and, importantly, it is one of the things that determines whether you also need to file Modelo 130 each quarter. The applicable retención percentage, including any reduced rate for the first years of a new professional activity, is set by regulation and should be confirmed for your year and situation.
Deductible expenses — the basics
An autónomo is taxed on net profit, so legitimate business expenses reduce both your IRPF and, where the input VAT is deductible, your VAT bill. The governing principle is that an expense must be genuinely linked to the activity, properly documented with a valid invoice, and recorded in your books. Common categories include professional services (your gestor, for instance), software and subscriptions, business supplies and equipment, professional insurance, and your own social security contributions.
The grey areas are where care pays off. Expenses that mix personal and professional use — a home office, a phone, a vehicle, utilities — are subject to specific and sometimes restrictive rules on how much (if any) is deductible and on what conditions and proportions apply. Treating a mixed expense as fully deductible without meeting those conditions is a common source of later problems. The precise rules, proportions and conditions for these deductions are set by regulation and case law and must be confirmed for your circumstances.
The self-employed residence route and the Beckham regime
For an EU/EEA national, setting up as an autónomo is purely an administrative and tax exercise. For a non-EU national, the tax and social-security registrations sit on top of an immigration foundation: you generally need a residence and work authorisation that permits self-employment before you can lawfully register and operate. The self-employed residence permit is the route built for exactly this, and it typically expects a viable business plan and evidence that the activity is real — so the immigration approval and the autónomo setup are two halves of one project and should be planned together, not in sequence as an afterthought.
Separately, some incoming professionals ask whether the favourable Beckham regime applies to self-employed income. It can, in defined circumstances, but the regime has strict entry conditions and the treatment of autónomo income under it is technical — being registered as an autónomo does not by itself put you inside the regime, and the two decisions (how you register and whether you elect Beckham) interact and are best mapped out before you start invoicing.
When to use a gestor
Many autónomos hand the recurring compliance to a gestor or asesoría — a bookkeeping and tax-filing professional — and for good reason. The quarterly and annual filings are repetitive but unforgiving of small errors, and a gestor typically prepares and submits your Modelo 303 and Modelo 130, keeps your books, files the annual summaries, and flags deadlines. For a modest monthly fee (itself deductible) this removes a recurring administrative burden and reduces the risk of penalties for late or incorrect filings.
A gestor is not, however, a substitute for advice on the decisions that shape the whole setup: the right IAE heading, the correct VAT treatment for cross-border clients, whether the self-employed residence route or the Beckham regime fits your situation, and how a foreign company or foreign income interacts with becoming an autónomo. Those are legal and tax-strategy questions best resolved before you register — which is where a lawyer, rather than only a bookkeeper, adds value.
Key forms and obligations at a glance
| Form / obligation | What it is | When |
|---|---|---|
| Modelo 036 / 037 | Tax alta — declaring the start of your economic activity to Hacienda and choosing your VAT and IRPF regime | Before you start invoicing |
| RETA alta | Registration in the special self-employed social security scheme; triggers the monthly cuota | Around the start of the activity |
| Tarifa plana | Reduced flat monthly social security contribution for qualifying new autónomos (figures to confirm for the year) | Initial period after alta |
| Income-based cuota | Monthly contribution scaled to estimated net income, reconciled annually (brackets to confirm) | Monthly / reconciled yearly |
| Modelo 303 | Quarterly VAT (IVA) return — output VAT minus deductible input VAT | Each quarter |
| Modelo 130 | Quarterly IRPF payment on account (if not enough is withheld at source) | Each quarter |
| Annual VAT summary | Year-end consolidation of the quarterly VAT returns | Year-end |
| Renta (IRPF return) | Annual personal income-tax return; credits the quarterly advances and retenciones | Following year |
Form numbers and names are indicative and can change; every figure, deadline and rate in this page must be confirmed for the current year and your circumstances.
Frequently asked questions
Do I really need both a tax alta and a RETA alta?
Yes. The Modelo 036/037 alta with Hacienda switches on your tax obligations and legitimises your invoicing; the RETA alta with Social Security creates your monthly contribution and coverage. Being registered in only one is not being properly set up as an autónomo.
How much is the starting social security contribution?
Qualifying new autónomos can use the reduced tarifa plana for an initial period before moving to the income-based system. The exact monthly amount, duration and conditions are set by regulation and must be confirmed for the current year.
What do I file every quarter?
Typically Modelo 303 for VAT and, unless enough tax is withheld at source, Modelo 130 for IRPF payments on account — followed by annual summaries and the Renta return.
Can a non-EU national just register as an autónomo?
Not without the right immigration status. Non-EU nationals generally need a residence and work authorisation permitting self-employment first — the self-employed residence permit is the route designed for this.
Do I need a gestor?
It is not legally mandatory, but most autónomos use one for the recurring filings. A gestor handles bookkeeping and submissions; strategic and legal questions about your setup are better taken to a lawyer before you register.
General information, not tax or legal advice. Registration procedures, contribution amounts, brackets, rates, thresholds, form numbers and deadlines are set by regulation, vary by region and change from year to year, and must be confirmed for your circumstances and the current year before you rely on them.