Are R&D Expenses Tax-Deductible? (w/Examples) + FAQs

Yes, research and development (R&D) expenses are tax-deductible under federal law. Internal Revenue Code (IRC) Section 174 allows businesses to deduct costs tied to research activities in connection with their trade or business. The One Big Beautiful Bill Act (OBBBA), signed in July 2025, restored immediate expensing for domestic R&D costs after a three-year period when businesses had to spread deductions over five years.

The Tax Cuts and Jobs Act (TCJA) of 2017 created a major problem by requiring businesses to capitalize and amortize R&D expenses over five years (15 years for foreign research) starting in 2022. This change meant a company spending $1 million on R&D could only deduct $100,000 in the first year instead of the full amount. According to data from the National Science Foundation, U.S. businesses spent over $550 billion on R&D in 2022, making this rule change a significant tax burden for innovators across all industries.

📌 What You’ll Learn in This Article:

  • 💰 How to deduct R&D expenses under the new 2025 rules and which costs qualify
  • ⚖️ The key differences between Section 174 deductions and Section 41 R&D tax credits
  • 🧪 Real examples showing how software, manufacturing, and pharmaceutical companies claim R&D benefits
  • ⚠️ Common mistakes that trigger IRS audits and how to avoid them
  • 📝 Step-by-step guidance on Form 6765 and the payroll tax offset for startups

How Federal Law Treats R&D Expenses: Section 174 and Section 41 Explained

Two separate sections of the tax code govern R&D benefits for businesses. Section 174 controls whether you can deduct R&D expenses from taxable income. Section 41 provides a separate tax credit that reduces your actual tax bill dollar-for-dollar.

These two provisions work together but serve different purposes. Section 174 reduces taxable income by treating R&D costs as a deductible expense. Section 41 provides a credit equal to roughly 6% to 8% of qualified research expenses that directly offsets taxes owed.

FeatureSection 174 (Deduction)Section 41 (Credit)
PurposeReduces taxable incomeReduces tax owed dollar-for-dollar
Eligible CostsDirect and indirect R&D costs including rent, utilities, overheadOnly direct costs: wages, supplies, 65% of contractors
Mandatory?Yes—all businesses with R&D must complyNo—claiming the credit is optional
Benefit TypeDeduction lowers income before tax rate appliesCredit directly reduces tax liability

The 2022 Rule Change That Hurt Businesses

Before 2022, businesses had a choice. They could deduct R&D expenses immediately in the year they occurred, or they could choose to amortize them over 60 months. Most companies picked immediate deduction because it provided the biggest tax benefit right away.

The TCJA changed this starting January 1, 2022. Congress eliminated the option to deduct R&D costs immediately and required businesses to capitalize and amortize these expenses over five years for domestic research or 15 years for foreign research. The law also applies a mid-year convention, meaning businesses can only claim half a year’s worth of amortization in year one.

This created a cash flow crisis for many companies. A business spending $2 million on U.S.-based R&D in 2022 could only deduct $200,000 that year instead of the full amount. At a 21% corporate tax rate, this meant paying an extra $378,000 in taxes compared to the old rules. Software companies faced particular hardship because the law treats all software development costs as R&D expenditures.

The 2025 Fix: Immediate Expensing Returns for Domestic R&D

The One Big Beautiful Bill Act (OBBBA), signed into law on July 4, 2025, brought back immediate expensing for domestic R&D costs. For tax years starting after December 31, 2024, businesses can once again deduct 100% of their U.S.-based R&D expenses in the year they occur. Foreign R&D costs still must be amortized over 15 years.

The new law creates a new Section 174A that gives businesses two options for domestic R&D. They can deduct the full amount immediately, or they can elect to capitalize and amortize over at least 60 months. This flexibility lets companies choose the approach that best fits their tax situation.

Tax YearDomestic R&D TreatmentForeign R&D Treatment
2021 and earlierImmediate deduction allowedImmediate deduction allowed
2022-20245-year amortization required15-year amortization required
2025 and laterImmediate deduction OR 60-month amortization15-year amortization required

