• AUG Certified badgeAUG (Authorized User Group) Certified
  • IND Recognised SponsorIND Recognised Sponsor
  • Nasscom Certified badgeNasscom Certified
  • SNA Certified badgeSNA Certified
  • AUG Certified badgeAUG (Authorized User Group) Certified
  • IND Recognised SponsorIND Recognised Sponsor
  • Nasscom Certified badgeNasscom Certified
  • SNA Certified badgeSNA Certified
  • 4.9 stars on G2
Spain · Payroll & Compliance

How Does Payroll Work in Spain?

Payroll in Spain is built around the “contribution base” (base de cotización), a capped and floored figure derived from an employee's salary that determines Social Security contributions for both employer and employee. Employers withhold the employee's share of Social Security (around 6.35%–6.5%) and personal income tax (IRPF, a progressive rate that varies by income and region), while separately paying their own Social Security contributions of approximately 30%–31% on top of gross salary. Payroll is typically processed monthly, often split across 14 payments per year rather than 12, and must be reported through Spain's Social Security system (Sistema RED) and tax authority filings. Given this complexity, many foreign companies rely on a gestoría, payroll provider, or Employer of Record to manage the process.

Why Do Companies Ask About Payroll in Spain?

Spanish payroll is often described as more intricate than payroll in many other EU countries, largely because contributions are calculated on a capped, category-based base rather than gross salary alone, and because many employees receive 14 payments a year instead of the more common 12.

Companies unfamiliar with the Spanish system often assume payroll works similarly to their home country, only to discover additional complexity around contribution bases, professional categories, and sector-specific collective bargaining agreements (convenios colectivos).

Understanding how payroll works helps companies:

  • check_circleSet up accurate, compliant payroll processes from day one.
  • check_circleAvoid miscalculating contributions or withholding.
  • check_circleBudget correctly for the true cost of employment.
  • check_circleDecide whether to manage payroll in-house, outsource it, or use an EOR.

Key Elements of Spanish Payroll

The Contribution Base

Rather than applying Social Security rates directly to gross salary, Spain calculates contributions on a “contribution base,” which includes regular salary, prorated extra payments, and most taxable benefits. This base is subject to a minimum (tied to the employee's professional category and the national minimum wage) and a maximum (€5,101.20 per month in 2026).

14 Payments a Year

Unlike many countries that pay salary in 12 monthly installments, Spanish employment commonly includes two additional “extra” payments (pagas extra), often in summer and at Christmas, unless the collective agreement specifies the extra payments are prorated across the standard 12 months instead.

Employee Deductions

From each paycheck, employers withhold:

  • assignmentEmployee Social Security contributions (approximately 6.35%–6.5% of the contribution base)
  • assignmentIRPF income tax, a progressive rate based on income level, personal circumstances, and the employee's autonomous community of residence

Employer Contributions

Separately, employers pay their own Social Security contributions of roughly 30%–31% of the contribution base, covering common contingencies, unemployment, training, FOGASA, and the Intergenerational Equity Mechanism (MEI), plus a variable workplace accident rate.

Monthly Reporting

Employers must report payroll and contributions through Spain's Sistema RED, the electronic system used by the TGSS (Tesorería General de la Seguridad Social) to manage Social Security filings, alongside separate tax filings with the Agencia Tributaria for IRPF withholding.

Payroll Calculation Overview

StepWhat Happens
1. Determine Gross SalaryIncludes base pay plus regular bonuses and allowances
2. Apply Contribution Base RulesCapped at €5,101.20/month, floored by professional category
3. Deduct Employee Social Security~6.35%–6.5% of the contribution base
4. Deduct IRPFProgressive rate based on income and region
5. Calculate Employer Social Security~30%–31% of the contribution base, paid on top of salary
6. File via Sistema REDMonthly Social Security reporting
7. Pay Net SalaryTypically monthly, often across 14 annual payments

In Practice

lightbulbExample scenario

Imagine a UK software company hires its first Customer Success Manager in Valencia with a gross annual salary of €40,000.

The company's payroll provider must determine the correct professional category (grupo de cotización) for the role, apply the appropriate contribution base, withhold the employee's Social Security share and estimated IRPF, and separately calculate the employer's roughly 30%–31% contribution. If the role falls under a specific convenio colectivo, the payroll setup must also confirm whether the €40,000 salary is paid over 12 or 14 installments and whether it meets the collective agreement's minimum salary scale.

Without local expertise, these steps can quickly become complex, particularly for companies unfamiliar with Spain's contribution base system and sector-specific agreements.

Payroll Administration Options

Companies hiring employees in Spain typically choose one of three approaches.

ApproachPayroll ResponsibilityCompliance Complexity
Spanish SL (In-House)CompanyHigh
Spanish SL (Outsourced to Gestoría)Company, with supportMedium
Employer of RecordEOR ProviderLow

The right option depends on company size, hiring volume, internal resources, and long-term expansion plans.

Common Payroll Mistakes

report_problemApplying Gross Salary Directly Instead of the Contribution Base

Because Social Security is calculated on a capped, category-based base, using gross salary directly can lead to under- or over-contribution.

report_problemMissing the Correct Convenio Colectivo

Applying the wrong sector agreement can result in incorrect minimum salaries, missing extra payments, or non-compliant benefits.

report_problemAssuming 12 Equal Monthly Payments

Many Spanish employees receive 14 payments a year. Structuring payroll around 12 payments without accounting for this can create compliance and payslip errors.

report_problemUnderestimating Employer Contribution Costs

Companies that only budget for gross salary often miss the roughly 30%–31% employer Social Security add-on when forecasting workforce costs.

Hiring Through an EOR in Spain

Many international companies use an Employer of Record (EOR) to avoid building Spanish payroll infrastructure from scratch. Under an EOR model, the provider typically manages:

  • check_circlePayroll administration and contribution base calculations
  • check_circleIRPF tax withholding
  • check_circleEmployer and employee Social Security contributions
  • check_circleConvenio colectivo compliance
  • check_circleSistema RED filings

The employee works for your business day-to-day, while the EOR handles the legal employment and payroll responsibilities. For companies hiring their first employees in Spain, this can significantly reduce administrative complexity.

Bottom Line

Payroll in Spain is built around a capped, category-based contribution base rather than gross salary alone, with employer Social Security contributions of roughly 30%–31% paid on top of salary, employee deductions of around 6.35%–6.5% plus IRPF, and payroll commonly split across 14 annual payments. These mechanics directly affect the total cost of employment and should be considered before hiring. For companies entering the Spanish market, understanding payroll obligations is essential when deciding whether to hire through a local entity or an Employer of Record.

What are employer social security costs in Spain?
Spanish employer Social Security contributions total approximately 30%–31% of the contribution base, covering common contingencies, unemployment, training, and wage guarantee protections.
Can I hire employees in Spain without a legal entity?
Yes. Companies can hire in Spain without a local entity by using an Employer of Record, which manages payroll and Social Security contributions on the company's behalf.
How much does an employer of record cost in Spain?
EOR costs combine the provider's service fee with employer Social Security contributions, which typically add 30%–31% to the contribution base.
How long does it take to hire employees in Spain?
Hiring through an EOR typically takes days to a couple of weeks, while establishing a Spanish entity first can take several weeks to a few months.
Get started

Ready to Hire in Spain?

Let us manage Spanish payroll compliance for you. Speak with our experts about contribution bases, withholding, and reporting.

check_circleNo upfront cost to get started check_circleOnboard in as fast as 48 hours check_circle100% compliant globally check_circle24/7 dedicated support