SpainTaxes

How to manage student tax and social insurance duties in Spain

Determine tax residence, register each work activity correctly, reconcile withholding and contributions, and file through the right annual system.

A practical guide to student tax residence, resident and non-resident income, payroll, internships, scholarships, self-employment, multiple payers, filing and corrections. Work through the guidance to compare the relevant options, prepare evidence, track timing and costs, and recognise the points that need confirmation with the responsible authority or service.

StudentsPeople living abroadWorkers

Guide details

  • 11 min read
  • 7 chapters
  • 15 sources
  • Updated Aug 26, 2026

Key checks: student taxes Spain, tax residence student Spain

Separate student status from tax and insurance rules in Spain

Covers student taxes Spain, tax residence student Spain in Spain, with practical detail on the route, evidence, timing and remedies.

Keep three decisions separate: immigration permission to work, Social Security registration for the activity, and tax treatment of the income. Count presence by calendar year, preserve treaty and foreign-income evidence, verify alta before work or placement begins, and review every payslip. Do not assume that a low withholding, a scholarship label or student status means nothing must be reported.

Key points

  • A study permit does not decide tax residence.
  • Spanish residence usually applies for the full calendar year.
  • Withholding is only a tax prepayment.
  • Qualifying placements enter Social Security.
  • Not every scholarship is tax-exempt.
  • Self-employment creates separate recurring duties.

System Map

Separate Tax Residence, Resident IRPF, Non-Resident IRNR, Employee Payroll, Placement, Scholarship, and Self-Employment Routes

The correct obligations follow residence, income source and activity rather than the word student.

Decide tax residence for the calendar year

Spain generally treats an individual as tax resident when present for more than 183 days in the calendar year or when the principal base of activities or economic interests is in Spain. A presumption can also arise where a non-separated spouse and dependent minor children habitually live in Spain. The official residence rules apply for the full calendar year, not from the 184th day. Temporary absences can count, and an immigration card, matrícula or padrón does not decide the result alone.

A resident generally uses IRPF and reports worldwide income subject to exemptions, treaty relief and foreign-tax credit. A non-resident uses IRNR for Spanish-source income, including work physically performed in Spain where the treaty does not allocate it elsewhere. If two countries claim residence, apply the treaty tie-breaker and obtain residence certificates; do not choose the lower tax informally.

Classify each payment and activity

Employee salary follows payroll withholding and Social Security alta. A paid or unpaid academic placement within the statutory programme can require Social Security inclusion even without an employment contract. A payment called a scholarship may be exempt only when the grantor, regulated-study purpose, open award conditions and amount meet the law. A research contract, teaching assistantship or payment for services is not converted into an exempt grant by its label.

Genuine self-employment requires immigration permission, tax census registration, invoicing, books, periodic forms and RETA. Cash or occasional income is not automatically outside either system. Foreign salary, remote work, investment, rent and scholarships must be classified under residence, source and treaty rules.

Use this route map: resident employee, reconcile IRPF payroll and annual filing; non-resident employee, verify IRNR withholding and treaty; placement student, verify agreement, alta and payment classification; scholarship recipient, test the exact exemption; self-employed student, register both tax and RETA before activity; student with no taxable income and no filing trigger, retain the analysis and lawfully take no return action. Always assess the same calendar year across all payers and countries.

Eligibility

Test the 183-Day and Economic-Interest Rules, Treaty Residence, Work Permission, Alta, Scholarship Conditions, and Filing Status

Small factual differences can move a student between resident, non-resident, exempt, payroll and self-employed treatment.

Establish residence and source

Create a calendar-year day log using entry and exit records, tickets, housing and study attendance. Include sporadic absences when Spanish tax law requires them to count unless tax residence elsewhere is proven. Separately map where family lives, where work is performed, where clients and management sit, and where principal income and assets arise. A September arrival may remain non-resident for that first year, while a full academic year often crosses two different tax-residence results.

If domestic tests make the person resident in Spain and another treaty country, apply permanent home, centre of vital interests, habitual abode and nationality in the treaty order. Student articles in some treaties can protect defined maintenance or education payments from the home country, but they do not automatically exempt local employment or every grant. Use the exact treaty and facts.

Test activity and payment conditions

Before employment, confirm immigration permission and employer alta. The unique Social Security number becomes the affiliation number when covered activity begins, but neither a number nor tax withholding grants work permission. Paid salary is employment income even when hours are low. Multiple employers must each receive correct payroll data, while annual filing looks at the total.

Qualifying external academic and training placements are treated as persons assimilated to employees for Social Security, with statutory exclusions and different paid or unpaid contribution mechanics. Verify that the educational programme, agreement and responsible entity fit the official placement rules.

The scholarship exemption rules cover public and certain qualifying nonprofit or bank-foundation awards for regulated study under stated publicity, access, purpose and amount conditions. Employer-only family grants, private payments, service compensation and excess amounts can be taxable.

