[codicts-css-switcher id=”346″]

Global Law Experts Logo
how to claim R&D tax credits in Spain 2026

Our Expert in Spain

How to Claim R&D Tax Credits in Spain (2026): Step‑by‑step for Tech Startups

By Global Law Experts
– posted 57 minutes ago

Understanding how to claim R&D tax credits in Spain 2026 is essential for any tech startup or scaleup that invests in experimental development, AI, cybersecurity or software prototyping. Spain’s deducciones por actividades de investigación y desarrollo e innovación tecnológica (I+D+i), governed by the Ley del Impuesto sobre Sociedades and administered by the Agencia Tributaria (AEAT), offer one of the most generous R&D incentive regimes in the OECD, with a base credit of 25 % on qualifying expenditure, an incremental rate of 42 % on spend exceeding the prior two‑year average, and an additional 17 % credit on qualifying researcher wages.

This guide sets out the complete process: eligibility tests, filing steps, documents needed, timeline, costs and audit defence, tailored for founders, CFOs and in‑house counsel preparing a claim or optimising their R&D tax strategy ahead of a funding round or exit in the 2026 fiscal environment shaped by Digital Spain 2026 and PRTR funding streams.

Overview of the R&D Tax Credit Process and Who It Applies To

The R&D tax credit Spain regime applies to every entity subject to Spanish corporate income tax (Impuesto sobre Sociedades). This includes Spanish‑incorporated companies and foreign companies operating through a permanent establishment (PE) in Spain. The incentive covers two categories of activity: Investigación y Desarrollo (I+D), systematic, original research aimed at producing new knowledge or resolving scientific or technological uncertainty, and Innovación Tecnológica (i), activity that produces a significant technological advance in products, processes or services relative to the company’s existing technology base.

For tech startups, the practical effect is that qualifying work on novel software architectures, machine‑learning models, cybersecurity tools and hardware prototypes can generate substantial tax savings. Where a company is loss‑making or does not have sufficient corporate tax liability to absorb the credit, Spanish law provides a cash refund (monetisation) mechanism, subject to statutory caps and a minimum holding period. Employers of dedicated R&D personnel may also benefit from a partial exemption on social security contributions. Given the alignment of many qualifying activities with Digital Spain 2026 and PRTR‑funded priority areas, early engagement with qualified counsel is advisable for complex or high‑value claims.

Eligibility and Prerequisites for R&D Tax Relief

Eligibility for R&D tax relief in Spain is determined by a three‑part test: legal status, technical substance and correct corporate/IP structuring. Meeting all three is a prerequisite before any claim can proceed.

Legal eligibility test

The claimant must be a Spanish corporate tax resident or operate in Spain through a PE that bears the R&D expenditure. The relevant statutory basis is Articles 35 and 36 of the Ley del Impuesto sobre Sociedades (Ley 27/2014), which define qualifying I+D and i activities respectively. The entity must self‑assess the credit on its annual corporate tax return filed with AEAT. Foreign companies without a PE in Spain cannot claim the deduction directly, although they may structure eligibility through a Spanish subsidiary or branch.

Technical and operational prerequisites

To qualify as I+D, the work must involve a systematic investigation that addresses genuine scientific or technological uncertainty, follows an experimental method and aims to generate new knowledge or a novel process. Technological innovation (i) requires a demonstrable advance beyond the company’s existing technology state. Routine software maintenance, minor feature updates, bug fixes, user‑interface redesigns and quality‑assurance testing that follows established methods do not qualify. Common qualifying activities in tech include building new AI/ML model architectures, developing novel encryption protocols, creating first‑of‑kind prototypes and conducting experimental performance testing.

Corporate and IP structuring traps