Relief for Previously Capitalized Costs

Businesses that capitalized R&D costs between 2022 and 2024 have several options under the new law. Large companies can deduct remaining unamortized amounts either fully in 2025 or split between 2025 and 2026. Small businesses with average annual gross receipts of $31 million or less have an even better option.

These qualifying small businesses can go back and amend their 2022, 2023, and 2024 tax returns to claim the full deduction for those years. This could unlock refunds of five to six figures for companies that paid extra taxes under the old amortization rules. The deadline to make this election is the earlier of the original statutory deadline or July 6, 2026.

What Counts as a Deductible R&D Expense?

Section 174 defines research and experimental expenditures broadly. These are costs paid or incurred in connection with a trade or business that represent research and development costs in the experimental or laboratory sense. The purpose must be to develop new products, processes, or techniques, or to improve existing ones.

Direct R&D costs include wages for employees performing research, supplies consumed during experimentation, and payments to contractors conducting research on your behalf. Indirect R&D costs such as rent, utilities, and overhead for facilities where research takes place also count as Section 174 expenditures. This makes Section 174 broader than Section 41, which only covers direct costs.

Software Development Gets Special Treatment

The TCJA specifically classified all software development costs as R&D expenditures. This means every dollar spent creating or improving software—whether for sale to customers or internal business use—falls under Section 174 rules. Software companies must track developer wages, testing costs, and cloud computing expenses for R&D tax purposes.

Under the new Section 174A, domestic software development costs can be fully expensed starting in 2025. Foreign software development still faces the 15-year amortization requirement. This creates a strong tax incentive for companies to keep software development work in the United States rather than offshore.

The R&D Tax Credit: A Separate Benefit Under Section 41

Beyond the deduction, businesses can also claim a tax credit under Section 41 for qualified research expenses. This credit equals approximately 6% to 8% of annual qualifying R&D spending. Unlike a deduction that reduces taxable income, a credit directly reduces your tax bill dollar-for-dollar.

To claim the credit, your research activities must pass the IRS four-part test. The four requirements are: permitted purpose, technological in nature, elimination of uncertainty, and process of experimentation. Activities that meet all four criteria are considered “qualified research.”

TestRequirementExample
Permitted PurposeMust aim to create or improve a product, process, software, or techniqueDeveloping a new mobile app feature to improve load times
Technological in NatureMust rely on engineering, computer science, biology, chemistry, or physicsUsing machine learning algorithms to enhance data processing
Elimination of UncertaintyMust address technical uncertainty about capability, method, or designTesting whether a new battery chemistry can hold sufficient charge
Process of ExperimentationMust involve systematic trial and error, modeling, or testingBuilding and testing multiple prototypes to find optimal design

Qualified Research Expenses (QREs) Explained

Not all spending counts toward the R&D credit. The IRS defines qualified research expenses as the sum of in-house research expenses and contract research expenses. In-house expenses include wages for employees performing qualified services, supplies used in research, and computer rental costs.

Employee wages make up the largest portion of QREs for most businesses. Only wages paid for direct performance, direct supervision, or direct support of qualified research activities count. Administrative tasks, training, and general management do not qualify.

Supply expenses include tangible property used and consumed during research. Raw materials for prototypes, testing supplies, and lab equipment that gets used up qualify as supplies. Items that get capitalized or depreciated—like permanent equipment—do not count.

Contract research covers payments to third parties conducting research on your behalf. Only 65% of payments to outside contractors qualify as QREs. The taxpayer must retain substantial rights to the research results and bear the economic risk if research fails.

Three Common R&D Scenarios: Action and Outcome

Scenario 1: Software Startup Developing a New Application

A software startup spends $500,000 on developer salaries, $50,000 on cloud computing costs, and $100,000 on contracted programmers to build a new mobile application. The developers face technical uncertainty about whether their new algorithm can process data fast enough for real-time updates.

