Blog/Tax Credits

R&D Tax Credits for SaaS Companies: What Qualifies and How to Claim

RM

Rohan Miller

Head of Tax Strategy

Last updated: March 25, 202614 min read

Most SaaS founders assume R&D tax credits are for biotech labs and hardware companies. That assumption costs the average early-stage SaaS company between $50,000 and $150,000 in unclaimed credits per year. Under IRC Section 41, software development activities qualify for the federal R&D tax credit if they meet a four-part test. Pre- revenue startups can even apply credits against payroll taxes. At SpryTax, our SaaS clients claimed an average of $87,000 in R&D credits in 2025.

Key Takeaways

  • *Software development qualifies under IRC Section 41 if it meets the four-part test
  • *Pre-revenue startups can offset up to $500,000 per year in payroll taxes (FICA)
  • *The credit is worth 6% to 10% of qualified research expenses for most SaaS companies
  • *Credits can be carried forward for up to 20 years if you cannot use them immediately
  • *Documentation is the single most important factor in surviving an IRS audit

The IRS Four-Part Test for R&D Activities

To qualify for the R&D tax credit under IRC Section 41, each activity must satisfy all four parts of the following test. The IRS applies these criteria consistently across industries, including software and SaaS.

1. Permitted Purpose

The activity must relate to developing a new or improved business component (product, process, software, technique, formula, or invention). For SaaS companies, this includes building new features, improving performance or scalability, developing new algorithms, or creating new architectures. The component must be intended for sale, lease, license, or internal use in your business.

2. Technological in Nature

The activity must fundamentally rely on principles of engineering, computer science, physics, chemistry, or biology. Software development inherently satisfies this requirement because it relies on computer science principles. Writing code, designing database schemas, building APIs, and developing machine learning models all qualify. General business activities like market research, sales, and management do not.

3. Elimination of Uncertainty

There must be uncertainty about the capability, method, or design of the component at the outset of the activity. This is where many SaaS companies qualify without realizing it. If your team explored multiple approaches to solve a performance problem, tested different architectures for a feature, or investigated whether a particular algorithm could handle your data scale, that uncertainty qualifies. Routine bug fixes and cosmetic UI changes typically do not.

4. Process of Experimentation

The taxpayer must evaluate alternatives through modeling, simulation, systematic trial and error, or other methods. In software development, this maps to A/B testing, prototyping, benchmarking different approaches, refactoring for performance, and iterative development cycles where the outcome was not predetermined. If your developers tried approach A, found it did not scale, and then built approach B, that iterative process counts.

What Software Development Activities Qualify?

Based on our experience working with over 60 SaaS clients and IRS guidance, the following categories of software development typically qualify for R&D credits:

Typically Qualifies

  • +Building new product features from scratch
  • +Developing new algorithms or data processing pipelines
  • +Architecture redesigns for scalability
  • +Integrating machine learning or AI capabilities
  • +Developing APIs with novel functionality
  • +Building custom DevOps tooling and CI/CD pipelines
  • +Performance optimization with measurable goals
  • +Security architecture and encryption implementations
  • +Database optimization and query engine development

Typically Does NOT Qualify

  • -Routine bug fixes and maintenance
  • -Cosmetic UI changes (color, layout tweaks)
  • -Installing or configuring third-party software
  • -Data entry and content migration
  • -Market research and competitive analysis
  • -Customer support and training
  • -Quality assurance testing (unless testing novel methods)
  • -Project management and administrative work
  • -Adapting existing software for a new client without technical uncertainty

Calculating Your R&D Tax Credit

There are two methods for calculating the federal R&D tax credit: the Regular Credit (RC) method and the Alternative Simplified Credit (ASC) method. Most startups and early-stage SaaS companies use the ASC method because it is simpler and often produces a larger credit when you have limited historical data.

Alternative Simplified Credit (ASC) Method

The ASC equals 14% of the amount by which your current-year qualified research expenses (QREs) exceed 50% of the average QREs for the three preceding tax years. If you have no QREs in any of the three prior years, the credit is 6% of current-year QREs.

ASC = 14% x (Current Year QREs - 50% x Average of Prior 3 Years QREs)

If no prior year QREs: ASC = 6% x Current Year QREs

Regular Credit (RC) Method

The Regular Credit equals 20% of the amount by which current-year QREs exceed a base amount. The base amount is calculated using a fixed-base percentage applied to average gross receipts over the prior four years. This method can produce a larger credit for established companies with consistent revenue growth but requires more historical data.

RC = 20% x (Current Year QREs - Base Amount)

Base Amount = Fixed-Base % x Average Gross Receipts (prior 4 years)

Example: SaaS Company with $600,000 in Developer Salaries

Consider a SaaS company with five developers. Total developer compensation (salaries, benefits, stock-based compensation) is $600,000 per year. After a detailed time study, 65% of developer time is allocated to qualifying R&D activities.

Line ItemAmount
Total developer compensation$600,000
Qualifying R&D percentage65%
Qualified research expenses (wages)$390,000
Cloud computing costs (65% qualifying)$26,000
Contract developer costs (65% of $80,000)$33,800
Total QREs$449,800
ASC credit (6% for first-year claimant)$26,988
ASC credit (14% with 3 years of prior QREs of $350K avg)$38,472

Payroll Tax Offset for Startups (IRC Section 41(h))

This is the provision that makes R&D credits especially valuable for pre-revenue and early-revenue SaaS startups. Under IRC Section 41(h), a "qualified small business" can elect to apply up to $500,000 of R&D credits per year against the employer portion of Social Security taxes (FICA), instead of against income tax.