A student operating independently must have the actual freedom and business risk of self-employment, compatible immigration rights and required licences. One client controlling schedule and methods can indicate false self-employment. Anyone registered in RETA during 2025 had an IRPF filing obligation regardless of income under that year's rule.

Records

Keep Identity, Alta, Contracts, Placement and Scholarship Terms, Payslips, Tax Certificates, Days, and Foreign Income

A year-round evidence ledger prevents a draft tax return or employer record from becoming the only version of the facts.

Build identification and activity records

Keep passport or identity, NIE or Spanish NIF evidence, current address and tax-domicile updates, digital-access credentials and bank-account ownership. NIE identifies a foreigner but does not prove tax residence. Preserve day-count evidence, housing, study calendar, family residence and tax-residence certificates from any other country involved.

For a job, keep work permission, Social Security number, effective alta, contract, collective agreement, schedules, time log, monthly payslips, bank payments, contribution history and annual withholding certificate. The Social Security number route allows the person or hiring employer to request the number before registration. Verify that the employer later used the correct identity and effective date.

A placement file needs the academic agreement, learning plan, paid or unpaid status, responsible entity, days, allowance, alta and contribution record. A scholarship file needs the complete published call, eligible population, grantor status, application, award, purpose, covered costs, amount, payment dates and any tax certificate. A one-line bank transfer labelled scholarship is insufficient evidence of exemption.

Keep a calendar-year income ledger

Record every payer, country, gross amount, currency, payment date, activity, withholding, Social Security contribution and supporting document. Add foreign salary, remote work, interest, dividends, investments, rent, grants and self-employed invoices. Preserve foreign tax assessments and payment proof for treaty or credit claims, using a consistent official exchange-rate method for the relevant tax year.

Self-employed records include immigration permission, tax census and RETA alta and baja, invoices in sequence, income and expense books, VAT or exemption basis, quarterly filings, bank records and licences. Keep receipts only for genuine deductible activity costs with business connection.

Give each employer an accurate model 145 and retain a copy. The official procedure is employee-to-payer, not a filing with AEAT. Update relevant changes. Before annual filing, reconcile employer certificates, tax data, Social Security history and bank receipts. Correct inconsistent name, NIE, dates, address or income at the source and preserve both the request and corrected record.

Use the System

Confirm Work Rights, Obtain Numbers, Complete Alta, Give Model 145, Track Income, Register Autónomo, and File the Correct Return

Complete immigration, Social Security and tax dependencies in their own channels and verify each accepted result.

Register and monitor activity

  1. Classify the year. Analyse Spanish tax residence, treaty residence and income source for the whole calendar year. Do not wait for a payroll label.

  2. Confirm immigration permission. Verify student work rights and the hour ceiling before employment, placement or self-employment.

  3. Obtain identifiers. Secure NIE or tax NIF as applicable and a Social Security number before covered activity. Register digital access and an accurate tax address.

  4. Complete alta. Employer alta must be effective before employment. The responsible institution or host registers a qualifying placement. A self-employed student completes tax census and RETA registration before activity under the applicable sequence.

  5. Supply payroll data. Give model 145 directly to each payer, keep a copy and report relevant changes. Use the 2026 official withholding service to sense-check payroll, remembering that withholding is only a prepayment.

  6. Audit monthly. Reconcile gross pay, deductions, bank credit, contribution base and alta. Track days and all Spanish and foreign income. Test each scholarship against its award terms, not its title.

  7. Complete periodic duties. A genuine autónomo issues compliant invoices, keeps books and files applicable VAT, IRPF prepayment and information forms on their live quarterly and annual dates. Employee payroll does not replace separate business filing.

  8. Choose IRPF or IRNR. A resident uses the annual IRPF system for worldwide income. A non-resident files or reconciles Spanish-source income through the relevant IRNR route and treaty rules. Do not put the same income into both without a clear correction or credit treatment.

  9. Review the official draft. For 2025 income, use the free Renta WEB service. Confirm address and regional competence, add missing foreign income and expenses, verify grant treatment and compare individual or joint options where eligible. Imported data is not a tax decision.

  10. Submit and preserve proof. Save the accepted return, secure verification code, payment or refund instruction and every supporting record. Where no return is required, save the residence, income and threshold analysis. Monitor notices and update tax, Social Security, insurer and immigration records after work, address or study changes.

Costs and Contributions

Understand Payroll Contributions, 2026 Withholding, Placement Charges, RETA, Scholarship Limits, Filing Outcomes, Advice, and Late Cost

Budget using gross income, activity-specific contributions and final annual tax rather than the first net payment.

Price employment and placements

