Skip to content
Banking & Money8 min readBy SpainUnveiled Editorial Team

How to Register as a Freelancer (Autónomo) in Spain: Step-by-Step Tax & Social Security Setup

A practical, step-by-step guide to registering as autónomo in Spain — covering Hacienda, Social Security (RETA), Modelo 130, IVA, and the tarifa plana.

How to Register as a Freelancer (Autónomo) in Spain: Step-by-Step Tax & Social Security Setup - Spain Unveiled

This article is general information, not legal, tax, or immigration advice. Rules and figures change — verify with an official source or a licensed professional before acting.

How to Register as a Freelancer (Autónomo) in Spain: Step-by-Step Tax & Social Security Setup

If you're relocating to Spain and plan to work for yourself — whether as a consultant, designer, developer, translator, or small-business owner — you'll almost certainly need to register as autónomo (self-employed). It's the Spanish equivalent of setting up as a sole trader, and it's the legal foundation for invoicing clients, paying taxes, and contributing to social security.

The process isn't complicated once you understand the moving parts, but it does require dealing with two separate government bodies: the tax agency (Agencia Tributaria / Hacienda) and the social security administration (Tesorería General de la Seguridad Social, or TGSS). This guide walks you through the full sequence so you can register with confidence.

Important: Tax rates, social security contributions, and administrative rules in Spain change regularly. Always confirm current figures with a licensed gestor or asesor fiscal, or check the official Agencia Tributaria and Seguridad Social websites before acting on financial decisions.

Who Needs to Register as Autónomo?

You need to register as autónomo if you're going to carry out an economic activity habitually, personally, and directly for profit in Spain. That includes:

  • Freelancing for Spanish or foreign clients while living in Spain
  • Running a small business as a sole proprietor
  • Working as a self-employed professional (lawyer, architect, doctor, etc.)
  • Being an administrator of your own SL company (though this is a different sub-category)

Non-EU citizens must first have a residency and work authorization that permits self-employment — typically the visado por cuenta propia (self-employment visa) or the digital nomad visa introduced under the Startups Law. EU/EEA citizens can register directly once they have a NIE and are on the Registro Central de Extranjeros.

What You Need Before You Start

Gather these essentials before beginning the paperwork:

  • NIE (Número de Identidad de Extranjero) — your foreigner's ID number
  • Digital certificate (Certificado Digital or Cl@ve) — this lets you file everything online and is genuinely worth setting up before day one
  • A Spanish bank account for tax direct debits and social security payments
  • A Spanish address where you can receive correspondence
  • A clear idea of your activity code (IAE — Impuesto sobre Actividades Económicas), which classifies what you do

Step 1: Register With Hacienda (Modelo 036 or 037)

Your first stop is the Agencia Tributaria. You need to declare that you're starting an economic activity by submitting either:

  • Modelo 037 — the simplified version, suitable for most individual freelancers
  • Modelo 036 — the full version, required if your situation is more complex (intra-EU transactions, certain VAT regimes, etc.)

On this form you'll specify:

  • Your IAE epígrafe — the code that describes your professional activity (there are separate lists for professional activities and business activities)
  • Your tax address
  • Whether you'll charge IVA (VAT) and under which regime
  • Whether you'll apply IRPF withholding on your invoices (professionals usually do)
  • The start date of your activity

This can be filed online with your digital certificate or in person at a Hacienda office with an appointment (cita previa). There's no fee.

Common mistake: choosing the wrong IAE code. It affects your VAT treatment, whether clients withhold IRPF, and how the tax office classifies you. Ask a gestor if you're unsure — changing it later is possible but annoying.

Step 2: Register With Social Security (RETA)

Within 30 days of registering with Hacienda (and no later than the day you begin activity), you must enroll in the Régimen Especial de Trabajadores Autónomos (RETA) at the TGSS.

You do this by submitting Modelo TA.0521 (or the equivalent online form through the Importass portal). You'll need:

  • Your NIE and digital certificate
  • Your Modelo 036/037 confirmation
  • Your Spanish bank account (IBAN) for the monthly direct debit
  • Your projected net monthly earnings, since Spain now uses an income-based contribution system for autónomos

