|
Whether you are building AI from the ground up or deploying it to transform your operations, your company’s AI investment may qualify for the federal R&D tax credit. This guide covers what counts, what falls short, and how the rules apply after OBBBA restored immediate R&D expensing.
There are two categories of companies that should evaluate their AI work under IRC Section 41:
Companies that build AI are the obvious candidates. If your core product involves developing ML models, NLP systems, computer vision, or generative AI platforms, most of your development projects will strongly align with qualified research activities. The cycle of hypothesis, experimentation, testing, and iteration is exactly what the credit rewards.
Companies that use AI to transform their operations are where the biggest gap exists. A manufacturer building a predictive maintenance system, a healthcare organization developing an AI diagnostic tool, a financial services firm creating a fraud detection model, or an ag business deploying AI crop analysis can all qualify. The work they did to develop, customize, integrate, and validate AI within their operations meets the threshold if it involved technical uncertainty and experimentation.
One important note: the IRS applies a higher threshold of innovation test for internal-use software under Treas. Reg. §1.41-4(c)(6). If your AI system is used solely for internal operations, you may need to demonstrate that the software is innovative, involves significant economic risk, and is not commercially available. See our software R&D credits guide for more.
Every R&D credit claim must pass the IRS Four-Part Test under Section 41(d). There are no special carve-outs for AI. Here is how each prong applies:
Why AI is a natural fit: Traditional software follows known patterns with predictable outcomes. AI is different. You genuinely do not know at the outset whether your approach will work. That inherent uncertainty, combined with iterative experimentation, is why AI projects across industries are strong R&D credit candidates.
The following categories pass the Four-Part Test when technical uncertainty and experimentation are present. These apply to AI-native companies and AI adopters alike:
Developers now use tools like GitHub Copilot, Cursor, and ChatGPT to generate code from natural language. Practices like “vibe coding” and “agentic coding” are reshaping the development process. The IRS has not issued specific guidance, but the Section 41 framework does not change based on tools used.
Recent practitioner analysis confirms that when developers use AI to generate code, uncertainty shifts rather than disappears. Instead of struggling with syntax, the developer faces higher-order questions: Which AI-generated architecture scales? Will the code integrate with existing systems? How do you validate quality across edge cases? The developer’s testing, debugging, validation, and design decisions constitute the real experiment.
The IRS audits the process, not the tool. Document the human layer: design choices, alternatives evaluated, tests performed, failures encountered, and the rationale behind your final approach.
Here is how QREs under Section 41(b) apply to AI work:
Cloud costs are a growing blind spot. If your AWS/Azure/GCP billing lumps R&D and production compute together, you are leaving money on the table or creating audit risk. Tag R&D workloads at the infrastructure level and tie invoices to specific qualified projects.
The One Big Beautiful Bill Act, signed July 4, 2025, created Section 174A, restoring immediate expensing for domestic R&E costs for tax years beginning after December 31, 2024. From 2022 through 2024, the TCJA required five-year amortization, which crushed the value of both R&D deductions and credits. Section 174A eliminates that constraint.
For AI-heavy companies, this creates a compounding benefit: full immediate deduction plus the credit in the same year. Companies under the $31M gross receipts threshold can also apply Section 174A retroactively to 2022 through 2024 via amended returns (see Rev. Proc. 2025-28). Larger businesses can accelerate unamortized deductions over 2025 and 2026. For more, read our OBBBA R&D expensing breakdown.
With Section 174A restored, the Section 280C election matters more: full gross credit with add-back vs. reduced credit (~79%) with full deduction. Model both before filing. Details in our Section 280C guide.
State conformity warning: Not all states have conformed to Section 174A as of early 2026. Multi-state filers should verify each state’s treatment. Your state R&D credit eligibilitymay vary independently of federal changes.
The IRS expects business-component-level substantiation. Form 6765 Section G is optional for 2025 and mandatory for 2026, with exceptions for QSB payroll-only filers and taxpayers with ≤$1.5M in QREs (per IRS IR-2025-99). For AI projects, capture:
Mistake 1: Thinking the credit only applies to “AI companies.” Manufacturers, healthcare organizations, logistics firms, and retailers building or integrating AI all qualify. The test is the activity, not the industry.
Mistake 2: Missing cloud computing costs. GPU training for R&D is a fast-growing QRE category. If your cloud billing doesn’t separate R&D from production, fix that now.
Mistake 3: Not tracking time at the project level. The IRS expects individual-level allocation by project. Department-level tracking is not sufficient.
Mistake 4: Overlooking integration work. Data pipelines, APIs, and system integrations needed to make AI work often involve significant experimentation. That’s a QRE source.
Mistake 5: Documenting retroactively. Contemporaneous records (experiment logs, commits, time entries) are stronger than reconstructed ones. With Section G going mandatory, start now.
Step 1: Review your AI projects against the Four-Part Test. Include development and integration work across all teams.
Step 2: Map wages, cloud costs, supplies, and contractor payments to qualifying activities. Separate R&D from production spend.
Step 3: Assess whether your records support each activity at the business-component level. Start building documentation systems now.
Step 4: Engage a specialist. The intersection of AI and Section 41 is nuanced. An experienced advisor can identify missed expenses, validate documentation, and model the optimal credit strategy.
Yes. Companies that develop, train, fine-tune, or meaningfully improve AI systems can qualify under IRC Section 41 when the work involves genuine technical uncertainty and a process of experimentation. The activities must meet all four prongs of the IRS Four-Part Test.
Yes, in many cases. Customizing AI models, building proprietary integrations, fine-tuning pre-trained models on your data, or developing AI-powered workflows that require experimentation can all qualify. The distinction is between deploying off-the-shelf AI as-is (no credit) and developing or improving a business component through experimentation (potential credit). Internal-use software may be subject to the higher threshold test under Treas. Reg. §1.41-4(c)(6).
No. AI-assisted coding does not automatically disqualify. Uncertainty shifts rather than disappears. The developer still evaluates output, tests alternatives, debugs failures, and makes design tradeoffs. Document the human decision-making layer.
Yes. QSBs (under $5M gross receipts, fewer than five years of revenue) can apply up to $500K annually against payroll taxes under Section 41(h). See our startups guide.
Section 174A restored immediate expensing for domestic R&D (tax years beginning after 12/31/2024). QREs are no longer amortized, increasing both deduction and credit value. Full analysis in our OBBBA breakdown.
Ask three questions: (1) Did your team face genuine technical uncertainty? (2) Did you experiment to resolve it? (3) Did the work rely on engineering or computer science? If yes to all three, the activity likely qualifies. Use our R&D Tax Credit Calculator for a quick estimate.