If you're a developer thinking about working in Spain — or already here and trying to figure out your options — this is the practical breakdown. Not the official guide, but the one that tells you what the numbers actually look like.
The three paths
Every developer working in Spain ends up in one of three situations: employee (on someone's payroll), autónomo (self-employed freelancer), or SL (limited company, usually a one-person shop). Each has a different tax structure, different risk profile and different ceiling.
Being an employee
The simplest option. Your employer handles taxes and social security. You get a payslip, paid holidays, sick leave and unemployment entitlement. The downside: you're limited to what your employer pays, and if you want to take on side work, you need their permission and potentially have to set up as autónomo anyway.
For developers earlier in their career, or those who want stability and no admin, employment is often the right call. Senior developers sometimes find the ceiling too low.
Being autónomo
The freelance path. You register as self-employed, invoice your clients directly, and pay your own social security and income tax. As of 2023, social security contributions in Spain are tied to your actual income (the "cuota por ingresos reales" system), which is fairer than the old flat-rate system.
Key numbers for 2026: if you earn around €30,000/year, your monthly social security quota is roughly €230–€290. Add income tax (IRPF) on top, which is progressive from 19% to 47%. The total tax burden for a developer earning €50,000 gross is typically 35–42% of income.
The upsides: full flexibility, ability to work with multiple clients, deductible expenses (home office, equipment, phone, professional subscriptions). The downsides: admin overhead, no sick pay from day one, no unemployment benefit if work dries up.
Setting up a company (SL)
A Sociedad Limitada makes sense when you're billing consistently over €60,000–€80,000/year and want to split personal and business income for tax efficiency. The company pays corporation tax (25% on profit), and you pay yourself a salary plus dividends. Done right, the total tax burden can be lower than autónomo — but you need an accountant who knows what they're doing, and setup costs money.
Most developers start as autónomo and switch to SL when it makes financial sense. The crossover point depends on your expenses and personal circumstances.
What nobody tells you
- The first year as autónomo is the hardest — no client list, learning the admin, building a routine. It gets easier.
- Late payments are common. Invoice clearly, invoice promptly, and have a cash buffer.
- Health insurance: as autónomo you're covered by Spain's public system, but many buy private cover because it's faster and better for certain things. ~€50–€80/month.
- Veri*Factu (the electronic invoicing system Spain is rolling out) will eventually be mandatory for autónomos too. It's worth understanding now.
Remote work for foreign companies
If you're in Spain working remotely for a UK, German or US company, you still pay Spanish taxes on that income. The company doesn't need a Spanish entity if you're invoicing as autónomo, but make sure there's a proper contract and you're not structured as an employee in practice.
Spain's digital nomad visa (Startup Law 2023) offers a flat 15% income tax rate for up to 4 years if you qualify — worth looking into if you're relocating.
Want to hire a developer?
If you're on the other side of this — looking to hire a developer in Spain — we've written about that too. And if you'd like to talk through what makes sense for your situation, remote work or otherwise, get in touch.
FAQ
Do I need to speak Spanish to work as a developer in Spain?
Not necessarily, especially for remote work with international clients. But for local clients and admin, some Spanish makes everything easier. Most developers who've been here a few years pick it up.
Can I be autónomo and also have a part-time job?
Yes. You can be simultaneously employed and autónomo. Your social security contributions are handled separately for each. Talk to an accountant about how IRPF applies to the combined income.
What's the best city for developers in Spain?
Madrid and Barcelona have the most tech companies and highest salaries. Valencia, Málaga and Seville have growing tech scenes with lower costs of living. Remote work makes location matter less than it used to.
This article is for general information only and does not constitute legal, tax or financial advice. Regulations and rates change. Consult a Spanish tax advisor for your specific situation.