The company claiming the deduction must own or have economic rights over the resulting intellectual property. Where R&D is subcontracted, the contract must clearly assign IP to the claimant and the subcontractor’s costs can only be included if the arrangement meets AEAT’s documentation standards. Outsourced work performed outside the European Economic Area is subject to additional restrictions. Startups that assign IP to a holding company or grant broad licences to group entities risk disqualification of the claim. Before filing, review all research agreements, employment invention clauses and subcontractor statements of work (SOWs) to confirm that the claiming entity is the legal and beneficial owner of the R&D outputs.

This is especially critical ahead of funding rounds or exits, where investor due diligence will scrutinise IP ownership chains.

Step‑by‑Step Procedure to Claim R&D Tax Credits in Spain

The following table summarises the end‑to‑end process for claiming R&D tax credits in Spain. Each step is then explained in detail below.

Step Who does it Typical duration
1. Identify qualifying projects and assign project codes CTO / Head of R&D, Finance 1–3 weeks
2. Set up cost capture (payroll, third‑party, capitalised R&D) Finance + Payroll 1–2 weeks (then ongoing)
3. Prepare technical dossier (methodology, testing logs, prototypes) Lead developer / R&D manager + external technical reviewer 2–6 weeks
4. Reconcile eligible costs and calculate credit Finance / Tax advisor 1–2 weeks
5. File corporate tax return with deduction entry / request cash refund Tax director / external tax counsel Filed with annual CT return (25 days after 6 months from fiscal year‑end)
6. Respond to AEAT audit requests (if any) Legal counsel + Finance + Technical leads 2–12 weeks (varies)

Step 1, Identify qualifying projects and assign project codes

The CTO or Head of R&D, together with the finance team, should review the company’s active and planned projects to identify those that meet the I+D or i criteria. Each qualifying project should receive a unique internal code to enable cost tracking. At this stage, prepare a one‑page project summary for each candidate, noting the technological uncertainty addressed, the experimental approach to be used and the expected deliverables. Projects that are purely commercial development, routine IT support or process improvements without a technological advance should be excluded. This scoping exercise sets the boundary for the entire claim and forms the foundation of the technical dossier.

Step 2, Set up cost capture and accounting allocation

Finance and payroll teams should configure the accounting system to capture R&D costs by project code. Eligible cost categories include: direct staff costs (salaries, employer social security contributions and bonuses) for personnel directly and exclusively engaged in R&D; materials and consumables used in experiments; subcontractor fees under qualifying contracts; depreciation or amortisation of equipment and software used for R&D; and certain overhead allocations directly attributable to R&D activity. Payroll tagging is critical, each researcher’s timesheet should record hours spent on each coded project. For subcontractor costs, retain invoices cross‑referenced to the SOW and evidence of payment. Where costs are shared between R&D and non‑R&D activities, prepare a documented apportionment methodology.

This cost‑capture framework should be established at the start of the fiscal year, not retrospectively assembled at tax‑return time.

Step 3, Draft technical dossier and R&D narrative

The technical dossier is the single most important piece of evidence in any R&D tax claim. It should be prepared by the lead developer or R&D manager, ideally reviewed by an external technical expert, and must cover: a description of the project and its objectives; the state of the art or existing technology baseline; the specific scientific or technological uncertainty the project addresses; the experimental methodology (including iterative testing, hypothesis‑driven development and prototype cycles); version control extracts (Git logs showing commit history, dates and authors); experiment logs and test results; and a summary of outcomes, whether successful or not. Sign‑off should come from both the CTO and the project manager.

An independent external technical report is not legally required but is strongly recommended for claims above €100,000, as it significantly strengthens the position in an R&D tax audit.

Step 4, File the corporate tax return with the deduction entry

The R&D credit is claimed by self‑assessment on the annual Impuesto sobre Sociedades return filed with AEAT. The deduction is entered in the dedicated section for deducciones para incentivar la realización de determinadas actividades. The return must include the calculated credit amount, broken down by project and by credit type (base rate, incremental rate and staff uplift). For companies seeking a cash refund under the monetisation regime, the application is made within the same return, subject to the conditions and caps set out in Article 39. 2 of the Ley del Impuesto sobre Sociedades. Retain a complete copy of the filed return and all underlying calculations.