ActionTax Outcome
Deduct $650,000 in domestic R&D costs under Section 174A (2025)Full deduction in year one reduces taxable income by $650,000
Calculate QREs: $500,000 wages + $50,000 supplies + $65,000 (65% of $100,000 contractors) = $615,000Eligible for Section 41 credit calculation
Apply Alternative Simplified Credit method (14% of excess over base)Credit of approximately $43,000 to offset taxes
Elect payroll tax offset as qualified small businessApply up to $500,000 of credit against FICA taxes quarterly

Scenario 2: Manufacturing Company Improving Production Process

A mid-size manufacturer invests $800,000 in engineering wages and $200,000 in prototype supplies to redesign their production line for greater efficiency. They test multiple configurations using simulation software before building physical prototypes.

ActionTax Outcome
Capitalize $1,000,000 under old rules (2022-2024) with $700,000 remaining unamortizedCan elect to deduct remaining $700,000 in 2025 or split between 2025-2026
Identify $800,000 in engineer wages as QREsMust document time spent on qualified activities vs. routine production work
Apply Regular Credit method (20% of excess over base amount)Potentially larger credit if historical R&D spending was low
File Form 6765 with Section G business component detailsMust report top 50 business components or those accounting for 80% of QREs

Scenario 3: Pharmaceutical Company Conducting Clinical Trials

A pharmaceutical company spends $5 million on clinical trials for a new drug, including $3 million in researcher salaries, $500,000 in laboratory supplies, and $1.5 million paid to contract research organizations (CROs).

ActionTax Outcome
Deduct $5 million in domestic R&D expenses under Section 174AFull deduction in 2025 reduces taxable income significantly
Calculate QREs: $3M wages + $500K supplies + $975K (65% of $1.5M CROs) = $4,475,000Substantial credit base for Section 41 calculation
Claim Orphan Drug Credit if drug treats rare diseaseAdditional 25% credit on qualified clinical testing expenses
Reduce Section 174A deduction by credit amount under Section 280CRequired coordination prevents double benefit

Form 6765: How to Claim the R&D Tax Credit

Businesses claim the R&D tax credit by filing IRS Form 6765, Credit for Increasing Research Activities. The form has seven sections, with significant changes taking effect for tax year 2025. Understanding each section helps ensure proper compliance and maximum credit.

Section A covers the Regular Credit calculation using a 20% rate on QREs above a base amount. This method requires historical data on gross receipts and qualified expenses going back four years. Startups with limited history use a 3% fixed-base percentage for their first five years.

Section B provides the Alternative Simplified Credit (ASC) calculation using a 14% rate. This method only requires three years of QRE history and works well for companies lacking complete historical records. The ASC calculates credit as 14% of current-year QREs exceeding 50% of the prior three-year average.

Section D allows qualified small businesses to offset payroll taxes with R&D credits. To qualify, a business must have less than $5 million in gross receipts and no more than five years of revenue history. Eligible startups can apply up to $500,000 annually against their employer FICA taxes.

Sections E, F, and G are new additions requiring more detailed qualitative information. Section G requires business component-level reporting, including the name, type, and associated QREs for each research project. The IRS has stated that Section G remains optional for 2025 but will likely become mandatory in future years.

Regular Credit vs. Alternative Simplified Credit

MethodCredit RateBase CalculationBest For
Regular Credit20%Fixed-base percentage × 4-year average gross receiptsStartups, companies with low historical R&D
Alternative Simplified14%50% of prior 3-year average QREsCompanies with higher base amounts, incomplete records

The Payroll Tax Offset: Cash for Pre-Profit Startups

Pre-revenue companies often wonder how they can benefit from a tax credit when they owe no income tax. The answer is the payroll tax offset provision under Section 41(h). This rule allows qualified small businesses to convert their R&D credit into cash by applying it against payroll taxes.

