Since 2010, the Global Law Experts annual awards have been celebrating excellence, innovation and performance across the legal communities from around the world.
posted 4 hours 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.
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 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.
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.
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.
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.
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) |
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.
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.
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.
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.
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.
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.
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 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.
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. |
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.
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. |
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:
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.
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.
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.
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.
posted 55 minutes ago
posted 2 hours ago
posted 5 hours ago
posted 12 hours ago
No results available
Find the right Legal Expert for your business
Sign up for the latest advisor briefings and news within Global Advisory 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.
Global Advisory Experts is dedicated to providing exceptional advisory services to clients around the world. With a vast network of highly skilled and experienced advisors, we are committed to delivering innovative and tailored solutions to meet the diverse needs of our clients in various jurisdictions.