Payroll guide for Spain: IRPF, social security, and employer obligations in 2026
Author
Irina Dzhambazova
Last Updated
12 August 2026
Read Time
13 min
Hiring in Spain becomes considerably more complex once payroll begins. A foreign employer accustomed to a single tax deduction quickly encounters individualised IRPF withholding, multiple Social Security contributions, statutory extra salary payments, collective-agreement rules, and filing obligations spread across different authorities. A small configuration error can affect payroll costs and compliance every month.
Spanish payroll is also highly localised. Contribution rates, minimum bases, overtime treatment, salary structures, and even whether employees receive 12 or 14 annual payments can depend on the applicable collective agreement and employment circumstances. Payroll in Spain is therefore less about translating a home-country process and more about configuring the local rules correctly from the outset.
Registration with both the tax authorities and Social Security, current contribution rates, and the correct collective agreement for the role sit at the centre of getting payroll right in 2026.
How does the Spanish payroll cycle and pay frequency work?
Under Article 29 of the Estatuto de los Trabajadores, salary must be liquidated and paid punctually on the agreed date and place, and the period to which regular periodic pay refers may never exceed one month. The same article requires salary to be documented through an individual receipt, the payslip, adjusted to the official model, unless a collective agreement uses another model that clearly separates earnings and deductions. In practice, most employees are paid monthly, with payroll processed at month-end and paid by bank transfer.
The feature that catches foreign employers is the pagas extraordinarias. Article 31 grants employees a right to two extraordinary payments per year, one at Christmas and the other in a month fixed by collective agreement, typically June or July. These are statutory pay elements, not discretionary bonuses. The agreement may set their amount and may permit them to be prorated across the twelve monthly salaries instead of being paid twice a year.
Whether an employer runs 12 or 14 payments depends entirely on that agreement:
- If prorrateo is permitted, the two annual gratifications are divided by twelve and added as a pro-rated concept to each monthly payslip. The employee receives a higher monthly gross and no separate June and December payments.
- If prorrateo is not permitted, the default is 14 payments: 12 ordinary monthly salaries plus two extras, each typically equivalent to one month of base salary or at least 30 days of the base or SMI.
Where the agreement prohibits prorrateo, Spanish Supreme Court case law has held that labelling monthly pay as pagas extraordinarias does not extinguish the obligation to pay the extras at their accrual dates, so a company that prorates against the agreement must still pay the June and December bonuses and may face claims. Either way, the extras count as salary for both social security and IRPF, and the contribution base includes the proportional part of extraordinary payments.
How do you build gross-to-net pay and calculate IRPF withholding?
Spanish payroll follows a standard build: gross salary, including base salary, supplements, overtime, and prorated extras, minus employee social security contributions and IRPF withholding, yields net pay. The payslip separates devengos (accrued earnings) from deducciones (deductions) so a worker can verify the computation and an employer can evidence compliance.
Employee social security contributions come off first. Seguridad Social defines the contribution basis as the monthly remuneration the worker is entitled to or receives, whichever is higher, plus the proportional part of extraordinary payments. For 2026, the bases and rates are governed by Order PJC/297/2026 of 30 March 2026 and Royal Decree-Law 3/2026, which set a general maximum contribution base of 5,101.20 euros per month and a minimum base linked to the statutory minimum wage increased by one sixth, with a floor of 1,424.40 euros.
The employee-side items for a standard general-regime employee in 2026 sit in the table below:
Contribution concept
Employee rate 2026
Employer rate 2026
Base and caps (general regime)
Common contingencies (pensions, disability)
4.70%
23.60%
Monthly remuneration incl. prorated extras; min base 1,424.40 €; max 5,101.20 €
MEI (Intergenerational Fairness Mechanism)
0.15%
0.75%
Same base as common contingencies, up to 5,101.20 €
Unemployment (general contracts)
1.55%
5.50%
Same base as occupational contingencies
Unemployment (fixed-term contracts)
1.60%
6.70%
Same base; higher rate for temporary contracts
Occupational training
0.10%
0.60%
Same base as occupational contingencies
Wage Guarantee Fund (FOGASA)
0.00%
0.20%
Employer only; same base
Solidarity contribution (excess over max base)
Employee share within 1.15–1.46% total
Majority employer share within 1.15–1.46% total
Salary above 5,101.20 € per month in three tiers; no extra pension rights
The key point is that Spanish social-security costs extend beyond the headline employer and employee rates. In addition to common contingencies, the Intergenerational Equity Mechanism (MEI) and the solidarity contribution increase costs for higher earners. The solidarity contribution applies only to salaries above the maximum contribution base and does not generate additional pension rights. Employers are responsible for withholding the employee portion and remitting both employer and employee contributions to Seguridad Social in the following month.
How the IRPF withholding rate is personalised
IRPF on employment income is collected through payroll withholdings and an annual return. What surprises employers coming from flat-rate systems is that there is no single table rate. Agencia Tributaria publishes an official withholding algorithm for 2026 and a Withholding Tax Calculation Service that payroll software must implement. The result is that Spanish income tax withholding cannot be copied from another country’s payroll and applied unchanged.
The rate is individualised from inputs including expected annual income, contract type, tax residence, number of children and dependants, disability status, marital status, spouse income, and pension contributions. The algorithm produces a percentage applied to the base sujeta a retención shown in the payslip footer, which starts from gross salary and subtracts exempt income and employee social security contributions. An employee may request a higher withholding than the calculated minimum, but an employer may not apply a lower rate than the algorithm yields.
A worked gross-to-net example
Consider a full-time Country Manager on 80,000 euros gross per year, paid in 12 monthly installments with extras prorated, under the general regime. The figures show the mechanism, not an exact individual outcome, which depends on personal circumstances.
- Calculate monthly gross: 80,000 € divided by 12 gives 6,666.67 € per month.
- Cap the contribution base: The monthly gross exceeds the maximum base of 5,101.20 €, so common contingencies, MEI, unemployment, training, and FOGASA apply only on 5,101.20 €, while a solidarity contribution applies to the excess of 1,565.47 €.
- Deduct employee social security: Common contingencies at 4.70% of the capped base is about 239.76 €, MEI at 0.15% about 7.65 €, unemployment at 1.55% about 79.07 €, and training at 0.10% about 5.10 €, plus a small employee solidarity share, for roughly 334 € in total.
- Set the IRPF base: Subtract exempt items and the social security contributions from monthly devengos, giving an IRPF base of about 6,332 € per month, or roughly 75,984 € annualised.
- Apply the algorithm rate: The official service computes a withholding percentage from that annual base and the employee’s personal data. Do not assume a home-country rate here; the precise figure must come from the official service rather than a generic bracket.
- Compute net pay: Gross 6,666.67 € minus social security of about 334 € minus the algorithm-derived IRPF leaves the net figure paid to the employee.
For production payroll, integrate the official AEAT withholding module and keep the contribution rates synchronised with the annual Contribution Order rather than hard-coding a percentage.
What are the employer-side social security costs and caps?
Employer contributions in Spain are the larger half of the bill. For general-regime employees, the standard employer rate on the contribution base is around 30.65%, combining common contingencies at 23.60%, unemployment at 5.50%, occupational training at 0.60%, FOGASA at 0.20%, MEI at 0.75%, and an occupational accident and disease contribution set by activity classification.
Those accident and disease rates vary with the economic activity classification (CNAE-2025) and are detailed in a table attached to Royal Legislative Decree 8/2015 as updated by Royal Decree-Law 3/2026. Office-based work typically sits in a low-risk band; construction and manufacturing carry higher percentages. Once the solidarity contribution on high salaries is added, combined employer-plus-employee contributions can reach an effective burden around 37 to 42% of gross for high bases.
Applying the employer rates above to the same 80,000 euro salary, with contributions capped at 5,101.20 € plus solidarity and accident rates on the excess, points to an employer social security cost of roughly 1,640 to 1,700 € per month for a low-risk occupation, around 30 to 32% of the monthly gross. Employers should model the actual figure using their precise CNAE accident rate and the solidarity tables, because the assigned code drives the number, and a wrong code can attract the highest applicable rate. Running a total employment cost estimate before signing the contract keeps that on-top burden from surprising the budget.
How do you register and file payroll returns in Spain?
Before the first hire, an employer registers with both Seguridad Social and Agencia Tributaria. For social security, the employer obtains a Código de Cuenta de Cotización (CCC), which appears in the payslip header, and registers each employee in the general regime with their affiliation number. The obligation to pay contributions begins when work starts and runs through temporary disability, maternity and paternity leave, and trial periods, ending when employment terminates, and the termination is reported within three calendar days. For tax, the employer registers as a withholding agent, obtains a NIF, and files periodic and annual IRPF returns.
Two forms carry the IRPF reporting load, and their deadlines follow the AEAT tax calendar:
- Modelo 111 reports and pays withholdings on salaries, filed monthly or quarterly by employer size. Monthly filers submit electronically within the first twenty calendar days of each month for the preceding month, with direct-debit submissions between the 1st and 15th. Quarterly deadlines fall around 20 April, 20 July, 20 October, and 30 January, shifting to the next working day when they land on a weekend or holiday.
- Modelo 190 is the annual summary that aggregates the Modelo 111 data. It is filed between 1 January and 2 February 2026 for the 2025 tax year.
Social security contributions run on a separate cycle. They are paid in the month following accrual, based on assessed contribution documents submitted electronically through the RED system, with payment by electronic receipt or direct debit. Late payment triggers surcharges of 20% or 35%, depending on whether the contribution documents were filed on time, plus interest, so the calendar discipline matters as much as the calculation.
What must a compliant Spanish payslip (nómina) include?
Article 29 requires the salary to be documented through an individual receipt conforming to the official model approved by the Ministry, unless a collective or company agreement uses another model that clearly separates concepts and deductions. A Ministerial Order of 27 December 1994 updated that official model to require inclusion of employer social security payments and to specify the contribution bases and the IRPF withholding base.
The official template has three sections: header, body, and footer.
- Header: Company name, address, tax ID (CIF), the social security CCC, the employee’s name, identification and social security number, professional category, contribution group (grupo de cotización), and seniority date.
- Body: Split into devengos and deducciones. Devengos cover salary perceptions (base salary, supplements, overtime, gratificaciones extraordinarias, salary in kind) and non-salary perceptions (reimbursements, indemnities, benefits). Deducciones cover employee social security contributions by contingency, the IRPF amount, and other authorised deductions. The net (líquido total a percibir) is total devengado minus total a deducir.
- Footer: Sets the bases, including common contingencies, occupational contingencies, and joint-collection items, the overtime base, and the base sujeta a retención for IRPF.
The receipt must be delivered to the worker and may be issued on paper or electronically, provided the system is reliable, accessible, and lets the employee keep a copy. Collective agreements may impose longer retention or stricter delivery rules.
Which statutory pay elements do employers owe beyond gross-to-net?
Several pay elements sit above the raw calculation and are common sources of underpayment. Spain sets a national minimum wage (Salario Mínimo Interprofesional, SMI) annually by Royal Decree. For 2026, commentary points to an SMI of around 1,184 euros per month across 12 payments, though the confirmed figure depends on the SMI decree, and the general minimum contribution base floor is set at 1,424.40 euros. Collective agreements often set higher category minimums that act as binding floors above the statutory SMI.
Overtime, holiday, and sick pay each carry their own rules:
- Overtime: Articles 34 and 35 govern working time and overtime. Overtime is generally voluntary unless the agreement or contract requires it, and must be compensated by pay at least equal to the ordinary rate or by equivalent rest. Social security adds a contribution on overtime remuneration: 14% total (12% employer, 2% employee) for force-majeure overtime and 28.30% total (23.60% employer, 4.70% employee) for other overtime.
- Holiday pay: Employees are entitled to at least 30 calendar days of paid annual leave, paid at normal or average remuneration, including fixed supplements. Replacing vacation with cash is generally unlawful, and foreign employers often underpay by applying home-country rules.
- Sick pay: Temporary incapacity benefits are administered primarily by Social Security, sometimes topped up by employer obligations under law or collective agreement. Contributions continue during incapacity, and the employer may act as delegated payer of benefits to be compensated later.
Underpinning all of this is the daily time record. Since the Real Decreto-ley 8/2019 reform, Article 34.9 requires employers to maintain a daily record of each employee’s start and end times, with overtime recorded separately and summarised to the worker with the payslip. The record must be kept for four years and stay available to workers, their representatives, and the Labour Inspectorate. In the absence of proper records, courts have at times presumed full-time work or accepted credible overtime claims, though recent Supreme Court decisions clarify that where a fixed schedule exists, a worker must still provide some evidence of overtime.
Where do foreign employers get Spanish payroll wrong, and what is the first move?
The mistakes that generate claims and surcharges are surprisingly consistent. Foreign employers often treat pagas extraordinarias as discretionary bonuses rather than statutory pay, apply home-country assumptions to IRPF withholding, overlook contribution caps and solidarity contributions for higher earners, or underestimate Spain’s working-time record requirements. Errors also frequently arise when holiday pay, sick pay, or filing deadlines are managed using processes designed for another jurisdiction.
The common thread is that Spanish payroll is a matter of configuration rather than translation. The applicable collective agreement, CNAE code, filing calendar, and payroll settings all need to be established correctly before the first payroll run, and collective agreements frequently override statutory defaults. For most employers, the practical starting point is confirming the correct convenio and CNAE classification, as those two inputs drive much of the payroll treatment and total employment cost. Boundless, a Payoneer company, provides a workforce management platform that supports organisations in hiring, paying, and managing talent across international markets. Explore how the different employment models and local payroll structures fit into your Spain hiring strategy before making your first hire.
FAQs
Not always. The applicable collective agreement determines whether the two statutory extra payments are paid separately or prorated across 12 monthly salaries. Employers cannot unilaterally prorate them where the agreement prohibits it.
IRPF withholding is individualised. Factors such as family situation, tax residence, dependants, disability, and pension contributions mean two employees on the same salary can have different withholding rates.
The solidarity contribution applies only to remuneration above the maximum contribution base and is shared between employer and employee. It increases payroll costs for higher earners but does not generate additional pension rights.
Modelo 111 is filed either monthly or quarterly, depending on the employer’s size and tax status. It reports the IRPF withheld from employment income, while Modelo 190 serves as the annual summary return reconciling the amounts reported during the year.
Late payment of Social Security contributions can trigger significant surcharges and interest. The financial consequences depend partly on whether the employer submitted the required contribution documents on time, making both filing deadlines and payment deadlines important compliance obligations.
The making available of information to you on this site by Boundless shall not create a legal, confidential or other relationship between you and Boundless and does not constitute the provision of legal, tax, commercial or other professional advice by Boundless. You acknowledge and agree that any information on this site has not been prepared with your specific circumstances in mind, may not be suitable for use in your business, and does not constitute advice intended for reliance. You assume all risk and liability that may result from any such reliance on the information and you should seek independent advice from a lawyer or tax professional in the relevant jurisdiction(s) before doing so.
Explore more resources
Payroll guide for Belgium: Contributions, taxes, and employer obligations
A guide to Belgian payroll for foreign employers, covering ONSS contributions, withholding tax, Joint Committee rules, wage indexation, and the expatriate regime.
Payroll guide for Croatia: JOPPD, JLS rates, and employer obligations in 2026
A practical guide to Croatian payroll, covering JOPPD reporting, local taxes, contributions, and employer responsibilities.
Payroll guide for Hungary: Contributions, taxes, and employer obligations
A payroll guide for employers in Hungary, covering tax rates, social contributions, the 08E registration, monthly filing deadlines, tax allowances, and 2026 reforms
Payroll guide for Poland: ZUS contributions, PIT, and employer obligations
A payroll guide for foreign employers in Poland, covering ZUS contributions, PIT withholding, health insurance, PPK, civil-law contracts, and monthly filing obligations
Global employment made gloriously uneventful
Talk to us and discover Boundless possibilities
Book a personalised discovery and get your questions answered by our experts.