Where the claim is complex or the amounts are material, engage external tax counsel to prepare or review the filing before submission.

Step 5, Audit readiness and follow‑up

Once the return is filed, the company should maintain a complete audit file containing the technical dossier, financial workpapers, cost allocation memos, IP ownership evidence, subcontractor agreements and board minutes approving each R&D project. If AEAT opens an inspection or requests information, the response window is typically limited. Designate a single point of contact, usually legal counsel, to coordinate responses across technical and finance teams. Prompt, well‑organised replies reduce the risk of the claim being partially or fully disallowed.

Documents Needed for an R&D Tax Credit Claim in Spain

The documents needed for an R&D tax claim in Spain fall into three categories: technical, financial and corporate. The table below provides the complete checklist.

Technical dossier elements

The core of any claim is the technical dossier described in Step 3 above. It must contain a project description, experimental plan, test logs, code snapshots or version control exports, prototype documentation, technical drawings or architecture diagrams and, where available, an external expert validation report. Each element should be dated and attributable to a named author. The dossier should demonstrate the progression from uncertainty through experimentation to outcome, even if the experiment did not yield the expected result. Failed experiments still qualify if the methodology was genuinely investigative.

Financial evidence

Financial evidence must support every euro of qualifying expenditure. This includes payroll records for dedicated R&D staff (with social security declarations), timesheets showing time allocated to each project code, subcontractor invoices matched to signed SOWs, purchase orders for materials and equipment, and amortisation schedules for capitalised R&D assets. An internal cost allocation memo should explain the apportionment methodology and calculation for any shared costs.

Corporate and contractual evidence

IP ownership agreements, invention assignment clauses in employment contracts, subcontractor IP assignments and board minutes approving R&D programmes should all be retained. These documents prove that the claiming entity owns the results of the work, which is a prerequisite under the Ley del Impuesto sobre Sociedades.

Document Notes
Technical dossier / project narrative Prepared by R&D lead; PDF with annexed code snapshots, diagrams and experiment logs; signed by CTO and project manager.
Experimental test logs and version control extracts Export from VCS (e.g., Git) showing dates, commits and authors; include issue tracker and pull request evidence.
Timesheets and payroll evidence HR payroll records showing researcher hours per project and social security declarations (TC‑1 / TC‑2 where relevant).
Supplier / subcontractor invoices and SOWs Formal invoices plus signed SOWs specifying R&D scope; cross‑referenced to payments and VAT treatment.
Capital investment records Purchase invoices, contracts and amortisation schedule (if claiming intangible or tangible R&D investments).
IP ownership agreements / assignment deeds Signed agreements showing the claiming company owns R&D results, critical for investor and exit scenarios.
Internal cost allocation memos Finance memo explaining allocation method (apportionment keys) and calculation for shared costs.
Board minutes / R&D project approval Evidence of corporate governance approval for R&D programmes; useful in audit.
AEAT forms / tax computations Copy of the filed corporate tax return entries and underlying credit calculations; any pre‑clearance correspondence.
External expert reports (if used) Independent technical review confirming experimental method and novelty; recommended for high‑risk or high‑value claims.

R&D Tax Claim Timeline and Key Deadlines

The R&D tax claim timeline follows the annual corporate tax return cycle. For companies with a fiscal year ending 31 December, the corporate income tax return must be filed within 25 calendar days following the six months after the fiscal year‑end, in practice, by 25 July of the following year. Companies with non‑calendar fiscal years adjust accordingly.

Retroactive claims are permitted within the general statute‑of‑limitations period. Under Article 66 of the Ley General Tributaria, the limitation period for rectifying self‑assessments is four years from the date the filing period ends. This means a company filing its 2025 return by 25 July 2026 could amend prior returns going back to the 2021 fiscal year, provided the limitation window has not been interrupted by an AEAT inspection. Industry observers expect AEAT to maintain this four‑year window without change in 2026.

