Custom Software and the R&D Tax Credit

Custom Software and the R&D Tax Credit

Custom Software and the R&D Tax Credit

Custom Software and the R&D Tax Credit

Yes, custom software work with OneSeven Tech may qualify for the federal R&D tax credit when the project meets the four-part test, the contract terms, and the recordkeeping rules. This guide explains what those tests require, how contract research costs are counted, and why your CPA should review the claim before you file.

Yes, custom software work with OneSeven Tech may qualify for the federal R&D tax credit when the project meets the four-part test, the contract terms, and the recordkeeping rules. This guide explains what those tests require, how contract research costs are counted, and why your CPA should review the claim before you file.

Yes, custom software work with OneSeven Tech may qualify for the federal R&D tax credit when the project meets the four-part test, the contract terms, and the recordkeeping rules. This guide explains what those tests require, how contract research costs are counted, and why your CPA should review the claim before you file.

James Sullivan

James Sullivan

·

·

Updated

Hiring a developer or paying a software invoice does not establish eligibility by itself.
Executive desk with open ledger, abstract AI panel, and stacked coins

Yes. Custom software development, including work with OneSeven Tech, may qualify for the federal R&D tax credit when the activities, expenses, and contract arrangements meet the requirements. Hiring a developer or paying a software invoice does not establish eligibility by itself.

The useful question is what technical work the project requires. Are you resolving uncertainty about how a system can function, or configuring a product that already provides the answer?

The IRS instructions for Form 6765 explain the research-credit requirements. The credit is based on qualifying research, not the label “AI,” the size of the development budget, or whether the finished software becomes an asset.

This article walks through that test, then shows hypothetical federal tax math for three custom software builds at larger, established companies: $400,000, $1 million, and $2.5 million. The figures are worked examples, not client results. Talk to your CPA before you rely on any credit or deduction.

Apply the four-part test to the actual work

A project qualifies only if the actual work meets all four parts of the Section 41 test: permitted purpose, technological in nature, technical uncertainty, and a process of experimentation.

Qualifying costs must meet the applicable research-expenditure requirements. Section 41’s four-part test can be summarized as follows:

Requirement

What it means for a software project

Permitted purpose

The work seeks to improve function, performance, reliability, or quality of a business component, such as a software system or a qualifying part of it.

Technological in nature

The work relies on principles such as computer science or engineering, rather than customer preferences or a management study.

Technical uncertainty

At the outset, available information does not establish the capability, method, or appropriate design needed to develop or improve the component.

Process of experimentation

The team evaluates alternatives to resolve that uncertainty through an organized process, such as modeling, simulation, or systematic trial and error.

The tests apply to individual business components, not automatically to an entire engagement. The rules also require substantially all the relevant research activities to constitute elements of a qualifying experimentation process. Exclusions still apply.

Consider a hypothetical integration project. Installing a standard connector and mapping fields does not become qualified research because the systems are new to your company. But developing and testing alternative synchronization designs to resolve uncertain technical behavior could merit a closer review.

The software examples in the federal research-credit regulations draw this distinction. Selecting commercial software, routine configuration, and ordinary quality-control testing are different from experimenting to resolve technical uncertainty.

An AI project follows the same principle. Uncertainty about whether employees will like a tool is not the same as uncertainty about its technical design.

Internal-use software has additional rules

Software developed primarily for general and administrative functions, such as financial management, human resources, and support services, generally faces an additional high threshold of innovation test unless an exception applies.

That test requires:

  • Innovation: a substantial and economically significant cost reduction, speed improvement, or other measurable improvement.

  • Significant economic risk: substantial resources committed while technical uncertainty creates substantial doubt about recovering them within a reasonable period.

  • Commercial unavailability: the software cannot be purchased, leased, or licensed for its intended use without modifications that meet the innovation and risk requirements.

Not every system used inside a company is classified as internal-use software. Certain customer-interaction software and production or research uses can receive different treatment. Mixed internal and third-party functionality needs its own analysis.

Classify the intended use at the beginning of development. A useful internal application is not automatically eligible, but internal use does not automatically disqualify it either.

Contract research: understand the 65% rule

Generally only 65% of qualifying contract research expenses enter the QRE base, and that is not a 65% tax credit.

