What HMRC actually means by R&D
R&D tax credits exist for UK companies whose activities meaningfully advance a scientific or technological field. Most freelance software work does not qualify — writing a website, building a bespoke app for a client, or configuring existing frameworks are not R&D under HMRC's definition. Where genuine technical uncertainty exists and a competent professional couldn't have solved it from readily-available knowledge, R&D credits can be very valuable. This guide covers the qualification bar and how to file safely.
What HMRC actually means by R&D
HMRC's definition is deliberately narrow. R&D exists when a project attempts to advance overall knowledge or capability in science or technology (not just for the company doing it) AND resolves scientific or technological uncertainty that a competent professional in the field couldn't have addressed with existing tools/knowledge.
Building a client-specific SaaS app using AWS + React + a Postgres database: not R&D — established tech. Building a novel machine-learning algorithm whose behavior can't be predicted from theory: possibly R&D.
How the credit is calculated
The merged scheme (2024+) allows a company to claim 20% of qualifying R&D expenditure as a taxable credit. For a loss-making SME with R&D-intensive activity (30%+ of costs are R&D), a higher enhanced rate applies.
Qualifying costs: staff (directors + employees) time on R&D activity; software, cloud infrastructure directly used; consumable materials; some subcontractor costs. Not qualifying: capital equipment (use AIA separately), general overheads, non-technical activities, marketing.
Filing safely — evidence and risk
HMRC has heavily increased scrutiny of R&D claims since 2023 after historic abuse. Every claim needs contemporaneous evidence: technical narrative documenting the uncertainty, competent-professional statement, cost breakdown with methodology. A specialist R&D adviser (not just a general accountant) is now essentially mandatory.
Risk factors: pattern-matching to prior successful claims without genuine substance, using generic 'R&D consultancies' that promise a claim regardless of the underlying facts, claiming for work that's clearly not R&D. HMRC now opens enquiries on a high proportion of freelance-Ltd claims and pursues repayment with interest.
Worked example
Priya's Ltd builds custom NLP models for regulated-industry clients. She spends ~60% of her time on genuine algorithmic research (60% of her £120k = £72k in qualifying director-time cost). Cloud compute for training: £8,000. Subcontractor (specialist mathematician): £5,000 (65% qualifying = £3,250). Total qualifying spend: £83,250. R&D credit at 20%: £16,650. This is credited against her corporation tax; if loss-making, some can be received as cash. She engages a specialist R&D adviser (~£3,000 fee, usually contingent on success) to prepare the technical narrative and cost breakdown.
Reference table
| Activity | Qualifying? | Notes |
|---|---|---|
| Novel ML/AI algorithm research | Usually yes | Must resolve technical uncertainty |
| Client website using WordPress/React | No | Established tech, no scientific advance |
| Custom database schema for a client | No | Standard tech application |
| Novel encryption or security protocol | Possibly | Requires competent-professional attestation |
| Content creation, copywriting, design | No | Not scientific/technological |
| Testing whether an existing library works | No | Not resolving uncertainty in the field |
R&D claim viability checklist
- Can I articulate the specific scientific or technological uncertainty resolved?
- Could a competent professional in the field have solved this from readily-available knowledge?
- Do I have contemporaneous notes / commits / test logs documenting the R&D process?
- Are qualifying costs > £10,000 (below that, professional-fee cost outweighs the benefit)?
- Have I engaged a specialist R&D adviser (not a generic accountant)?
- Am I prepared for an HMRC enquiry — 30-50% of first-time claims now get one
No. R&D relief is only for limited companies. Sole traders can deduct R&D-type costs as normal business expenses under Self Assessment, but there's no enhanced credit.
You repay the credit with interest, and potentially penalties if HMRC considers the claim was made carelessly or deliberately. Insurance products exist to cover the reclaim risk (but check policy carefully).
Some accountants can; most freelance-focused ones outsource to a specialist R&D firm. Specialists know HMRC's current areas of scrutiny — critical given the tightening of the regime.
Filed as part of your CT return. HMRC previously paid within 4-6 weeks; recent scrutiny has extended this to 3-6 months, sometimes longer. Cashflow it accordingly.
Practically, £10,000+ of qualifying spend usually makes it worthwhile after adviser fees. Below that, the fee often exceeds the benefit — and the enquiry risk still applies.
Sources & official references
Related on FreelanceToolkit UK
This guide is general information based on UK rules for the 2025/26 tax year. It is not personal tax or legal advice. For decisions affecting your tax position or legal exposure, consult a qualified accountant or solicitor.