Back to Blog
Tax LawMarch 21, 2026

R&D Tax Credits for Software, SaaS, and AI Companies: Capturing the Section 41 Credit

The Credit That Rewards Building

The Section 41 research and development credit is one of the most valuable and underutilized incentives available to technology companies. For software, SaaS, and artificial intelligence businesses—whose core activity is the iterative development of novel functionality—qualifying activity is often abundant. The challenge is rarely whether the work qualifies in principle; it is whether the company can substantiate the credit in a manner that withstands examination.

As counsel who advises technology founders on both structuring and controversy, I approach the R&D credit with two goals in equal measure: maximizing the legitimate benefit and building the contemporaneous record that makes the credit defensible.

The Four-Part Test

To constitute qualified research under Section 41, an activity must satisfy a four-part test:

  • Permitted purpose. The activity must relate to developing or improving the functionality, performance, reliability, or quality of a business component—such as a product, process, software, or technique.
  • Technological in nature. The work must fundamentally rely on principles of the hard sciences, including computer science and engineering.
  • Elimination of uncertainty. At the outset, the taxpayer must face uncertainty regarding capability, method, or appropriate design—uncertainty that the development effort is intended to resolve.
  • Process of experimentation. Substantially all of the activity must constitute a process of evaluating alternatives through modeling, simulation, systematic trial and error, or other methods.

For a SaaS company architecting a scalable multi-tenant platform, or an AI team developing and tuning novel model architectures, these elements are frequently present. But presence is not proof. The four-part test must be documented activity by activity.

Have a legal matter to discuss? Tell us about your situation.

Request a Consultation

What Qualifies in Software and AI

Many core technology activities can qualify: developing new algorithms, designing novel data architectures, building and iterating machine-learning models, engineering for performance and scalability where the outcome is genuinely uncertain, and integrating disparate systems in ways that require experimentation. In the AI context, work on model architecture, training methodology, and novel inference optimization often maps cleanly onto the process-of-experimentation requirement.

Equally important is what does not qualify. Routine data collection, cosmetic or aesthetic changes, adaptation of existing software to a particular customer without technological uncertainty, and post-commercial-release maintenance generally fall outside the credit. Internal-use software carries additional heightened requirements that must be analyzed separately.

Qualified Research Expenses

The credit is computed on qualified research expenses, which principally include:

  • Wages paid to employees performing, directly supervising, or directly supporting qualified research—often the largest category for software companies;
  • Supplies used in the conduct of research; and
  • Contract research, generally at a reduced inclusion percentage, for qualified work performed by third parties where the taxpayer retains rights and bears the economic risk.

Cloud computing costs incurred to host development and testing environments can, in appropriate circumstances, be treated as qualifying, which is significant for cloud-native SaaS and AI companies whose experimentation runs on rented infrastructure.

The Capitalization Overlay

Technology companies must also account for the requirement that specified research and experimental expenditures be capitalized and amortized rather than immediately deducted. This capitalization rule operates independently of the credit but affects overall cash-tax modeling. The R&D credit and the treatment of research expenditures should be analyzed together, not in isolation, so that founders understand the complete tax picture of their development spend.

Documentation That Survives Audit

The R&D credit is a documentation exercise as much as a technical one. In examination, the IRS will test whether the claimed activities meet the four-part test and whether the expenses are properly allocated. The strongest positions rest on contemporaneous evidence:

  • Project and sprint records tying engineering work to specific technical uncertainties;
  • Design documents, architecture decisions, and records of alternatives evaluated;
  • Time allocation supporting the wage component with a rational, consistent methodology; and
  • A nexus narrative connecting each qualifying project to the statutory test.

Reconstructing this record after the fact is possible but far weaker than building it as the work happens. I advise engineering-led companies to embed light-touch documentation habits into their existing project-management workflow so that substantiation is a byproduct of how the team already works.

Strategic Considerations

For growth-stage technology companies, the R&D credit is not merely a year-end tax matter; it is a component of financial strategy. Properly captured, it improves cash position and, for qualifying startups, can offset payroll tax liabilities—a topic that deserves its own detailed treatment. The recurring counsel I give is to treat the credit as an ongoing compliance discipline rather than an annual scramble.

Done carelessly, R&D credit claims invite scrutiny and penalties. Done rigorously, they deliver substantial, defensible value that rewards exactly the innovative work these companies are built to perform.

This article is provided for general informational purposes and does not constitute legal advice or create an attorney-client relationship.

This article is for informational purposes only and does not constitute legal advice. Contact our office for guidance specific to your situation.

Contact Anthony Girand Law

Provide a few details about your legal matter and the firm will follow up.

Step 1 of 2

Related Services