Under the contract-research rules, an agreement must precede the research, the research must be performed on the taxpayer’s behalf, and the taxpayer must bear the expense even if the research is unsuccessful. The taxpayer needs substantial rights to use the results, but not necessarily exclusive ownership. Payment contingent on success can change the treatment.

Generally, 65% of qualifying contract research expenses enters the qualified research expense calculation. That is not a 65% tax credit. Section 41(b)(3) sets this inclusion percentage. Different percentages can apply to payments to certain research consortia or for certain energy research.

For example, if $100,000 of contract costs meets the applicable requirements, the general inclusion rule produces $65,000 of qualified research expenses. The credit is then calculated separately using the applicable method, company history, and other rules. This illustrative calculation does not produce a $65,000 refund.

A mixed invoice needs allocation. Qualified research, routine implementation, training, and ongoing support should not all be treated as the same activity. Where the work is performed matters too: the federal credit excludes research outside the United States, Puerto Rico, and other U.S. possessions. A U.S. invoice address does not establish where developers or subcontractors worked. Grants and other funding arrangements can also limit eligibility.

Which costs need review?

Section 41(b) limits qualified research expenses (QREs) to defined categories:

  • Wages for employees performing qualified research, or providing direct supervision or direct support of that research.

  • Supplies, meaning tangible property used in qualified research, not land and not depreciable property.

  • Computer rental: amounts paid to another person for the right to use computers in the conduct of qualified research. The Form 6765 instructions add that the computers must be located off your premises, and you must not be the operator or primary user.

  • Contract research, generally counted at 65% of the qualifying amount, as described above.

Cloud services, model APIs, software licenses, datasets, and general overhead are not automatically qualified expenses because an AI project uses them. Some development-hosting costs may fit the computer-rental category. Many do not. Keep these operating costs in the project budget, then have your tax adviser determine whether any particular expense belongs in the credit calculation.

How the federal credit is calculated

A deduction reduces taxable income. A credit reduces tax liability, subject to eligibility and limits. Neither means the government pays the entire development bill.

There is no universal six-cent return on every dollar paid to a development partner. The usable benefit depends on qualifying expenses, the calculation, the taxpayer’s circumstances, and timing.

Most of the worked examples below use the alternative simplified credit (ASC) in Section 41(c)(4). A taxpayer may instead use the regular credit, which is 20% of QREs over a historical base. Your CPA should compute both methods.

Under the ASC:

  • If you have qualified research expenses in all three prior tax years, the credit is 14% of current-year QREs above 50% of the average QREs for those three years.

  • If you have no QREs in any one of the three prior tax years, the credit is 6% of current-year QREs.

  • If 50% of the three-year average equals or exceeds current-year QREs, the 14% excess is zero. The 6% rule applies only when there were no QREs in any one of those prior years.

The credit is a general business credit. It reduces federal income tax subject to applicable limits. Unused amounts may carry forward.

The Section 174A deduction is separate

For tax years beginning after December 31, 2024, Section 174A generally permits a current deduction for domestic research and experimental expenditures. An election to capitalize and amortize over at least 60 months is available. Amounts paid or incurred in connection with software development are treated as research or experimental expenditures for this purpose. Foreign research expenditures generally remain subject to 15-year amortization under Section 174.

Those deduction rules are broader than the Section 41 research-credit tests. Software costs can receive current deductibility under Section 174A without qualifying for the credit.

This current-deduction treatment comes from a 2025 change in law, P.L. 119-21, section 70302, as explained in the Form 6765 instructions and Rev. Proc. 2025-28.

Section 280C coordinates the deduction and the credit

Section 280C prevents you from stacking a full research deduction and an unreduced credit. Generally, a research credit reduces the related Section 174A deduction or capital account, unless you make a valid reduced-credit election.

The reduced credit equals the tentative credit minus the tentative credit multiplied by the maximum corporate rate in Section 11(b), which is 21%. The Form 6765 instructions therefore multiply the ASC amount by 79% when that election is made. The election must be made on a timely original return, including extensions, and is irrevocable for that year.