For companies requesting a cash refund (monetisation) of unused R&D credits, the law requires that the credit has been generated in the relevant tax period and that certain conditions, including minimum holding of shares and employment thresholds, are met. AEAT processing of refund applications varies but typically takes several months from the filing date. Companies should factor this into cash‑flow planning, particularly where R&D credits form part of the financial model presented to investors.

The AEAT’s audit window mirrors the four‑year statute of limitations. In practice, R&D claims, especially high‑value or first‑time claims, may attract review within 12–24 months of filing. Maintaining a complete, pre‑assembled audit file from the date of filing is essential to respond within the statutory response windows imposed by AEAT during an inspection.

Costs, Fees and Tax Considerations for R&D Tax Credits in Spain

The table below sets out the key rates, costs and professional fees associated with claiming R&D tax credits in Spain.

Item Amount / Rate Notes
Base R&D tax credit (I+D) 25 % Applied to total qualifying R&D expenditure in the tax period (Article 35, Ley 27/2014).
Incremental credit on excess spend 42 % Applied to qualifying R&D expenditure exceeding the average of the prior two fiscal years.
Additional credit for R&D staff 17 % Applied to qualifying researcher wages (dedicated R&D personnel).
Technological innovation credit (i) 12 % Applied to qualifying technological innovation expenditure (Article 36, Ley 27/2014).
Cash refund / monetisation Subject to statutory caps and a 20 % discount Unused credits may be monetised after meeting conditions; the refundable amount is reduced by a 20 % discount.
External technical report €2,000 – €15,000 Depends on scope and complexity; recommended for claims above €100,000.
Legal / advisory costs €2,000 – €15,000+ For structuring, contract review, filing preparation and audit defence.

Worked example, startup with €200,000 qualifying R&D spend

Consider a Spanish tech startup with €200,000 in qualifying I+D expenditure in fiscal year 2025, where its average qualifying spend over the prior two years was €120,000. The credit calculation would be as follows:

  • Base credit: 25 % × €120,000 (the portion up to the two‑year average) = €30,000
  • Incremental credit: 42 % × €80,000 (the excess over the two‑year average) = €33,600
  • Staff uplift: 17 % × €90,000 (qualifying researcher wages included within the total) = €15,300
  • Total credit generated: €78,900

If the startup has no current‑year tax liability, it may carry forward the full €78,900 for up to 18 years. Alternatively, it may apply for a cash refund, subject to the 20 % discount, producing a net refund of approximately €63,120. Companies should also explore the partial exemption from employer social security contributions for staff exclusively dedicated to R&D, which provides an additional benefit outside the corporate tax return.

What Changes in 2026: Digital Spain 2026 and PRTR Funding Interaction

The 2026 fiscal year sits at the intersection of two important policy drivers that affect how to claim R&D tax credits in Spain. First, the Digital Spain 2026 programme, coordinated by the Ministerio de Ciencia e Innovación and related ministries, continues to prioritise artificial intelligence, cybersecurity, advanced data analytics and digital infrastructure as strategic sectors. Projects aligned with these priorities may benefit from enhanced visibility and, in some cases, complementary public funding through PRTR (Plan de Recuperación, Transformación y Resiliencia) calls administered by agencies such as INCIBE for cybersecurity initiatives.

However, startups that receive public grants or subsidies for the same R&D projects must adjust the eligible cost base for their tax credit calculation. Under Spanish tax law, expenditure that has been financed by non‑repayable public grants must be excluded from the qualifying base used to calculate the deducciones I+D+i. Failing to make this adjustment is a common source of AEAT challenge. The likely practical effect for startups receiving PRTR or INCIBE co‑funding is a reduced, but still valuable, R&D tax credit on the net self‑funded portion of the project.

Companies planning projects in AI, cybersecurity or digital infrastructure should therefore map their planned R&D spend against both the tax credit and the available grant programmes, ensuring that the cost base for each is clearly segregated in the accounting system. Early coordination between legal, tax and grants advisors avoids double‑counting and reduces audit risk significantly.