An employee's gross salary can be reduced by the applicable employee Social Security contributions and IRPF or IRNR withholding. Rates and bases depend on contract, contribution contingencies and annual rules. IRPF withholding also depends on expected pay and model 145 data; a zero or low amount can still lead to an annual payment when total income or multiple payers are considered. Use the official calculator and compare contribution history with the payslip.

For qualifying paid placements in 2026, Social Security publishes common-contingency contributions of EUR 57.72 employer, EUR 11.51 student and EUR 69.23 total monthly, plus EUR 7.95 employer accident and occupational-disease contribution under the stated table. Paid and unpaid qualifying placements receive the 95 percent common-contingency reduction. Actual calculation, contribution responsibility and day limits differ by branch, so verify the placement's live settlement.

A self-employed student budgets RETA based on the current net-income system, tax prepayments, possible VAT, bookkeeping, insurance, professional fees, banking, licences and optional gestor. Registration and official electronic filing can be free; professional help is optional unless complexity warrants it. Late registration or filing can create contribution arrears, surcharges, interest and penalties that exceed the adviser cost.

Understand tax outcomes

For a non-resident without permanent establishment, the current rate table publishes a 19 percent general rate for qualifying EU, Iceland, Norway and Liechtenstein residents and 24 percent for others, but income-specific rates and treaties can change the result. Do not apply that headline to every payment.

For residents, final IRPF combines state and autonomous-community rules, income categories, personal circumstances, deductions, withholding and foreign-tax relief. A qualifying study scholarship exemption can include tuition and insurance plus capped maintenance amounts; taxable excess or a non-qualifying grant must be assessed.

Renta WEB and AEAT assistance are free. A return can produce payment or refund; a refund is recovery of overpaid tax, not a grant. Budget tax before spending gross income. Preserve payment and accepted-filing proof, and price translation or cross-border advice where treaty residence, foreign grants, investments or remote work make classification genuinely complex.

Transitions

Manage Monthly Payroll, Quarterly Business Duties, Calendar-Year Residence, Annual Renta, Graduation, Job Changes, Moves, and Departure

Tax residence resets by calendar year while Social Security and payroll can change on the exact activity date.

Maintain the year as it unfolds

Before first work, complete permission, identifiers and alta. At every new job, give accurate model 145 data and track the payer total. A change in salary, contract, family circumstances or second payer can change withholding. Review monthly payroll and Social Security history. When a placement ends, verify baja, contribution days and payment certificate.

A self-employed student calendars monthly RETA and each applicable quarterly and annual tax form. Changing clients, activity, address or expected income can require census and contribution updates. Stopping work does not close registrations; submit both tax and RETA cessation correctly and keep acknowledgements.

Reassess tax residence on 31 December using the entire calendar year. A move between autonomous communities can change regional IRPF competence under day and interest rules, while Basque or Navarre residence can change the filing administration. Temporary student housing or an AEAT draft does not settle that question.

File and transition cleanly

For 2025 income, the 2026 Renta campaign opened online on 8 April and closed 30 June 2026. Telephone filing began 6 May, office filing 1 June, direct debit ended 25 June and appointment requests ended 29 June. Those dates are year-specific; use the live campaign for later income years.

The 2025 employee filing threshold was generally EUR 22,000 from one payer or where later payers together did not exceed EUR 1,500, and EUR 15,876 in specified multiple-payer and other cases. Separate income tests applied, and anyone registered in RETA during 2025 had to file regardless of amount. Do not reuse these figures for 2026 income without the new rules.

Before graduation, plan whether employment, self-employment, job-search residence, further study or departure will follow. A status change can alter healthcare and Social Security immediately, but not retroactively change tax residence already created. Obtain final payslips and certificates from each payer.

On departure, calculate that calendar year's residence, update tax address, close business registrations, retain a Spanish account where needed for payment or refund, and preserve treaty and foreign-residence proof. Monitor electronic notices after leaving. Keep records through the applicable limitation periods and longer where immigration, pension contribution or unresolved audit evidence needs them.

Problems and Help

Correct Wrong Residence, Missing Alta, Cash Work, Scholarship Errors, Foreign-Income Omissions, Withholding, and Late Returns

Correct the source record first where possible, then amend the tax or Social Security filing with a complete chronology.

Correct the underlying evidence

If employer name, NIE, pay, withholding or contribution base is wrong, send payroll a dated written correction request and preserve the answer. Verify Social Security alta and contribution history independently. For a missing or late alta, request correction from the employer or responsible placement body and use Social Security and labour-enforcement routes where it refuses. Cash work should be reconstructed from messages, schedules, location, bank deposits, witnesses and actual tasks; do not invent a contract or invoice after the event.

If a grant was treated automatically as tax-free, obtain the full call and award and test grantor, publicity, regulated study, purpose and amount. Reclassify salary, research services or taxable excess honestly. If a payer used non-resident withholding after the person became resident, or resident payroll while the person remained treaty non-resident, obtain residence certificates and assess the proper correction, annual return and refund route.