At the 21% corporate rate, the reduced-credit election is designed to produce the same net federal result as claiming the full credit and reducing the research deduction by the credit amount. The examples below use the reduced-credit election for that reason. Pass-through owners taxed at different rates can get a different net result. Your CPA should model the election for your situation.

The payroll-tax offset usually does not apply here

A qualified small business may elect to apply a limited amount of the research credit against the employer portion of Social Security tax. Under Section 41(h) and the Form 6765 instructions, that election is available only if gross receipts for the year are less than $5 million and the business had no gross receipts in any tax year before the five-year period ending with the current year. The maximum amount is $500,000.

That offset is usually not available to larger, established companies. The examples below treat the credit as an income-tax credit, not a payroll-tax credit.

Some states also offer their own research credits, with different rates and rules. This article covers only the federal credit.

Hypothetical math for three builds at larger, established companies

The tables below are hypothetical example math, not a client result and not a prediction of your return. They assume:

  • A U.S. C corporation with enough federal income-tax liability to use the credit in the current year.

  • A tax year beginning after December 31, 2024.

  • The project is domestic work that meets the Section 41 tests, including the contract rules, and is not disqualified as funded or foreign research.

  • The company elects the alternative simplified credit and the Section 280C reduced-credit election.

  • The full project cash spend is currently deductible (Section 174A for the development portion, and an ordinary business deduction for training and similar costs).

  • The federal corporate rate is 21%. No state tax is included.

  • Development-hosting costs shown as computer rental are assumed, for illustration only, to meet the computer-rental rules. If they do not, QREs and the credit are lower.

  • “Non-QRE project costs” are items such as training, change management, or routine implementation that stay in the project budget but do not enter the credit calculation.

Two ASC cases are shown:

  • 6% ASC: no QREs in any one of the prior three tax years.

  • 14% ASC: the company has QREs in all three prior years, those years average $200,000 of QREs, and this project is the only current-year QRE. The base is therefore $100,000, and the credit is 14% of QREs above that base.

A company with a larger prior-year research program, or with other current-year QREs, will get a different number. If current-year QREs do not exceed the base, the 14% credit can be zero.

Example 1: a $400,000 custom software build

Project cost

Amount

Amount in QREs

Contract research (development partner)

$300,000

$195,000 (65%)

Internal wages for qualified services

$60,000

$60,000

Computer rental for development (assumed to qualify)

$16,000

$16,000

Supplies

$4,000

$4,000

Training, change management, and other non-QRE costs

$20,000

$0

Total project spend / total QREs

$400,000

$275,000

Federal tax result (hypothetical)

6% ASC

14% ASC, $100,000 base

Tentative credit

$16,500

$24,500

Reduced credit after the 280C election (79%)

$13,035

$19,355

Tax benefit of deducting the $400,000 spend at 21%

$84,000

$84,000

After-tax cost with the deduction only

$316,000

$316,000

After-tax cost with the deduction and the reduced credit

$302,965

$296,645

In this example, the federal credit itself is about $13,000 to $19,000 after the 280C election. That is roughly 3% to 5% of the $400,000 project spend, not 6% or 14% of the invoice. The larger tax effect in the table is the current deduction, which is a separate rule.

Example 2: a $1 million custom software or AI build

Project cost

Amount

Amount in QREs

Contract research (development partner)

$750,000

$487,500 (65%)

Internal wages for qualified services

$152,500

$152,500

Computer rental for development (assumed to qualify)

$40,000

$40,000

Supplies

$10,000

$10,000

Training, change management, and other non-QRE costs

$47,500

$0

Total project spend / total QREs

$1,000,000

$690,000

Step by step, under the 6% ASC case: $690,000 × 6% = $41,400. After the 280C reduced-credit election, $41,400 × 79% = $32,706.

Under the 14% case: $690,000 minus the $100,000 base = $590,000. $590,000 × 14% = $82,600. After 280C, $82,600 × 79% = $65,254.

Federal tax result (hypothetical)

6% ASC

14% ASC, $100,000 base

Tentative credit

$41,400

$82,600

Reduced credit after the 280C election (79%)

$32,706

$65,254

Tax benefit of deducting the $1,000,000 spend at 21%

$210,000

$210,000

After-tax cost with the deduction only