Common Pitfalls When Claiming R&D Tax Credits in Spain and How to Avoid Them

  • Inadequate technical dossier. The most frequent cause of claim rejection. Mitigation: prepare the dossier contemporaneously, not retrospectively at filing time; assign ownership to the R&D manager.
  • Missing experiment logs. Version control exports and test records are often overlooked. Mitigation: configure CI/CD pipelines and issue trackers to retain logs for at least five years.
  • IP ownership ambiguity. Where IP is assigned to a parent or holding company, the Spanish entity cannot claim. Mitigation: review employment contracts and subcontractor SOWs before filing; ensure IP assignment deeds are executed.
  • Incorrect cost allocation. Blending R&D and non‑R&D costs without a documented apportionment key is a red flag in an R&D tax audit. Mitigation: finance teams should prepare and retain a cost allocation memo for every project.
  • Treating routine software work as R&D. Feature enhancements, UI redesigns and bug fixes do not qualify. Mitigation: apply the uncertainty test, if the outcome is predictable using existing knowledge, it is not I+D.
  • Misclassifying subcontracted work. Subcontractor costs qualify only if the IP is retained by the claimant and the contract meets statutory requirements. Mitigation: review all R&D‑related subcontracts with counsel before including costs.
  • Failing payroll attribution. R&D staff costs must be supported by timesheets allocated to specific project codes. Mitigation: implement project‑code time tracking from day one.
  • Late claim or missed amendment window. The four‑year limitation period is strict. Mitigation: flag R&D claim review as a standing item in the annual tax compliance calendar.
  • Ignoring grant interaction. Including grant‑funded expenditure in the credit base leads to AEAT adjustment. Mitigation: segregate grant‑funded and self‑funded costs in the ledger; reconcile before filing.
  • Weak audit response. Disorganised or delayed responses to AEAT queries often escalate minor reviews into full inspections. Mitigation: maintain a pre‑assembled audit file and designate legal counsel as the single point of contact for all AEAT correspondence.

Conclusion

Claiming R&D tax credits in Spain in 2026 requires disciplined project identification, contemporaneous documentation, accurate cost capture and careful filing, but the financial payoff for tech startups is substantial. With base credits of 25 %, incremental rates of 42 % and a 17 % staff uplift, the deducciones I+D+i regime can materially improve a startup’s cash position, runway and investor narrative. The key to a successful claim is treating it as a year‑round compliance exercise, not a last‑minute tax‑return add‑on.

Founders and CFOs preparing to claim R&D tax credits in Spain 2026 should begin with the eligibility and scoping steps outlined above, assemble the technical and financial evidence early, and engage experienced legal counsel to review the claim, optimise the structure and prepare for any AEAT scrutiny.

Need Legal Advice?

This article was produced by Global Law Experts. For specialist advice on this topic, contact Jesus Osuna at Addwill, a member of the Global Law Experts network.

Sources

  1. Agencia Tributaria (AEAT), Deductions to Encourage Certain Activities
  2. Boletín Oficial del Estado (BOE), Ley del Impuesto sobre Sociedades (Ley 27/2014)
  3. Ministerio de Ciencia e Innovación (España)
  4. INCIBE, Instituto Nacional de Ciberseguridad
  5. OECD INNOTAX, Spain Country Profile
  6. ICEX / Invest in Spain, Taxation and Incentives

FAQs

