Cybersecurity companies build products against attackers who change tactics every week. Developing detection engines, encryption methods and security platforms often involves real technical uncertainty. Running scans and pen tests for clients usually does not. This page sorts the two.
Get a Free R&D Credit Review
Tell us about your business and a specialist from our partner network will follow up.
"*" indicates required fields
Short answer: cybersecurity companies can claim the R&D tax credit for developing new or improved security software, detection models, encryption methods and hardened architectures when engineers did not know at the start whether or how they could meet performance or accuracy goals, and they tested alternatives. Qualified costs include developer and researcher wages, cloud computing used for development and testing, and 65% of U.S. contract research. Routine penetration tests, compliance audits, configuring commercial tools and monitoring client networks are services, not research. Security tools built only for your own back-office use must pass the stricter internal-use software test.
Read the federal R&D tax credit for the full rules, and our software development page for the general software rules.
The Four-Part Test for Security Products
Four-part test: a new malware detection engine
- Permitted purposeDetect threats with fewer false positives or lower latency.
- Technological in natureComputer science: data structures, ML models, systems engineering.
- UncertaintyUnknown whether the model could hit accuracy targets at line speed.
- ExperimentationBuild candidate models, test on labeled data and live traffic, iterate.
Each software release, module or model can be its own business component.
What Qualifies and What Usually Does Not
| Often qualifies | Usually does not qualify |
|---|---|
| Developing new detection, prevention or anomaly-detection engines | Running vulnerability scans with commercial tools |
| Designing new encryption, key management or authentication methods | Implementing standard TLS or SSO with known libraries and settings |
| Building a security platform or SaaS product sold to customers | Managed security services and 24/7 SOC monitoring |
| Scaling architecture to process data volumes the old design could not | Compliance work for SOC 2, ISO 27001 or PCI DSS |
| Developing new automated pen-testing or fuzzing tools | Performing manual penetration tests for clients |
| Hardening embedded devices against new classes of attack | Writing threat-intelligence reports and policies |
Related: R&D tax credit for telecommunications companies
Typical QRE Mix
Security firms are wage-heavy. Supplies are rare; cloud compute is the main non-wage cost.
| Cost | Counts? | Notes |
|---|---|---|
| Developer, data scientist and security researcher wages | Yes, for research time | Analysts doing client work do not count for that time |
| Cloud compute for development, model training and test labs | Yes | Hosting the production service for customers does not count |
| U.S. contractors doing development for you | 65% of the payment | You must bear the risk and keep rights |
| Offshore development teams | No | Foreign research is excluded and amortized over 15 years |
| Bug-bounty payouts | Usually no | Finding flaws in a released product is generally not research |
Which Roles Usually Carry the Claim
Security companies mix product engineering and service delivery in the same teams, so role-by-role allocation matters more here than in most software firms. A practical way to sort it:
| Role | Typical treatment |
|---|---|
| Detection and platform engineers | High share of time on qualified research when building new capabilities |
| Data scientists and ML engineers | Model design, training experiments and evaluation can qualify |
| Threat researchers | Time spent building or testing new detection logic can qualify; writing intel reports does not |
| Engineering managers | Direct supervision of qualified work counts; general administration does not |
| SOC analysts and consultants | Usually none, unless assigned to a development project |
Examiners often test whether “research” time was really release support or customer escalations. Time records that show which tickets were new development and which were incident response make that conversation short.
Internal-Use Software and Funded Research
Internal-use software. Under Treas. Reg. §1.41-4(c)(6), software developed mainly for your own general and administrative functions (finance, HR, internal IT security) must also be innovative, carry significant economic risk, and not be commercially available. Software you sell, license or use so customers can interact with your systems is not internal-use, and it follows the normal four-part test. A security vendor’s product is usually in that second group; a bank’s internal fraud tool may not be.
Funded research. Consultancies that build custom tools for clients face the same rules as any contract developer. Under Treas. Reg. §1.41-4A(d), if you are paid regardless of whether the tool works, or the client keeps all rights and you cannot reuse the code, the work is funded and does not count.
Related: R&D tax credit for defense contractors
Documentation Tips for Security Teams
- Tie Jira epics or sprints to named technical problems, not just features.
- Keep model evaluation results, benchmarks and design documents for each release.
- Split engineering time between new development, client services and production support.
- Tag cloud accounts or projects used only for development and testing so costs can be isolated.
- Keep client contracts for any custom development work, including IP terms.
Hypothetical Example: A Security SaaS Company
Say a security software company has $1,800,000 of QREs this year and $1.0 million, $1.3 million and $1.5 million in the prior three years. The average is $1,266,667; half is $633,333. Current QREs exceed that by $1,166,667, so the ASC is $163,333, or $129,033 with the reduced-credit election at the 21% corporate rate. If it were a qualified small business (under $5 million of gross receipts and no receipts before the last five years), it could use up to $500,000 a year against payroll taxes through the payroll tax offset.
Estimate Your Credit
Estimate your own federal credit. Enter your research wages, supplies and contractor costs:
The calculator gives a rough figure. A specialist will test each project against the four-part test before anything is filed. The ASC is used in the examples here; the Regular credit can be larger for companies with long, steady research histories.
2026 tax treatment. Under Section 174A, added by the One Big Beautiful Bill Act (P.L. 119-21), domestic research and experimental costs in tax years beginning after 2024 can be deducted in full in the year paid, or you can elect to amortize them over at least 60 months. Foreign research is still amortized over 15 years under Section 174 and never counts toward the credit. Because Section 280C(c) was restored, you either reduce your Section 174A deduction by the credit or elect the reduced credit under Section 280C(c)(2). Software development is treated as a research expenditure under Section 174A by statute.
Related: AI R&D, fintech, startups and all R&D credit industries.
Frequently Asked Questions
Do cybersecurity companies qualify for the R&D tax credit?
Many do, for developing new security products, detection engines and encryption methods with real technical uncertainty. Client services like pen tests and monitoring do not qualify.
Is penetration testing qualified research?
Routine penetration testing for clients is generally a service, not research. Developing new automated testing tools can qualify.
Do SOC 2 and compliance projects count?
No. Compliance audits and certification work do not involve a process of experimentation to resolve technical uncertainty.
Does building an internal security tool qualify?
Possibly, but software for your own back-office functions must also pass the high threshold of innovation test for internal-use software.
Can cloud costs count toward the credit?
Yes. Amounts paid for cloud computing used in development and testing can be QREs. Production hosting for customers cannot.
See what your business qualifies for. One free review covers cost segregation, R&D, hiring credits and benefits savings together. Call 360-641-7709 or use the button below.
Last updated November 5, 2026. This page is general information, not tax or legal advice. Confirm your situation with a qualified tax professional.
Sources
- 26 U.S.C. §41, credit for increasing research activities (Cornell LII)
- Treas. Reg. §1.41-4, qualified research and internal-use software (Cornell LII)
- Treas. Reg. §1.41-4A, including the funded research rules (Cornell LII)
- 26 U.S.C. §174A, domestic research or experimental expenditures (Cornell LII)