To use this benefit, your company must meet two tests. First, you must have gross receipts of less than $5 million for the current tax year. Second, you must have no more than five years of gross receipts history. Companies meeting both criteria can elect to offset up to $500,000 annually against the employer’s 7.65% FICA tax.

The election must be made on a timely filed income tax return, including extensions. The credit becomes available starting the first quarter after the return is filed. For example, a startup filing its 2024 return on March 15, 2025 could begin using the payroll credit in the quarter ending June 30, 2025.

Section 280C: Avoiding the Double Benefit Trap

Federal law prohibits claiming both a full deduction and a full credit for the same R&D expenses. Section 280C requires coordination between the Section 174A deduction and the Section 41 credit to prevent this double benefit.

Under the default rule, taxpayers must reduce their R&D expense deduction by the amount of credit claimed. This means if you claim $100,000 in R&D credit, you must add $100,000 back to taxable income. The net tax impact is the same as if you received the credit and paid tax on that amount.

Alternatively, taxpayers can make a Section 280C(c)(3) election to take a reduced credit instead. This reduces the credit by 21% (the corporate tax rate) but avoids the addback to taxable income. The election must be made on the original, timely filed return and is irrevocable for that year.

ApproachDeduction ImpactCredit ImpactWhen to Use
Default (no election)Reduce by credit amountFull credit claimedWhen credit is less than 10% of QREs
280C ElectionFull deduction retainedCredit reduced by 21%When state tax savings outweigh federal credit reduction

State R&D Tax Credits: Additional Savings Opportunities

Beyond federal benefits, 36 states offer R&D tax credits with their own rules and rates. Some states provide credits exceeding 20% of qualified expenses, creating substantial additional savings for businesses conducting research in those locations.

California offers a 15% credit on qualified research expenses exceeding the base amount, plus a 24% credit on basic research payments to universities. The California credit is non-refundable but can be carried forward indefinitely.

Texas recently enhanced its program with rates of 8.722% to 10.903% for companies partnering with Texas universities. The higher education partnership rate encourages collaboration between businesses and academic institutions.

New York provides two separate credits. The Excelsior R&D credit equals 50% of the federal credit, capped at 8% of New York-based QREs. The Life Sciences R&D credit offers 15% to 20% for qualifying biotech companies, with a $500,000 annual cap.

StateCredit RateRefundable?Notable Features
California15% excess + 24% basic researchNoUnlimited carryforward
Texas8.722% – 10.903%NoHigher rates for university partnerships
New York50% of federal (Excelsior)Yes (Excelsior)Separate Life Sciences credit available
LouisianaUp to 30%YesNo cap, no minimum requirement
Arizona24% first $2.5M, 15% excessNoCombined individual and corporate credit

What Activities Do NOT Qualify for R&D Benefits

The IRS specifically excludes certain activities from qualified research. Understanding these exclusions prevents costly mistakes on tax returns and potential audit problems.

Research after commercial production does not qualify once a product is ready for market use. Work done to refine manufacturing processes after the product design is finalized falls outside the credit. The cutoff is when the business component meets basic functional and economic requirements.

Duplication activities copying an existing product from blueprints, physical examination, or publicly available information are excluded. However, evaluating a competitor’s product while developing your own does not automatically disqualify your research.

Funded research paid for by a third party—whether through grants, contracts, or reimbursement—cannot be claimed by the company receiving the funds. Research qualifies as “funded” when payment does not depend on success and the funder retains rights to results.

Foreign research conducted outside the United States, Puerto Rico, or U.S. possessions does not qualify for the Section 41 credit. Even American researchers working abroad for an American company cannot generate credit-eligible QREs.

Activities Excluded from R&D Benefits

Excluded ActivityWhy It Doesn’t Qualify
Routine testing for quality controlNo technological uncertainty—just confirming existing standards
Market research and consumer surveysRelies on social sciences, not hard sciences
Adapting existing products for specific customersNot creating anything new, just modification
Management studies and efficiency surveysAdministrative function, not technical research
Reverse engineering existing productsDuplication exclusion applies
Research funded by grants or contractsCannot claim if another party bears economic risk

