aecre consultingBook a Discovery Call

IRC §41

R&D Tax Credits for Cybersecurity Firms

Security software companies resolve technical uncertainty on most new detection, identity and encryption work. The credit covers that product research. Client engagements and internal tools follow stricter rules, so we sort product, service and internal work and build the documentation for your CPA.

R&D Case Study

  • Software Development Agency
  • R&D Tax Credit
  • California

An Agency's Credit Starts with Its Client Contracts

Over $55,000

in federal R&D credits

6

client projects documented

2023 to 2025

tax years in the study

What We Did

We documented six client projects across web, mobile and backend systems, including what was tried and didn't work.

Why It Matters

Agency work is built for clients, so the client contracts decide who can claim it. We reviewed each one for who owned the work and who carried the risk if it failed.

How Much Is the R&D Tax Credit Worth for Your Company?

1

Your Company Type

Common Qualifying Activities for This Company Type

    2

    Total Annual W-2 Wages

    All employees. The estimator calculates the qualifying portion based on your company type.

    3

    Quick Qualification Check

    Has your team built security software where it was uncertain at the start whether the design could meet its detection, speed or reliability targets?

    Were alternative approaches evaluated and compared, not just one proven method applied to a new project?

    Was the development paid for by your company, not by client engagements, government contracts or grants?

    Is your company for-profit and based in the United States?

    Estimated Annual Federal Credit

    $--- to $---

    Select your company type and enter W-2 wages to calculate.

    Current Year Plus 3 Prior Open Years

    $--- to $---

    If your spending was similar in each of those years.

    Federal credit, estimated from W-2 wages only. Supplies, contract research and cloud costs usually raise it, and claiming the credit reduces your research deduction by the same amount. How the credit is calculated

    Does Your Cybersecurity Work Qualify as R&D?

    If your team set out to build security software without knowing at the start whether its design could detect, block or protect at the target speed, accuracy or scale, and tested alternatives to find out, that work may qualify. Which test applies depends on who the work is for and who paid for it.

    The Four-Part Test (IRC Section 41)

    1. 01

      Permitted Purpose

      The work aims to improve a product's function, performance, reliability or quality, such as detection accuracy, false positive rate, latency or resource use.

    2. 02

      Technological in Nature

      It relies on computer science and engineering: cryptography, distributed systems, data engineering, machine learning and firmware.

    3. 03

      Elimination of Uncertainty

      At the start, it was unclear whether the design could meet its targets, or which design would get there.

    4. 04

      Process of Experimentation

      The team evaluated alternatives through prototypes, simulated attacks, benchmarks and performance testing, and kept records of what was tried.

    Which Cybersecurity Costs Count toward the Credit?

    • Wages: Taxable wages of the security, software and detection engineers, researchers, architects and technical product leads who do, supervise or directly support the work
    • Supplies: Usually small for software teams; hardware companies add prototype boards and test articles used up in testing
    • Contract Research: 65% of what you pay US development contractors to do qualifying work for you
    • Cloud Computing: Cloud environments used for development, testing, attack simulation and model training, not production hosting

    What Cybersecurity Activities Qualify for R&D Tax Credits?

    The credit rewards security engineering under uncertainty. Client engagements are usually funded, and tools for your own operations must clear the high threshold of innovation test, so each project is sorted before anything is claimed. The qualification standard is defined by the IRS audit techniques guide for research activities. Select each activity to see the full qualification requirement.

    What Qualifies9 Activities
    Building detection that finds a new class of attack, or cuts false positives, qualifies when it is uncertain whether the design can hold its detection rate within its CPU, memory or latency budget, and the team tests alternatives.
    Engineering authentication, authorization and zero-trust products that clients use qualifies when it is uncertain whether the design can meet its security, latency or scale targets.
    Implementing new or post-quantum algorithms, key management and encrypted data handling qualifies when it is uncertain whether the design can meet its performance and security targets together. Choosing and configuring a standard library does not.
    Ingesting and correlating telemetry at volume qualifies when it is uncertain whether the architecture can keep up with event rates, retention and query speed targets.
    Building new testing, fuzzing and attack-simulation tools that your company sells, licenses or reuses qualifies when their design was uncertain. Running tests for a client is a separate question.
    Developing hardware security modules, secure elements and hardened firmware qualifies when tamper, side-channel or performance targets were uncertain. Prototypes and test articles used up in the work can count as supplies.
    Detection and response platforms a managed security firm builds on its own budget, keeps as its own and uses across clients are studied apart from the engagements. The part clients log into to see alerts or start actions is tested like any customer-facing software.
    Building platforms that automate triage, containment and remediation qualifies when it is uncertain whether the design can act fast and accurately enough across many tools and data sources, and the team tests alternatives. Running incident response for clients is a service and is excluded.
    Securing connected devices and industrial control systems qualifies when it is uncertain whether protection can run within the device's limited memory, power and timing, or without disrupting operations. Applying vendor patches and settings does not.
    What Does Not Qualify6 Exclusions
    Testing a client's systems under an engagement that pays whatever the findings, where the client owns the report, is funded research, which is excluded.
    Monitoring, triage, forensics and incident response billed to clients whatever the outcome is service delivery, and usually funded.
    Selecting, deploying and tuning vendor products, including zero-trust rollouts built from purchased components, is not a process of experimentation under the regulations.
    Tools that protect your own network, offices and staff are internal use software. They qualify only with a substantial measurable improvement, significant economic risk from technical uncertainty, and nothing on the market that would do the job.
    SOC 2, ISO 27001, CMMC and FedRAMP audits, policies and evidence gathering are not research. Software for your own compliance is a back-office function under the regulations.
    Writing signatures and rules for known threats with established methods is routine. Research into a new class of attack that changes how the product detects is studied on its own.

    Qualifies Under Specific Conditions

    Systems That Serve Clients and Back-Office Staff

    Software built for both back-office use and client use is presumed to be internal use software. The part that only serves clients can be separated and tested normally; for what remains, a safe harbor allows 25% of the qualifying costs when client use is expected to be at least 10% of total use.

    Intent at the Start of Development

    Whether software is internal use depends on the company's intent and the facts when development begins, not on how it is used later. Project records from the start, showing who the system was built for, carry the most weight.

    Client Contracts That Pay Only for Results

    When a client pays only if your research succeeds, and you keep the right to use what you learn, the work is not funded. Engagements paid by the hour or the month whatever the outcome are funded.

    R&D Tax Credits across Cybersecurity

    Qualifying activities and the main exclusion differ by segment. Select yours for the relevant activity profile.

    Threat Detection and Response Companies

    • Behavioral and machine learning detection models
    • False positive reduction within endpoint limits
    • Telemetry pipelines at high event rates
    • Response automation clients run

    Who does this work: Detection engineers, data scientists, security researchers and software engineers

    Primary exclusion: Rules for known threats written with established methods.

    Identity, Access and Zero-Trust Product Companies

    • Authentication under latency targets
    • Policy engines and access decisions at scale
    • Integrations with identity providers
    • Passwordless and device trust features

    Who does this work: Software and security engineers, architects and protocol specialists

    Primary exclusion: Deploying vendor identity products for a client.

    Encryption and Data Security Developers

    • Post-quantum algorithm migration
    • Key management and rotation at scale
    • Encrypted search and data handling
    • Performance tuning in the data path

    Who does this work: Cryptographers, security engineers and software engineers

    Primary exclusion: Choosing and configuring standard libraries.

    Testing and Attack-Simulation Platform Builders

    • Fuzzing and vulnerability discovery tools
    • Attack-simulation and breach emulation platforms
    • Scanners for new classes of flaw
    • Tooling reused across client work

    Who does this work: Offensive security engineers, researchers and software engineers

    Primary exclusion: Running penetration tests for clients.

    Security Hardware and Firmware Developers

    • Hardware security modules and secure elements
    • Hardened and verified boot firmware
    • Side-channel and tamper resistance
    • Prototype boards and test articles

    Who does this work: Hardware, firmware and security engineers

    Primary exclusion: Production units built after the design is proven.

    Product, Service or Internal Tool

    Which Test Does Your Security Work Face?

    The same security engineering can face three different tests. Products you sell are tested like any software. Work a client pays for whatever the outcome is usually funded and excluded (IRC Section 41(d)(4)(H)). Tools for your own operations must clear a higher bar (Treas. Reg. Section 1.41-4(c)(6)).

    “Any research to the extent funded by any grant, contract, or otherwise by another person (or governmental entity).”

    SourceIRC § 41(d)(4)(H)

    Standard Test

    • Security software you sell, license or run as a service
    • Detection, identity and encryption products and their firmware
    • The client-facing part of a platform your analysts also use
    • Testing and attack-simulation tools you sell or license

    Usually Funded

    • Penetration tests and red-team engagements for clients
    • Managed detection and response billed whatever the outcome
    • Incident response and forensics for a client
    • Custom work where the client owns the results

    Higher Bar

    • Security tooling for your own network and offices
    • Software for your own SOC 2 or CMMC compliance
    • Internal dashboards, reporting and ticketing
    • Asset inventory and patch tracking for your own systems

    How We Sort Your Security Work

    1. 01

      Sort by Who It Serves

      Each project is sorted by who it was built for and who paid for it, using contracts and project records from when the work began.

    2. 02

      Read the Client Contracts

      Work paid for whatever the outcome, or whose results the client owns, is funded. Tooling built on your own budget and reused across clients is studied on its own.

    3. 03

      Test the Internal Tools

      Internal tools qualify only with a substantial measurable improvement, significant technical risk, and no product on the market that would do the job.

    Vulnerability research: finding flaws in other software is studied as part of the product it improves, such as new detection for a class of attack. Writing rules for known threats with established methods is routine work.

    R&D Tax Credit Examples for Cybersecurity Companies

    Scenario 1: Endpoint Security Company

    When Better Detection Had to Fit Inside the Same CPU Budget

    An endpoint security company set out to detect a class of fileless attacks its product missed. Its engineers did not know whether a behavioral model could catch them without pushing the agent past the CPU and memory limits its customers accept.

    The product is sold to clients, so the work was tested like any software. The team built and benchmarked three model designs against recorded attacks and normal workloads, then moved feature extraction into the sensor before one met both targets. Writing rules for already known variants was set aside as routine.

    Qualifying Expenses

    Detection engineer and data scientist time on the designs, and cloud computing time used to train and replay the models. Routine rule writing is excluded.

    Key Documentation Signal

    Benchmark results for each design, the CPU and memory targets set at the start, and the attack recordings used in testing.

    Scenario 2: Managed Security Firm

    When the Platform Counted and the Engagements Did Not

    A managed security firm built a new correlation engine for the platform its analysts use and its clients log into, while delivering monitoring and penetration testing engagements for those same clients.

    The engagements were billed whatever the findings and the clients owned the reports, so they were funded. The engine was built on the firm's own budget and kept as its own, so it was studied apart from the engagements, and its client dashboard was tested like any customer-facing software. The team tested two correlation designs before one held query speed at the event volume of its largest client.

    Qualifying Expenses

    Engineer time on the correlation engine and the client dashboard, and cloud computing time used in load testing. Client monitoring and testing engagements are excluded.

    Key Documentation Signal

    Engagement contracts showing payment and ownership terms, the engine’s design records, and load test results.

    Scenario 3: Hardware Security Module Maker

    When Post-Quantum Keys Broke the Signing Speed Target

    A maker of hardware security modules needed to add post-quantum signing for its customers. Its engineers did not know whether the new algorithms could run on the existing hardware at the signing rate its largest customers required.

    The team tried three implementations, including moving parts of the math into the device's accelerator, and built test boards to measure speed and side-channel leakage. One design met the target. The boards used up in testing counted as supplies; production units built after the design was proven did not.

    Qualifying Expenses

    Firmware and hardware engineer time, prototype boards and test articles used up in testing, and an outside lab’s side-channel testing at 65%.

    Key Documentation Signal

    Speed and leakage results for each implementation, the signing rate target, and records of which boards were used in testing.

    How the R&D Tax Credit Process Works for Cybersecurity Companies

    Security companies already keep design documents, tickets, benchmark results and client contracts. Most of the work is sorting each project by who it serves and who paid for it, then finding the development that met the four-part test. Our team builds the study from the records your company already keeps.

    1. 1

      Discovery and Scoping

      We assess your qualifying activities and expenditure structure to estimate credit value and identify the strongest QRE categories for your company type. No obligation. This conversation takes 30 minutes.

    2. 2

      Technical Interview

      We interview security engineers, researchers and technology leaders to document qualifying activities and technical uncertainties, and we review client contracts to sort product work from engagements.

    3. 3

      Credit Calculation

      We identify all qualifying research expenses, apply both the Regular Credit and Alternative Simplified Credit methods, and determine the optimal approach. QRE allocation separates development under uncertainty from client engagements, configuration and routine rule writing, and applies the higher bar to tools for your own operations. State credits are identified and included across all applicable jurisdictions.

    4. 4

      Filing and Audit Support

      We deliver a complete, CPA-ready package: documented qualifying activities, QRE calculations, and full audit-defense documentation. We work directly alongside your CPA and retain the substantiation file on every engagement.

    In security studies, the deciding records are often the client contracts: who paid, whether payment depended on the outcome, and who owns the results. We help your team keep engagement terms and product design records apart, so funded work never mixes into the claim.

    R&D Tax Credit FAQ for Cybersecurity Companies

    Want more depth? The R&D tax credit, explained covers qualifying expenses, states and calculation methods.

    Do cybersecurity companies qualify for the R&D tax credit?

    Yes, for product research where the design was uncertain at the start. Security software, identity, encryption and hardware companies all do work that can qualify. The first questions are who the work is for and who paid for it: products you sell are tested like any software, client engagements are usually funded, and tools for your own operations must pass a higher bar. A 30-minute discovery call is the fastest way to see how your projects sort.

    Does penetration testing count as R&D?

    Running penetration tests for clients usually does not. When a client pays whatever the findings and owns the report, the work is funded research, which is excluded. Building new testing tools, scanners or attack-simulation platforms that your company keeps and reuses is different, and can qualify when their design was uncertain.

    Do security tools we build for our own use count?

    Sometimes. Tools that protect your own network, offices and staff are internal use software. They qualify only if they also pass the high threshold of innovation test: the tool must be meant to deliver a substantial, measurable improvement, carry significant economic risk from technical uncertainty, and not be available to buy and use without changes that would themselves meet those tests.

    We run a managed security service. Can we claim anything?

    Often, yes. Monitoring and response billed to clients whatever the outcome is usually funded. Platforms you build on your own budget, keep as your own and use across clients are studied apart from the engagements, and the part clients log into to see alerts or start actions is tested like any customer-facing software.

    Does SOC 2 or CMMC compliance work count?

    No. Audits, policies and evidence gathering are not research. Software you build for your own compliance is a back-office function under the regulations, so it must pass the high threshold of innovation test. Compliance software you build to sell to other companies is tested like any other product.

    Does vulnerability research count?

    It can, as part of the product it improves. Research into a new class of attack that changes how your product detects or blocks it is studied with that product. Writing signatures and rules for known threats with established methods is routine, and research with no product behind it is hard to tie to the credit.

    We pay outside developers. Can we count that?

    Often, at 65% of what you pay, when the work is done in the United States, it is qualified research, and you pay for it whether or not it succeeds. Work done by offshore teams does not count. If you pay only when the software works, the developer bears the risk and the payment is not your research expense.

    Can a newer company use the credit against payroll taxes?

    Yes. Newer companies with under $5,000,000 in gross receipts can apply the credit against the employer's payroll taxes instead of income tax, up to $500,000 a year, for up to five years. The election is made on a timely filed original return, so it usually is not available for past years.

    Can I claim R&D credits for work done in prior years?

    Yes, for any year whose refund window is still open. You claim the credit for a prior year by filing an amended return within three years of the later of that return's original due date or the date you filed it. For most companies, that covers the three most recently filed years plus the current year. Partnerships under the federal partnership audit rules generally file an administrative adjustment request instead, and the partners take the change into account in a later year. aecre reviews every open year in every engagement.

    Let's Find Out What Your Security Research Is Worth

    The feasibility conversation takes 30 minutes. We assess your qualifying activities, estimate the credit and tell you plainly whether a study makes sense, before you commit to anything. We respond within one business day.

    Who You Will Talk To

    Taylor Beamer, PE

    Taylor Beamer, PE

    Partner, Operations

    taylor@aecreconsulting.com832-217-4469

    Brandon Carroll

    Brandon Carroll

    Partner, Growth and Strategy

    brandon@aecreconsulting.com857-997-4141

    Run a Free Estimate