For three painful tax years — 2022, 2023, and 2024 — software companies, engineering firms, and product manufacturers were forced to capitalize every dollar of domestic research spending and amortize it over five years. A bootstrapped SaaS startup burning $1.2 million on engineering salaries could deduct only $120,000 in year one, even though the cash was already gone. That mismatch between taxable income and economic reality pushed thousands of profitable-on-paper but cash-poor companies into surprise tax bills.
The One Big Beautiful Bill Act (OBBBA), enacted in July 2025, finally fixed the mess. Starting in tax year 2026, domestic research and experimental expenditures are once again fully deductible in the year they are incurred — and qualifying businesses can stack that immediate deduction on top of a Section 41 research credit worth up to 14% of incremental qualified research expenses. For early-stage companies with no income tax liability, that same credit can be applied against up to $500,000 of payroll taxes per year.
This guide walks through the post-OBBBA rules, the four-part test that qualifies an activity for the credit, the two calculation methods (Regular Credit and Alternative Simplified Credit), the Section 280C election that prevents double-dipping, and the documentation a business needs to defend its claim under audit.
What Changed in 2026: Section 174A and the End of Mandatory Amortization
The Tax Cuts and Jobs Act of 2017 contained a delayed-fuse provision that took effect in 2022: research and experimental (R&E) expenditures under Internal Revenue Code Section 174 had to be capitalized and amortized over five years for domestic activity and 15 years for foreign activity. The deduction every founder and CFO had relied on for decades — write it off as you spend it — disappeared overnight.
OBBBA restored immediate expensing for domestic research through new Section 174A. Here is what the new landscape looks like:
- Domestic R&E (US-based research): Fully deductible in the year incurred for tax years beginning after December 31, 2024.
- Foreign R&E: Still must be capitalized and amortized over 15 years.
- Previously capitalized amounts (2022–2024): Companies can either continue amortizing on the original five-year schedule, deduct the entire remaining balance in 2025, or spread the catch-up evenly across 2025 and 2026.
- Small business retroactive relief: Businesses with average annual gross receipts under $31 million can amend tax years 2022 through 2024 to fully expense previously capitalized amounts. The election deadline is July 6, 2026 — a hard cliff that small-business CFOs should not miss.
For most domestic-only companies, this means 2026 returns look like 2021 returns: salaries, contractor payments, cloud computing for R&D, and supplies all flow straight to the deduction column. Foreign R&E, however, retains its disadvantage, which creates a planning incentive to keep qualifying research onshore.
The Section 41 R&D Tax Credit: Stacking on Top of the Deduction
The deduction and the credit are two different things, and you can claim both on the same dollar (subject to the Section 280C coordination rule discussed below). Section 41 — the Credit for Increasing Research Activities — rewards businesses that grow their research spending year over year. It applies whether you are a Delaware C-corporation, an LLC taxed as a partnership, or a sole proprietor with a side engineering practice.
The credit is a dollar-for-dollar reduction of federal income tax liability. For profitable companies, that is more valuable than a deduction. A $100,000 credit cuts $100,000 from the tax bill. A $100,000 deduction at a 21% corporate rate cuts only $21,000.
The Four-Part Test for Qualified Research Activities
Not every engineering hour qualifies. Section 41(d) and the underlying Treasury regulations require each business component — each product, process, software application, technique, or formula — to satisfy all four of the following tests simultaneously.
1. Permitted Purpose. The activity must relate to developing or improving the functionality, performance, reliability, or quality of a business component. Aesthetic improvements, cosmetic redesigns, and style changes do not qualify. Building a faster query planner qualifies. Repainting the office lobby does not.
2. Elimination of Uncertainty. At the start of the project, the company must face genuine technological uncertainty about whether the result can be achieved, how to achieve it, or which design will work. If the path forward is well-documented in textbooks or industry practice, there is no uncertainty to eliminate. Building a novel zero-knowledge proof system involves uncertainty. Configuring an off-the-shelf CRM does not.
3. Process of Experimentation. The company must evaluate alternatives through a systematic process — modeling, simulation, prototyping, controlled testing, or trial and refinement. Documentation should show that hypotheses were formed, alternatives identified, experiments designed, and results recorded. Random tinkering without recorded methodology fails this prong.
4. Technological in Nature. The process of experimentation must rely on hard sciences — engineering, physics, computer science, biology, chemistry. Activities grounded in social sciences, economics, or business judgment do not qualify, even if they involve experimentation.
The test is applied per business component, not enterprise-wide. A startup might have ten projects in flight, with five passing all four prongs, three failing on permitted purpose, and two failing on uncertainty. Only the five qualifying components produce qualified research expenses (QREs).
What Counts as a Qualified Research Expense (QRE)
Three categories of spending feed into the QRE pool:
- W-2 wages paid to employees performing qualified research, directly supervising it, or directly supporting it (think engineering managers and QA testers, not HR generalists).
- Supplies consumed during research, including prototype materials and cloud computing resources used for development and testing.
- Contract research, deductible at 65% of the amount paid to outside contractors (or 75% for payments to qualified research consortia).
What does not count: capital expenditures depreciated over multiple years, general administrative overhead, market research, foreign-located work, and routine quality control after commercial production begins.
Calculating the Credit: Regular Method vs. Alternative Simplified Credit
Section 41 offers two computational paths. Most modern claimants choose the Alternative Simplified Credit (ASC) because it does not require dredging up gross receipts data from the mid-1980s.
The Regular Credit Method
The Regular Credit equals 20% of current-year QREs in excess of a base amount. The base amount is the product of a fixed-base percentage and average annual gross receipts from the four preceding years. The fixed-base percentage reflects the historical ratio of QREs to gross receipts during 1984–1988 (or, for "start-up companies" under the statute, a phased-in percentage).
The Regular Credit can produce a larger credit when a company's research-to-revenue ratio has grown dramatically. But the historical data requirements are brutal, and most calculations end up using the ASC anyway.
The Alternative Simplified Credit (ASC)
The ASC equals 14% of current-year QREs that exceed 50% of the average QREs from the three preceding tax years. If the company has no QREs in any of the three preceding years, the ASC rate drops to 6% of current-year QREs.
Worked example. A SaaS company has these QREs:
- 2023: $800,000
- 2024: $1,000,000
- 2025: $1,200,000
- 2026: $1,800,000
Average prior-three-year QREs = ($800K + $1M + $1.2M) / 3 = $1,000,000. Half of that = $500,000. Current-year QREs minus that base = $1,800,000 − $500,000 = $1,300,000. ASC credit = 14% × $1,300,000 = $182,000.
That $182,000 either reduces federal income tax dollar-for-dollar (if the company has tax liability) or — for qualified small businesses electing the payroll tax offset — reduces payroll tax obligations.
The Section 280C(c) Election: Avoiding the Add-Back
Federal tax law forbids "double-dipping" the same expense as both a deduction and a credit. Without the Section 280C(c) election, a company claiming the R&D credit must add the credit amount back to taxable income. For a corporation at the 21% federal rate, a $100,000 credit triggers a $21,000 income add-back, with a net federal benefit of $79,000.
The Section 280C(c)(2) election lets the taxpayer take a reduced credit equal to roughly 79% of the gross credit (the gross credit minus a haircut equal to the top corporate rate of 21%). In exchange, the full R&D deduction is preserved and there is no add-back.
At the 21% corporate rate, the two paths produce roughly identical net federal tax. So why bother electing? Three reasons:
- Cleaner book-tax reconciliation. No M-1 or M-3 add-back to track.
- State conformity. Some states do not follow Section 280C, so the reduced-credit election can avoid distortions in state taxable income.
- NOL preservation. Companies with net operating losses gain no benefit from a deduction add-back, but they still want the credit (especially if it can be applied against payroll taxes or carried forward).
The election must be made on a timely-filed original return on Form 6765, including extensions. Amended returns generally cannot be used to add a Section 280C election after the fact. Under OBBBA, small businesses making the retroactive Section 174A election for 2022–2024 also get a one-time opportunity to make or revoke a late Section 280C(c)(2) election — but only through July 6, 2026.
The Payroll Tax Offset: $500,000 for Qualified Small Businesses
A pre-revenue or barely-profitable startup with no federal income tax liability used to get nothing from the R&D credit except a carryforward to some hypothetical future. Section 41(h), enacted by the PATH Act in 2015 and expanded by the Inflation Reduction Act in 2022, changed that.
A Qualified Small Business (QSB) can elect to apply up to $500,000 of its R&D credit per year against payroll taxes — specifically the employer's share of Social Security tax (6.2%) and, since 2023, the employer's share of Medicare tax (1.45%). The election turns a future-tax-credit into present-day cash.
Who Qualifies as a QSB
A business qualifies as a QSB for the payroll tax offset election if it meets both:
- Gross receipts under $5 million in the current tax year, and
- No gross receipts for any tax year more than five years before the current year (essentially, a young company).
A 2026 election requires the company to have first generated revenue no earlier than 2022. A company founded in 2015 with low revenue ramp does not qualify — the five-year "no prior receipts" clock has run out.
How the Election Works
The QSB makes the election on Form 6765 attached to the original income tax return for the year. The credit can then be claimed against payroll tax on Form 8974, filed quarterly with Form 941 starting in the first quarter that begins after the income tax return is filed.
The cash impact is real: a calendar-year QSB filing its 2026 income tax return on April 15, 2027, with a $500,000 election can begin offsetting payroll taxes on the Form 941 covering Q2 2027 (April through June). At a typical engineering payroll, that is roughly $40,000 to $60,000 in monthly payroll tax savings until the credit is exhausted.
OBBBA's Form 6765 Section G Relief for QSBs
Form 6765 was overhauled for the 2024 tax year to add Section G — a granular, business-component-level disclosure that requires identifying each component, summarizing the information sought to be discovered, listing key expense categories, and reconciling QREs by component. Section G can take dozens of hours to prepare for companies with many projects.
OBBBA exempted qualified small businesses electing the payroll tax offset from the mandatory Section G reporting starting in 2026. The relief lowers compliance friction for the very startups most likely to use the payroll offset.
Documentation: The Make-or-Break Audit Defense
The IRS treats R&D credit claims as high-audit-risk. The four-part test is the legal hurdle; documentation is the practical one. Contemporaneous records — created as the work happens — almost always win at audit. Retroactive reconstruction almost always loses.
What contemporaneous documentation looks like:
- Project lists maintained throughout the year identifying business components, project objectives, and the technical uncertainties being investigated.
- Time tracking that allocates engineer hours to specific projects, with enough granularity to separate qualified from non-qualified activities (a bug fix to existing functionality is rarely qualified; novel architectural work usually is).
- Technical artifacts: design documents, architecture decision records, experiment logs, prototype source code commits, test results, and post-mortems.
- Vendor invoices for contract research with descriptions tying the work to specific business components and noting the contractor relationship terms (Section 41 requires that the taxpayer bear the economic risk and retain rights to the research).
- Payroll records segregating qualifying employees and their wage allocations.
The single most common audit failure is wage allocation that cannot be supported by any underlying record. A spreadsheet asserting "60% of CTO time qualifies" with no time tracking, no project list, and no calendar entries to back it up will be disallowed.
Bookkeeping Discipline That Makes the Credit Easier to Claim
Companies that capture the credit cleanly are companies that built the accounting hooks before tax season. A few practices that pay back many times over:
- Tag payroll by project from day one. Whether through job-costing in your accounting system or by exporting time-tracking data, make sure each engineering hour has a project code.
- Separate cloud computing for R&D from production hosting. AWS, GCP, and Azure spending used for development, integration testing, and staging environments is QRE-eligible. Production hosting is not. A separate billing account or tag per environment makes the split easy at year-end.
- Track contractor payments by statement of work. When the same firm provides both R&D and non-R&D work (for example, both feature development and SOC 2 compliance support), break the invoices apart in your books.
- Maintain a project register. A simple spreadsheet linking each engineering project to a business component name, start date, technical uncertainty, and expected outcomes provides the spine of the four-part-test documentation.
- Reconcile QREs monthly, not annually. Spotting a missed allocation in March is fixable. Discovering it in October when you are preparing Form 6765 is not.
Plain-text accounting systems make this categorization especially tractable because every transaction is a structured, queryable, version-controlled record. Auditors who request a breakdown of "all 2026 wages allocated to Project X" can be served a deterministic answer rather than a spreadsheet someone built last week.
Common Mistakes That Disqualify Otherwise Valid Claims
- Claiming foreign contractor work. Section 41 qualified research must be performed in the United States or Puerto Rico. Hiring a development shop in Eastern Europe creates Section 174 amortizable expense but zero Section 41 credit.
- Including funded research. If a customer pays for the development (a fixed-fee custom build for a specific buyer, or a federal grant that funds the work), the expense is "funded" and disqualified under Section 41(d)(4)(H).
- Failing the "retain substantial rights" test on contract research. If the contractor retains the IP, the research is not the taxpayer's to claim.
- Forgetting the Section 280C election on a timely return. The election cannot be added by amendment in most cases. Set a recurring reminder for the return-filing date.
- Mixing routine maintenance into QREs. Routine bug fixes, version upgrades, and standard configuration changes do not involve technological uncertainty and do not qualify.
- Missing the July 6, 2026 OBBBA deadline. Small businesses that capitalized 2022–2024 R&E expenses have one last chance to amend and recover refunds.
Coordinating the Credit With Other Tax Strategies
R&D planning rarely lives in isolation. A few coordination points to keep in mind:
- Section 174A expensing + Section 41 credit. With OBBBA restoring immediate domestic expensing, profitable companies get both the deduction and the credit on the same QREs (subject to Section 280C add-back or reduced-credit election).
- Net operating losses. R&D-heavy startups often generate NOLs. Under post-TCJA rules, NOLs offset only 80% of taxable income, so the R&D credit retains independent value even when NOLs are available.
- Payroll tax offset + qualified business income (QBI) deduction. Pass-through entities electing the payroll offset still flow their reduced credit to owners via Schedule K-1, where coordination with the Section 199A deduction can affect the optimal allocation.
- State R&D credits. Most states offer their own version of the credit, with varying conformity to federal rules. California, Texas, New York, and Massachusetts have particularly valuable programs. Track state QREs in parallel with federal.
Keep Your Research Records Audit-Ready From Day One
The R&D credit rewards companies that can prove what they built, who built it, and why it was technologically uncertain — and the proof has to exist in real time, not in a tax-season scramble. Beancount.io provides plain-text accounting that lets you tag every payroll entry, contractor invoice, and cloud bill by project, then query the resulting ledger as a structured dataset when Form 6765 season arrives. No black boxes, no vendor lock-in, no lost history. Get started for free and see why developer-led finance teams prefer plain-text accounting for the kind of fine-grained categorization that R&D credits demand. For technical setup walkthroughs, see the documentation, and for dashboard visualizations of QRE trends, explore Fava.