Fix filings and protect deadlines

Never accept an AEAT draft that omits foreign salary, investments, rent, grants or another payer. For a filed 2025 IRPF return, use the current corrective self-assessment route, repeating correct original data and changing the error or omission. The result can increase payment, reduce it or request a refund. Preserve the original reference and new receipt.

A late return can create surcharge, interest or penalty depending on whether tax was due, the delay and whether AEAT acted first. File an accurate correction promptly rather than waiting for a notice. If the wrong administration was used because Basque, Navarre or autonomous-community residence was misclassified, contact both competent offices before duplicating payment.

For a disputed assessment or Social Security decision, read the notice, evidence, remedy and deadline. A complaint to an employer does not pause an AEAT or TGSS appeal. Keep a chronology and proof of every filing, payment and notification access.

Qualified cross-border tax advice is proportionate for treaty double residence, foreign business, substantial investments, research grants, remote work, special regimes or large omitted amounts. Immigration advice is separate if work exceeded permission. Report phishing and fake tax-payment demands through official channels; AEAT does not require payment to unlock a scholarship. Immediate wage coercion or identity theft can also require labour or police help.

Guidance from Spanish Tax Agency

Official Spain sources for taxes and social security for

Verify student taxes Spain using Spanish Tax Agency and other national, regional and local authorities handling the process.

How taxes and social security fits taxes in Spain

Beyond taxes and social security for in Spain

This guide to taxes and social security for connects with tax obligations for residents, workers and students and the surrounding procedures in Spain.

Continue with connected taxes tasks in Spain

Related help after taxes and social security for students

After you separate student status from tax and insurance rules in Spain, another record, deadline or decision may still be connected. Browse related guides on tax obligations for residents, workers and students so the next requirement does not arrive as a surprise or undo work you have already completed.

Spain

Taxes

Taxes for New Residents in Spain

What to compare before you understand your main tax responsibilities in Spain

A practical guide to Spanish tax residence, IRPF, special regimes, foreign income, assets, property, wealth, gifts, and departure.

taxes Spain new residentSpanish tax residence
10 min readRead guide

Spain

Universities

University Applications in Spain

What to compare before you apply to university in Spain

A practical guide for international applicants covering official programmes, admission routes, academic evidence, UNEDasiss, homologación, entrance exams, deadlines, costs and appeals.

apply university Spain internationalUNEDasiss 2026
12 min readRead guide

Spain

Universities

Tuition and Study Costs in Spain

What to compare before you budget tuition and the full cost of study in Spain

A practical guide to Spanish public and private tuition, repeat credits, university fees, scholarships, study-authorisation funds, housing, living costs, instalments, refunds and disputes.

university tuition Spainstudy costs Spain
12 min readRead guide

Spain

Renting

Tenant Rights in Spain

What to compare before you understand and protect your tenant rights in Spain

A practical guide to Spanish housing-tenancy rights, duties, disputes, vulnerability protection, and enforcement.

tenant rights Spainrenter rights Spain
14 min readRead guide

Spain

Residence permits

Work Permits in Spain

What to compare before you choose and apply for permission to work in Spain

A practical guide to ordinary employment, EU Blue Card, highly qualified, transfer, seasonal, self-employed, graduate, and student-switch routes.

Spain work permitSpain employment visa
13 min readRead guide

Spain

Benefits

Unemployment in Spain

What to compare before you check and claim unemployment support in Spain

A practical guide to Spanish contributory unemployment, subsidies, SEPE claims, amounts, duties, work, travel, and appeals.

unemployment benefit Spainparo Spain
10 min readRead guide

Spain

Universities

Student Work in Spain

What to compare before you work legally while studying in Spain

A practical guide to EU and non-EU student work, the 30-hour rule, employee and self-employed activity, internships, contracts, pay, Social Security, enforcement and graduation.

work while studying Spainstudent visa 30 hours Spain
12 min readRead guide

Spain

Universities

Studying in Spain: practical guidance

What to compare before you prepare to study in Spain in Spain

A practical guide to Spain’s university system, ECTS, matrícula, teaching guides, student rights, healthcare, costs, work, academic changes, complaints and graduation transitions.

study in Spain international studentSpanish university system
12 min readRead guide

Spain

Residence permits

Permanent Residence in Spain

What to compare before you prepare for permanent or long-term residence in Spain

A practical guide to Spain's national and EU long-term residence, permanent EU-family cards, Article 50 status, TIE renewal, and recovery.

permanent residence Spainlong term residence Spain
12 min readRead guide

Where to next

Choose the guide closest to your situation

Open a detailed guide to compare routes, prepare documents, understand costs and timing, and find the official service responsible for the next step.

Browse Spain guides