To qualify as a "qualified small business" for this purpose, you must meet both criteria:

  • *Gross receipts of less than $5 million in the current tax year
  • *No gross receipts for any tax year preceding the 5-tax-year period ending with the current tax year (effectively, the company must be less than 5 years old or have had no revenue for the first several years)

Why This Matters for Pre-Revenue Startups

If your SaaS company has no revenue and no federal income tax liability, a traditional R&D credit is useless in the current year (though it can be carried forward). The payroll tax offset under Section 41(h) converts the credit into an immediate cash benefit by reducing the FICA taxes you owe on employee wages. For a startup with $500,000 in annual payroll, the employer FICA portion is approximately $38,250 (7.65%). A $27,000 R&D credit applied against payroll taxes puts $27,000 back in your bank account starting in the quarter after you file Form 6765 with your return and Form 8974 with your quarterly payroll filings.

Qualified Research Expenses: What Costs Count

The IRS recognizes four categories of qualified research expenses (QREs) under Section 41:

1. W-2 Wages

Salaries, wages, and bonuses paid to employees who directly perform, supervise, or support qualifying R&D activities. This is typically the largest QRE category for SaaS companies. Include only the portion of time each employee spends on qualifying activities. A developer who spends 70% of their time on new feature development and 30% on customer support contributes 70% of their compensation to QREs.

2. Contract Research Expenses

Payments to third-party contractors for qualifying R&D work. Only 65% of contract research expenses qualify (not 100%). If you pay a contract developer $10,000 for a qualifying project, $6,500 counts as a QRE. The contractor must perform the work in the United States.

3. Supplies

Tangible property used or consumed in the R&D process. For SaaS companies, this primarily includes cloud computing costs (AWS, GCP, Azure) used for development and testing environments. Production hosting costs generally do not qualify because they are not used in the research process. Development and staging environments do qualify.

4. Basic Research Payments

Payments to qualified organizations (universities, scientific research organizations) for basic research. This is less common for SaaS companies but can apply if you fund academic research related to your technology.

Documentation Requirements: What the IRS Expects

Documentation is the difference between a successful R&D credit claim and a rejected one during an audit. The IRS does not require any specific format, but you must be able to demonstrate each element of the four-part test for every project you include in your credit calculation.

At minimum, maintain the following records:

  • *Project descriptions for each qualifying R&D initiative, including the technical uncertainty being addressed and the experimentation process used
  • *Time tracking records showing how developers allocated their time between qualifying and non-qualifying activities (tools like Jira, Linear, or GitHub can provide this data)
  • *Technical documentation such as design documents, architecture decision records, pull request descriptions, and commit messages that describe the technical challenges and approaches
  • *Payroll records documenting wages paid to each employee involved in R&D activities
  • *Contractor invoices for any third-party R&D work, with descriptions of the work performed
  • *Cloud expense records showing development/testing environment costs separated from production hosting

Audit Preparation Tip

The IRS has increased R&D credit audits for software companies in recent years. The most common audit trigger is claiming a high percentage of developer time as qualifying R&D (above 80%). A credible study typically allocates 50% to 75% of developer time to qualifying activities, which accounts for meetings, code reviews, maintenance, and other non-qualifying work. Overstating the percentage invites scrutiny and risks losing the entire credit.

Section 174 Amortization: The 2022 Change That Affects Every SaaS Company

Starting with tax years beginning after December 31, 2021, the Tax Cuts and Jobs Act (TCJA) requires companies to capitalize and amortize R&D expenditures under Section 174 over 5 years (15 years for foreign research) instead of deducting them immediately. This change applies regardless of whether you claim the R&D credit.

For SaaS companies, this means:

  • *Developer salaries allocated to R&D must be capitalized, not expensed
  • *This increases taxable income in the current year (even if you are burning cash)
  • *The R&D tax credit becomes even more valuable because it directly offsets the increased tax liability caused by Section 174 capitalization
  • *Proper allocation between Section 174 costs and other expenses is critical for accurate tax calculations

As of early 2026, Congress has not reversed the Section 174 amortization requirement despite multiple bipartisan proposals to restore immediate expensing. Plan your tax strategy assuming amortization will continue.

How to Claim the Credit: Forms and Filing

To claim the R&D tax credit, you need to file the following forms:

  • *Form 6765 (Credit for Increasing Research Activities): Filed with your annual corporate tax return (Form 1120 for C-Corps). This form calculates the credit amount using either the Regular or ASC method.
  • *Form 8974 (Qualified Small Business Payroll Tax Credit for Increasing Research Activities): If you are electing the payroll tax offset under Section 41(h), file this form with your quarterly Form 941 to apply the credit against employer FICA taxes.
  • *Supporting documentation: While not filed with the return, you must maintain a contemporaneous R&D credit study with project-level detail in case of audit.

State-Level R&D Credits

In addition to the federal credit, many states offer their own R&D tax credits. These can significantly increase your total benefit. Key states for SaaS companies:

  • *California: 24% credit on QREs exceeding the base amount (one of the most generous state credits, but non-refundable and cannot offset the minimum franchise tax)
  • *New York: 6% credit for QREs in New York, with an additional 6% for QREs exceeding the base amount
  • *Massachusetts: 10% credit on QREs exceeding the base amount
  • *Texas: No state income tax, but offers a franchise tax credit for R&D

Related Resources

Find Out How Much Your SaaS Company Can Claim in R&D Credits

Our team conducts a full R&D credit study, identifies qualifying activities, calculates your credit using both methods, prepares Form 6765, and provides audit-ready documentation. Most SaaS companies see $25,000 to $150,000 in annual credits.

Get a Free R&D Credit Estimate