Mistakes to Avoid When Claiming R&D Benefits

IRS audits of R&D claims have increased significantly in recent years. Knowing the most common mistakes helps businesses avoid penalties and credit disallowance.

1. Including Non-Qualifying Activities

Many businesses wrongly include routine development work in their R&D claims. Bug fixes, minor software updates, and quality control testing typically do not meet the four-part test. Each claimed activity must involve genuine technical uncertainty and experimentation, not just improvement of existing capabilities.

Marketing costs and business development expenses never qualify, even when they seem innovative from a business perspective. The IRS requires activities to rely on hard sciences—engineering, computer science, biology, chemistry, or physics—not social sciences or business strategy.

2. Poor Documentation

The IRS places enormous weight on contemporaneous documentation—records created during research, not after the fact. Courts have called lack of real-time documentation a “fatal flaw” in R&D credit cases. Reconstruction of records months or years later carries little credibility in an audit.

Project notes documenting technical hypotheses, lab results, meeting minutes discussing challenges, and time-tracking records linking employee hours to specific activities all strengthen your claim. Generic descriptions that could apply to any company trigger IRS skepticism.

3. Failure to Connect Costs to Specific Activities

The “nexus problem” causes many credit claims to fail. Businesses must demonstrate a clear link between each dollar claimed and a specific qualified research activity. Manager estimates that “roughly 40% of time was spent on R&D” without supporting records rarely survive audit scrutiny.

4. Missing the Section 280C Election Deadline

The Section 280C election to take a reduced credit must be made on an originally filed return by the due date including extensions. Protective elections—reserving the right to decide later—are not valid. Missing this deadline forces taxpayers into the default treatment, which may not be optimal for their situation.

5. Claiming Funded Research

Businesses regularly make the mistake of claiming expenses for research paid by customers, grants, or government contracts. The funded research exclusion requires careful separation of company-funded versus third-party-funded activities. Only expenses where your company bears the economic risk and retains substantial rights qualify.

Do’s and Don’ts for R&D Tax Benefits

Do’sWhy
Track employee time to specific research projectsCreates the nexus documentation IRS auditors require
Calculate both Regular and ASC methods annuallyThe optimal method may change year to year
Keep lab notebooks, project files, and test resultsContemporaneous records carry far more weight than reconstructed documentation
Coordinate Section 174 and Section 41 claimsRequired under Section 280C to avoid double benefits
Evaluate state credit opportunitiesMany states offer additional 10-30% credits beyond federal
Don’tsWhy
Claim routine bug fixes as R&DDoes not meet the technological uncertainty requirement
Use generic boilerplate descriptionsIRS specifically flags “prepackaged” claims with excessive template language
Miss the payroll tax election deadlineElection must be on original, timely filed return—cannot be added later
Include grant-funded researchFunded research exclusion applies regardless of who performs the work
Reconstruct records after the factCourts consistently reject documentation created months or years later

Pros and Cons of Claiming R&D Tax Benefits

ProsCons
Immediate cash savings through reduced taxes or payroll offsetsRequires detailed documentation and record-keeping throughout the year
Carries forward up to 20 years if credit exceeds current liabilityComplex calculations may require professional assistance
Encourages innovation and investment in U.S.-based researchIRS audit risk is higher for R&D claims than many other deductions
Small businesses can offset payroll taxes even without profitsSection 280C coordination adds complexity to benefit calculation
State credits can double or triple the federal benefitDifferent state rules require separate tracking and filings

Industry-Specific Examples of Qualifying R&D

Technology and Software

Software companies regularly qualify for R&D benefits through activities like developing new architectures, creating AI algorithms, building cybersecurity measures, and improving application performance. Testing new approaches to cloud computing, database optimization, and API integration all meet the four-part test when technical uncertainty exists.