What are the main eligibility criteria for Spain's R&D tax credits?
The claimant must be a Spanish corporate tax resident (or operate through a PE in Spain), carry out qualifying I+D or technological innovation activities involving genuine scientific or technological uncertainty, own the resulting IP and file the deduction on its annual Impuesto sobre Sociedades return. Full eligibility tests are set out in Articles 35 and 36 of Ley 27/2014.
At minimum: a technical dossier describing the project, methodology and outcomes; version control and experiment logs; payroll records and timesheets for R&D staff; subcontractor invoices with SOWs; IP ownership agreements; an internal cost allocation memo; and a copy of the filed tax return with credit calculations. The full checklist is provided in the documents table above.
The base I+D credit is 25 % of qualifying expenditure. Expenditure exceeding the two‑year rolling average qualifies for a 42 % incremental credit. An additional 17 % credit applies to qualifying researcher wages. Technological innovation (i) carries a 12 % credit. Companies monetising unused credits face a 20 % discount on the refundable amount.
Yes, provided the software development involves genuine technological uncertainty and follows an experimental method. Building a novel algorithm, developing a first‑of‑kind architecture or creating an experimental prototype qualifies. Routine coding, feature enhancements, UI work and maintenance do not.
Not directly. The deduction is available only to entities subject to Spanish corporate income tax. A foreign company would need to establish a PE or subsidiary in Spain that incurs and bears the qualifying R&D expenditure. The PE or subsidiary must also own the resulting IP.
Respond promptly within the deadline set in the AEAT notification. Designate legal counsel as the single point of contact. Provide the pre‑assembled audit file, technical dossier, financial workpapers, IP ownership evidence and cost allocation memos. Do not volunteer information beyond what is requested. A well‑prepared audit file and coordinated response significantly reduce the risk of claim disallowance.
Under current law, unused R&D and technological innovation credits may be carried forward for up to 18 years from the tax period in which they were generated. Companies that cannot absorb the credit against current tax liability and do not wish to wait may apply for a cash refund, subject to the conditions and 20 % discount described above.
Yes. Expenditure funded by non‑repayable public grants, including PRTR and INCIBE programmes, must be excluded from the qualifying cost base for the deducciones I+D+i. Only the self‑funded portion of the R&D project is eligible. Segregate grant‑funded and self‑funded costs in the accounting system from the outset to avoid adjustments at filing or during an audit.
foundation tax exemption switzerland
By Global Law Experts

posted 2 hours ago

Find the right Legal Expert for your business

The premier guide to leading legal professionals throughout the world

Specialism
Country
Practice Area
LAWYERS RECOGNIZED
0
EVALUATIONS OF LAWYERS BY THEIR PEERS
0 m+
PRACTICE AREAS
0
COUNTRIES AROUND THE WORLD
0
Join
who are already getting the benefits
0

Sign up for the latest legal briefings and news within Global Law Experts’ community, as well as a whole host of features, editorial and conference updates direct to your email inbox.

Naturally you can unsubscribe at any time.

About Us

Global Law Experts is dedicated to providing exceptional legal services to clients around the world. With a vast network of highly skilled and experienced lawyers, we are committed to delivering innovative and tailored solutions to meet the diverse needs of our clients in various jurisdictions.

Global Law Experts App

Now Available on the App & Google Play Stores.

Social Posts
[wp_social_ninja id="50714" platform="instagram"]
[codicts-social-feeds platform="instagram" url="https://www.instagram.com/globallawexperts/" template="carousel" results_limit="10" header="false" column_count="1"]

See More:

Contact Us

Stay Informed

Join Mailing List
About Us

Global Law Experts is dedicated to providing exceptional legal services to clients around the world. With a vast network of highly skilled and experienced lawyers, we are committed to delivering innovative and tailored solutions to meet the diverse needs of our clients in various jurisdictions.

Social Posts
[wp_social_ninja id="50714" platform="instagram"]
[codicts-social-feeds platform="instagram" url="https://www.instagram.com/globallawexperts/" template="carousel" results_limit="10" header="false" column_count="1"]

See More:

Global Law Experts App

Now Available on the App & Google Play Stores.

Contact Us

Stay Informed

GLE

Lawyer Profile Page - Lead Capture
GLE-Logo-White
Lawyer Profile Page - Lead Capture

How to Claim R&D Tax Credits in Spain (2026): Step‑by‑step for Tech Startups

Send welcome message

Custom Message