The Income-Based Contribution System

Spain moved from a flat-rate system to one where your monthly social security payment is based on your real net income (revenue minus deductible expenses, with a fixed further deduction applied). You choose a provisional contribution bracket at registration based on what you expect to earn, and this can be adjusted several times per year as your income changes. At year-end, Social Security reconciles your bracket against your actual earnings and either refunds or bills the difference.

Because the bracket table is updated periodically, do not rely on figures from older blog posts. Check the current Seguridad Social tables before you register, and choose realistically — too low a bracket triggers a large reconciliation bill later.

The Reduced "Tarifa Plana" for New Autónomos

New autónomos generally qualify for a reduced flat monthly contribution for the first year (extendable under certain conditions if your income stays below the minimum wage). This is a substantial saving compared to the standard contribution. Confirm the current amount and eligibility rules with the TGSS or your gestor — the specific figure and duration have been adjusted several times.

Step 3: Understand Your Ongoing Tax Obligations

Once you're registered, you'll file taxes on a recurring quarterly and annual cycle. The main forms are:

  • Modelo 130 — quarterly IRPF (income tax) prepayment, filed if less than ~70% of your invoices carry IRPF withholding. If most of your clients are Spanish businesses that withhold, you often don't need to file this.
  • Modelo 303 — quarterly IVA (VAT) declaration. You report VAT charged on sales, subtract VAT paid on business expenses, and pay or carry forward the difference.
  • Modelo 390 — annual VAT summary
  • Modelo 100 — your annual personal income tax return (Declaración de la Renta), filed in spring for the previous year
  • Modelo 349 — for intra-EU B2B transactions, if applicable
  • Modelo 347 — annual report of Spanish clients/suppliers over a certain threshold

Deadlines fall roughly around the 20th of April, July, October, and January for the quarterly forms — but always check the current tax calendar.

Step 4: Invoicing Correctly

Every invoice you issue as autónomo must include:

  • A sequential invoice number
  • Your full name, NIE, and address
  • The client's full details and tax ID
  • A clear description of services
  • The taxable base, the IVA rate applied (the standard rate, a reduced rate, or exempt if applicable), and the total
  • IRPF withholding if the client is a Spanish business and you're a profesional — typically a percentage deducted from your fee

Keep every invoice (issued and received) for at least the legally required retention period. Digital storage is fine.

Common Mistakes to Avoid

  • Waiting too long to register. Backdated registration is possible but comes with penalties and back-payments.
  • Choosing the wrong tax regime. Some autónomos qualify for simplified regimes; others must use the general regime. Get advice.
  • Forgetting the Modelo 303 even in zero-VAT quarters. You still file it, just with zeros.
  • Not hiring a gestor when starting out. A gestor typically charges a modest monthly fee to handle your filings — for most newcomers this pays for itself in avoided fines and time saved.
  • Assuming EU VAT works like Spanish VAT. If you invoice EU B2B clients, you'll likely need to register on the ROI/VIES system.

Short FAQ

Do I need a gestor? Not legally, but almost every practicing autónomo uses one, especially in the first year. It's the single best money you'll spend while learning the system.

Can I be autónomo and employed at the same time? Yes — this is called pluriactividad and can even qualify you for reduced social security contributions. Declare it properly.

What if I have very low income? The income-based system provides lower brackets for low earners, and the tarifa plana further reduces the initial cost. You still must register if the activity is habitual.

Can I deduct home office, internet, and meals? Some, partially, and under strict conditions. A percentage of home utilities is deductible if you've declared a home workspace on your Modelo 036/037. Meal deductions have daily caps and require electronic payment. Always ask your gestor what's genuinely defensible.

How do I stop being autónomo? File a baja on both Modelo 036/037 (Hacienda) and TA.0521 (Social Security). Do it promptly — you keep accruing social security charges until you deregister.

Registering as autónomo is one of the more bureaucratic milestones of building a life in Spain, but once the system is set up it runs on autopilot. Invest a few hours upfront, get a good gestor, and you'll be free to focus on the work itself.

More guides in Banking & Money