$790,000

$790,000

After-tax cost with the deduction and the reduced credit

$757,294

$724,746

Example 3: a $2.5 million build at a larger, established company

Project cost

Amount

Amount in QREs

Contract research (development partner)

$1,875,000

$1,218,750 (65%)

Internal wages for qualified services

$376,250

$376,250

Computer rental for development (assumed to qualify)

$100,000

$100,000

Supplies

$25,000

$25,000

Training, change management, and other non-QRE costs

$123,750

$0

Total project spend / total QREs

$2,500,000

$1,720,000

Federal tax result (hypothetical)

6% ASC

14% ASC, $100,000 base

Tentative credit

$103,200

$226,800

Reduced credit after the 280C election (79%)

$81,528

$179,172

Tax benefit of deducting the $2,500,000 spend at 21%

$525,000

$525,000

After-tax cost with the deduction only

$1,975,000

$1,975,000

After-tax cost with the deduction and the reduced credit

$1,893,472

$1,795,828

Across these examples, the reduced federal credit ranges from about $13,000 on a $400,000 build to about $179,000 on a $2.5 million build, depending on the company’s QRE history. The credit is real when the work, the contract, and the records support it. It is not a flat rebate on the development invoice.

If a larger share of the work is routine implementation, or if contract research is counted at 65% and in-house wages are smaller than shown, QREs fall and the credit falls with them. If development-hosting costs do not meet the computer-rental rules, remove those amounts from QREs before you do the multiplication.

Keep records while the work happens

Keep a record of the technical work as it develops, rather than relying on a general project summary at tax time:

  • The business component and improvement being pursued.

  • The technical uncertainty identified at the outset.

  • Alternatives considered, tests performed, and results.

  • Who performed the work, where they worked, and the related cost allocation.

  • Contracts, invoices, and evidence of rights and financial risk.

  • Which activities were research and which were implementation or ongoing operation.

Development tickets, design documents, test results, and financial records should tell a consistent story. An invoice labeled “custom AI development” is not enough on its own.

For tax years beginning after 2025, many filers will also need to report business-component detail on Form 6765. That is another reason to document the work as it happens.

Common questions

Does the project have to succeed?

No. Success is not required for research to qualify. The activities and expenses must still meet the rules, including the contract conditions where another company performs the work.

Does a smaller project qualify?

Project size does not answer the eligibility question. A focused $50,000 or $100,000 project can be evaluated against the same activity, expense, and contract requirements. A larger budget does not make routine implementation qualified research.

Does buying software mean there are no tax advantages?

No. Purchased software and subscriptions can have deductions or other tax treatment under the applicable rules. The research credit is a separate question about qualifying activities and expenses, not a blanket advantage attached to building instead of buying.

For the delivery decision, see our guide to building versus buying AI software.

Is the credit 6% of whatever we pay a development partner?

No. Six percent is one ASC rate, and it applies to qualified research expenses, not automatically to the full invoice. Contract research generally enters that expense base at 65%. The 14% ASC rate applies only to QREs above a lookback base, and only when the company has QREs in all three prior years. After the Section 280C election commonly used by C corporations, the credit actually used is 79% of that tentative amount.

Plan the project and the tax review together

Decide whether the software makes operational and financial sense before assuming a credit. Bring your CPA into the planning early enough to review the scope, contract, work locations, and recordkeeping, then have them assess the claim before filing.

OneSeven Tech can help you scope the technical work, document the alternatives tested, and structure an engagement in which you pay for the work and retain rights to use the results. Those are the kinds of facts the contract-research rules examine. They do not, by themselves, create a credit. Your tax adviser has to review eligibility for your situation.

Then plan the full software investment, including operation after launch.

This article is general information, not tax advice. Eligibility depends on the specific work, contract terms, location of the work, and your tax situation. Consult a qualified tax professional before relying on any credit or deduction.

If you are considering custom software, Book a Call to discuss the workflow, technical scope, and delivery budget with OneSeven Tech.

Keep reading

Ready to reduce OpEx with AI?

At OneSeven Tech our goal is to reduce OpEx with AI and our documented client returns range from 4.4x to 126x.

Subscribe to our blog

Get new articles when we publish.