Tech debt: CapEx or OpEx? IRC §174 implications
The tax treatment of engineering work changed twice in four years. From 2022 the Tax Cuts and Jobs Act made US companies capitalize and amortize research and software-development costs. From 2025 Public Law 119-21 restored an immediate deduction for domestic research and software development through a new IRC §174A. Foreign research is still amortized. Here is what applies now and what it means for funding tech debt work.
The 90-Second Answer
For taxable years beginning after 31 December 2024, IRC §174A lets US companies deduct domestic research or experimental expenditures in the year they are paid or incurred, and it treats software development costs as research or experimental expenditures. Foreign research is still amortized over 15 years under §174. Domestic amounts capitalized in 2022-2024 can be deducted in full in the first 2025 tax year or over two years. So for most US engineering teams, tech debt work is a current-year deduction again; the open questions are where the work is done and whether it counts as software development, which is a matter for tax counsel.
The Timeline
Three regimes since 1954
Sources: Public Law 119-21 §70302 (4 July 2025) and the IRS procedures for it in Rev. Proc. 2025-28, which also summarises the TCJA §174 rules it replaces.
The 2022 to 2024 regime is what most of the “R&D capitalization” commentary on tech debt funding was written about. Under it, a $10M engineering payroll spend that would once have produced a $10M deduction in year one produced a $1M deduction in year one (half a year of a five-year schedule) and $2M a year after that. For domestic work in taxable years from 2025 that timing cost is gone.
The Transition
What happens to 2022-2024 amounts still being amortized
Domestic research or experimental expenditures capitalized under the TCJA rules in taxable years 2022 to 2024 can, by election, be deducted in full in the first taxable year beginning after 31 December 2024, or ratably over the two years starting with that year. A taxpayer that makes neither election keeps amortizing on the original schedule.
Small business taxpayers (those meeting the section 448(c) gross receipts test, which for a taxable year beginning in 2025 means average annual gross receipts over the prior three years of $31 million or less) can instead elect to apply the new rules retroactively to taxable years beginning after 31 December 2021. Rev. Proc. 2025-28 sets out the procedures and deadlines.
The Scope Question
Does tech debt work count?
Section 174A(d)(3) treats any amount paid or incurred in connection with the development of software as a research or experimental expenditure, as the TCJA version of §174 did. Refactoring and re-architecture that develops software is likely to fall inside that language; routine maintenance and support may not. Where the line falls for a particular programme is a judgement for the company's tax advisers.
Since 2025 the scope question matters less for domestic work than it did, because routine expenses outside §174A are generally deductible in the year incurred too. It still matters for work performed outside the US, which stays on a 15-year schedule when it is research or experimental, and for the research credit, which has its own tests.
The GAAP-Tax Distinction
Why financial statements and tax returns disagree
GAAP financial reporting and tax accounting are separate systems with different rules. GAAP treatment of software development is governed by ASC 350-40 (internal-use software, which generally requires capitalization of certain development costs once the preliminary project stage is complete) and ASC 985-20 (software to be sold, leased or marketed, with capitalization tied to technological feasibility). These rules are independent of §174 and §174A.
For tech-debt remediation, a common pattern is that the work is expensed under GAAP because it maintains or improves an existing system rather than creating a new capitalizable asset. Under the 2022 to 2024 tax rules the same work was capitalized for tax where it counted as software development, which created a deferred tax asset. From 2025, domestic work deducted under §174A generally lines up with GAAP expensing, so that difference no longer arises for new spend. Foreign work and elective amortization can still create one.
The CFO Calculation
What changes in the tech-debt funding decision
Between 2022 and 2024 a CFO weighing a tech-debt initiative had to account for the cash-tax cost of deferring the deduction over five years. For domestic work from 2025 that adjustment drops out, and the decision is back to the operational case: what the work costs, what capacity it recovers and how fast. That case is covered on the CFO pitch page and the ROI page.
Two cases still need tax input. A team with significant engineering outside the US faces 15-year amortization on that share of the work. And a company with 2022 to 2024 amounts still on the books has a one-off choice about how fast to deduct them, which can change the cash-tax picture in the year a remediation programme is funded.
Cross-Reference
CapEx vs OpEx in the financial-framework stack
CapEx vs OpEx is one of four financial-framework treatments. The companion pages: debt service ratio (borrowing the consumer-credit metaphor), technical insolvency (the velocity-to-zero inflection point), and enterprise value at exit (the M&A and IPO valuation impact). For the stakeholder framing that uses the §174 treatment most directly, see the CFO pitch and the public company stage page.
The COGS-vs-opex GAAP question covered on the COGS page is related but separate. COGS classification is a GAAP financial-reporting decision; §174 is a tax accounting decision. The two can apply to the same expenditure independently.
Field Notes
Frequently asked questions
Is tech debt remediation work deductible immediately under US tax law?+
For domestic work, generally yes again. Public Law 119-21 (signed 4 July 2025) added IRC §174A, which allows an immediate deduction for domestic research or experimental expenditures paid or incurred in taxable years beginning after 31 December 2024, and treats amounts paid or incurred in connection with developing software as research or experimental expenditures. Whether a given piece of refactoring counts is a scope question for tax counsel.
What happened between 2022 and 2024?+
The Tax Cuts and Jobs Act of 2017 changed §174 from the 2022 tax year: research or experimental expenditures, including software development, had to be capitalized and amortized over 5 years for domestic research and 15 years for foreign research, starting from the midpoint of the year incurred. That regime applied to taxable years beginning in 2022, 2023 and 2024.
What about domestic R&D still being amortized from 2022-2024?+
Public Law 119-21 lets a taxpayer deduct the remaining unamortized amount in full in the first taxable year beginning after 31 December 2024, or spread it over two years. Eligible small businesses (average annual gross receipts at or under the section 448(c) threshold, $31 million for taxable years beginning in 2025) can instead elect to apply the new rules retroactively to 2022-2024. IRS procedures are in Rev. Proc. 2025-28.
Is foreign R&D still amortized?+
Yes. Research or experimental expenditures attributable to foreign research stay under §174 and are amortized over 15 years from the midpoint of the year incurred. For a team with engineers outside the US, where the work is performed changes the tax timing.
Can a company still choose to amortize domestic R&D?+
Yes. Section 174A(c) allows an election to capitalize domestic research or experimental expenditures and amortize them over not less than 60 months, starting in the month the taxpayer first realizes benefits from them. It is a choice, not the default.
Does the tax treatment affect GAAP accounting?+
No. GAAP and tax are separate. GAAP treatment of software development is governed by ASC 350-40 (internal-use software) and ASC 985-20 (software to be sold, leased or marketed), each with its own capitalization rules. Where tax and GAAP timing differ, the difference shows up as a deferred tax position.
Adjacent Reading