Home / Articles / AI Experiments and the R&D Tax Credit: The Question Small Businesses Rarely Ask

AI Experiments and the R&D Tax Credit: The Question Small Businesses Rarely Ask

Spending on a chatbot subscription is not research. Spending months trying to make AI do something new might be. Here is where the line sits.

By Robert Allen Bautista · Kansas City tax educator, CPA candidate · Published 2026-11-22

Key takeaways

  • Work aimed at making AI do something new in your product or operations can be research for the federal credit, but only if it meets the four-part test.
  • Using an off-the-shelf AI tool for emails, summaries or marketing copy is not research.
  • Qualified costs include wages, supplies, 65% of contract research and amounts paid to use someone else’s computers in the research.
  • Software built mainly for your own back office has to clear an extra, higher bar.
  • Documentation decides whether a claim holds up, so start keeping it while the work happens. Ask your tax professional or CPA.

Somewhere in your business, someone has probably spent weeks trying to get AI to do something it could not do out of the box. Has anyone asked whether that effort could earn a federal tax credit?

Here is my take. Plenty of small businesses are experimenting with AI, and the research credit rarely comes up. The credit has a reputation as something for labs and manufacturers. The law looks at what you did and how you did it, and the industry on your tax return does not decide the answer.

I owe you the other side too. Most AI use will not qualify. A subscription that drafts your emails is an ordinary business expense. What can qualify is the work of trying to make AI do something new when you could not know in advance whether it would work. This article draws that line.

The four-part test

The research credit comes from section 41 of the Internal Revenue Code. Your work has to meet four requirements, and the law applies them separately to each business component. A business component is a product, process, computer software, technique, formula or invention that you sell, lease, license or use in your own business.

What an AI example could look like

This example is made up to show the idea. A small accounting practice wants software that sorts incoming invoices into the right accounts, and nobody on the team knows whether any approach can reach the accuracy the practice needs. Staff try different models, change how the documents are prepared, test each version against invoices with known answers, record the results and drop what fails. That is a process of evaluating alternatives to resolve a technical uncertainty.

A firm that buys an AI notetaker and switches it on is in a different spot. The tool already does what the vendor says, so there is no uncertainty to resolve.

Many AI projects face one more hurdle. Software built mainly for your own back office is treated as internal-use software. The regulations describe that as software for general and administrative functions such as financial management, human resources management and support services. It has to meet the usual tests and also a high threshold of innovation. It must be innovative, involve significant economic risk, and be something you could not buy or license and use for the purpose without modification. An AI feature inside a product you deliver to customers may be a different conversation.

Which costs can count

Qualified research expenses fall into a few categories under section 41(b).

The last item is where cloud computing comes in. Whether a given cloud or AI usage charge fits that wording is a question for your preparer. I would not assume it does, and I would not assume it does not.

What does not qualify

The paperwork decides everything

Treasury Regulation section 1.41-4(d) says a taxpayer claiming the credit must retain records in sufficiently usable form and detail to substantiate that the expenditures claimed are eligible. For an AI project, that points to a few practical items:

Start the file while the work is happening.

The credit is computed on Form 6765. For tax years beginning after 2025, the instructions make Section G, the business component information, required. It was optional for earlier years. Filers are exempt if their qualified research expenses are $1.5 million or less, their average gross receipts for the prior three years are $50 million or less, and they report the credit on an original return.

Two law changes small businesses should know about

The first is the payroll tax election. A qualified small business can elect to apply part of the credit against its payroll tax instead of its income tax. It needs gross receipts under $5 million for the year and no gross receipts before the five-tax-year period ending with that year, which in practice points to a business that started earning revenue within the last five years. The election is capped at $500,000 per year, and it cannot be made for a year after five or more preceding election years. The credit first reduces the employer share of Social Security tax, up to $250,000 per quarter, and then the employer share of Medicare tax. You elect on Form 6765 by the due date of the original return, including extensions, and report the amount on Form 8974.

The second is section 174A. Under Public Law 119-21, the 2025 law commonly called the One Big Beautiful Bill Act, taxpayers may deduct domestic research or experimental expenditures in the year they are paid or incurred, for tax years beginning after December 31, 2024. They can instead elect to amortize them over at least 60 months. The law treats software development costs as research expenditures. Small business taxpayers, generally those with average annual gross receipts of $31 million or less for the 2025 test, could elect to apply the new rule retroactively to tax years beginning after 2021, but that election window closed on July 6, 2026. The four-part test still applies in full.

Questions to bring to your tax professional

Preparers do not always raise this on their own, and the credit takes real documentation work. Ask directly. An answer of “this does not qualify, and here is why” is still worth hearing.

Which AI project in your business had an outcome you could not predict at the start? Take that one to your tax professional or CPA first.

General information, not tax advice for your specific situation.

Frequently asked questions

Can I claim the R&D credit for my AI subscription?

Not for everyday use such as emails or summaries. What can qualify is experimenting to make AI do something new when the result is uncertain, with records to show it.

What is the four-part test for the R&D credit?

A qualified purpose, technological in nature, elimination of uncertainty and a process of experimentation.

Can a small business use the R&D credit against payroll tax?

Yes, a qualified small business with gross receipts under $5 million can elect to apply up to $500,000 per year, subject to the five-year rule described above.

What records do I need to support an R&D credit claim?

Records in sufficiently usable form and detail to show the expenditures are eligible, under Treasury Regulation section 1.41-4(d).

Sources: IRC section 41, IRC section 174A, Treasury Regulation 1.41-4, Treasury Regulation 1.41-2, Instructions for Form 6765, IRS payroll tax election page, IRS One Big Beautiful Bill provisions and Revenue Procedure 2025-28. More guides are on the Articles page.

Send this to a business owner who is trying out AI.

Related guides

More quick answers: Tax questions Kansas City freelancers and families ask most.

General information, not advice for your specific situation.