A startup developing a new payment processing platform would qualify when testing encryption methods, designing fraud detection algorithms, and building integrations with banking systems. The wages of developers writing code, architects designing systems, and QA engineers testing functionality all count as QREs.

Manufacturing

Manufacturing companies claim R&D benefits for activities such as designing new products, developing production processes, creating tooling and fixtures, and integrating automation. Even improving an existing production line can qualify when the work involves genuine experimentation with uncertain outcomes.

Case studies show manufacturers saving hundreds of thousands of dollars through properly documented R&D claims. A machine shop saved nearly $400,000 by documenting qualified wages, supplies, and contract research. A custom manufacturer in New York claimed over $650,000 based on nearly $7 million in qualified wages.

Pharmaceutical and Biotech

The pharmaceutical industry conducts extensive R&D that regularly qualifies for tax benefits. Activities include formulating new drugs, designing medical devices, conducting clinical trials, developing delivery mechanisms, and testing for regulatory compliance. The Orphan Drug Credit provides an additional 25% credit for clinical testing on rare disease treatments.

A biotech startup with $120,000 in federal R&D credit could use the full amount to offset payroll taxes even before generating profit. This cash flow benefit helps fund continued research and attracts investor interest.

Key Entities and Their Roles in R&D Tax Benefits

The IRS administers both Section 174 deductions and Section 41 credits at the federal level. The agency has increased audit scrutiny of R&D claims in recent years, requiring more detailed reporting on Form 6765 and substantiation of qualified expenses.

State Tax Authorities administer state R&D credits separately from federal benefits. Each state has different rules, rates, and filing requirements. California’s Franchise Tax Board, for example, requires Form 3523 for claiming the California R&D credit.

Congress sets the rules through legislation like the TCJA and OBBBA. The 2025 restoration of immediate expensing came after extensive lobbying by business groups and bipartisan congressional support.

Tax Professionals including CPAs, enrolled agents, and R&D credit specialists help businesses navigate the complex rules. Given the increased documentation requirements and audit risk, professional guidance is particularly valuable for maximizing benefits while maintaining compliance.

FAQs

Can I claim R&D tax benefits if my business isn’t profitable?
Yes. Pre-profit businesses can apply up to $500,000 annually in R&D credits against payroll taxes if they have gross receipts under $5 million and less than five years of revenue history.

Do I have to choose between the deduction and the credit?
No. You can claim both, but Section 280C requires coordination. You must either reduce your deduction by the credit amount or take a reduced credit equal to 79% of the full credit.

Are software development costs automatically R&D expenses?
Yes. Under Section 174, all software development costs are treated as R&D expenditures regardless of whether the software is for internal use or sale to customers.

Can startups claim the R&D credit against payroll taxes?
Yes. Qualified small businesses meeting gross receipts and history tests can elect to offset employer FICA taxes instead of income taxes, providing immediate cash benefit.

What happens to my 2022-2024 capitalized R&D costs under the new law?
Options exist. Large businesses can deduct remaining amounts in 2025 or split between 2025-2026. Small businesses with under $31 million in receipts can amend prior returns for full deduction.

Does foreign R&D qualify for the tax credit?
No. Research conducted outside the U.S., Puerto Rico, or U.S. possessions does not qualify for the Section 41 credit and must be amortized over 15 years under Section 174.

What records do I need to support an R&D claim?
Contemporaneous documentation. Project notes, lab results, time tracking, and technical meeting minutes created during research carry far more weight than records reconstructed later.

Can I claim R&D benefits for failed research projects?
Yes. Research does not have to succeed to qualify. Expenses related to projects that do not achieve their intended result still meet the criteria if they passed the four-part test.

How long can I carry forward unused R&D credits?
20 years. Credits that exceed current-year tax liability can be carried forward for up to 20 years or carried back one year under Section 41.

Is market research considered R&D for tax purposes?
No. Market research, consumer surveys, and competitive analysis do not qualify because they rely on social sciences rather than engineering, computer science, or physical sciences.