Federal research · Special topics
Internal-use software
Software a company builds for its own back office (finance, HR, support services) can qualify for the research credit, but only if it clears a high threshold of innovation on top of the four-part test. The 2016 regulations narrowed what counts as internal-use, added rules for software used both internally and by customers, and created exceptions. This page explains the definitions, the dual-function rules and 25% safe harbor, the three-part innovation test, and the exceptions.
At a glance
- Internal-use defined
- Software developed for use in general and administrative functions: financial management, human resources management and support services [2]
- Not internal-use
- Software to be sold, leased, licensed or marketed, or software that lets third parties interact with or initiate functions on the taxpayer's system [2]
- High threshold of innovation
- Innovative (substantial, economically significant measurable improvement), significant economic risk, and not commercially available [2]
- Dual function
- Presumed internal-use; a third-party subset escapes the presumption; otherwise 25% of QREs if third-party use is reasonably anticipated to be at least 10% [2]
- Exceptions
- Software used in qualified research, software used in a qualifying production process, and integral hardware-software packages used to provide services [2]
- Determined when
- By intent and facts at the beginning of development [2]
The rule, explained
Congress excluded internal-use software from the credit except as regulations allow, and the regulations in effect since 2016 allow it on strict terms. Software is internal-use only if it is developed for general and administrative functions: financial management, human resources, and support services such as data processing, facilities, marketing, legal and security. Software that runs operations outside those functions is not internal-use.
Software built to be sold, licensed or marketed is not internal-use, and neither is software that lets customers, vendors or other third parties interact with the company or initiate functions on its systems. Online banking, shipment tracking and customer self-service portals fall on that side. Software that does both, such as an ordering system used by customers and by the finance team, is dual function and presumed internal-use. If the company can isolate a third-party subset, that subset escapes the presumption. If it cannot, it may count 25% of the QREs, provided third-party use is reasonably expected to be at least 10% of total use.
Internal-use software that is not excepted must pass the high threshold of innovation test. It must be innovative: if successful, it would deliver a substantial and economically significant measurable improvement in cost, speed or similar metric. It must involve significant economic risk: substantial resources committed with substantial uncertainty, because of technical risk, about recovering them within a reasonable period. And it must not be commercially available without modifications that would themselves be innovative and risky.
Three kinds of software skip the high threshold test: software used in an activity that is itself qualified research, software used in a production process that meets the research requirements, and new or improved hardware-software packages developed together as a single product and used directly to provide services. The classification is made by intent and facts at the beginning of development, and the regulation's rules apply to tax years beginning on or after October 4, 2016.
Statutory and regulatory detail
IRC §41(d)(4)(E) excludes from qualified research, except to the extent provided by regulations, research with respect to computer software developed by or for the benefit of the taxpayer primarily for internal use [1]. Treas. Reg. §1.41-4(c)(6)(i) makes such research eligible only if it satisfies §41(d)(1), is not otherwise excluded under §41(d)(4) (other than (E)), and the software satisfies the high threshold of innovation test. §1.41-4(c)(6)(iii) defines software developed primarily for internal use as software developed for use in general and administrative functions, defined as financial management, human resources management and support services, and treats software developed for a related party's internal use as internal use software [2].
§1.41-4(c)(6)(iv) provides that software developed to be commercially sold, leased, licensed or otherwise marketed, or to enable the taxpayer to interact with third parties or allow third parties to initiate functions or review data on its system, is not developed primarily for internal use. §1.41-4(c)(6)(vi) presumes dual function software to be internal use, removes the presumption for an identified third-party subset, and permits 25 percent of the QREs of remaining dual function software to be included if third-party use is reasonably anticipated to be at least 10 percent of use, measured by an objective, reasonable method in the taxpayer's industry. §1.41-4(c)(6)(v) and (vi)(D) determine classification by intent and facts at the beginning of development [2].
§1.41-4(c)(6)(vii) requires the taxpayer to establish that the software is innovative, that development involves significant economic risk, and that the software is not commercially available; 'substantial uncertainty' requires a higher level of uncertainty and technical risk than for other business components, and implementation of existing technology by itself is not evidence of innovation. §1.41-4(c)(6)(ii) makes the paragraph inapplicable to software used in qualified research, software used in a production process meeting §41(d)(1), and integral hardware-software packages used directly in providing services. Under §1.41-4(e), paragraph (c)(6) applies to taxable years beginning on or after October 4, 2016 [2]. Section G column 49(e) of Form 6765 classifies each software component as internal use, dual function, non-internal-use or excepted [3] [4].
Tax-year applicability
Which years each rule applies to, and the law that set it.
| Tax years | Rule | Authority |
|---|---|---|
| Tax years ending on or after Jan. 20, 2015 and beginning before Oct. 4, 2016 | IRS will not challenge positions consistent with all of the final rule or all of the 2015 proposed rule. | Treas. Reg. §1.41-4(e) [2] |
| Tax years beginning on or after Oct. 4, 2016 | Final internal-use software rules, including dual function and the high threshold of innovation test. | Treas. Reg. §1.41-4(c)(6), (e) [2] |
Worked example
Copperline Health · Regional hospital network, Arizona · illustrative figures, not a real taxpayer.
Copperline built three systems in 2025. The example classifies each under the internal-use rules and applies the dual function safe harbor. Figures are illustrative; each project is assumed to meet the four-part test.
Copperline Health: Internal-use software
- Patient scheduling platform used by patients online and by staff to manage clinic capacity; no separable patient-only module; patient use estimated at 40% of transactions by session logs: QREs $800,000
- Patient results viewer that only lets patients review their lab data: QREs $250,000
- Staff scheduling and payroll optimizer (human resources function), using a new solver that, if successful, would cut overtime cost substantially; no commercial product handles its union rules; outcome uncertain at the start: QREs $600,000
| Step | Item | Amount |
|---|---|---|
| Dual function | Scheduling platform: 25% safe harbor (third-party use ≥ 10%) | $200,000 |
| Not IUS | Results viewer: lets third parties review data | $250,000 |
| IUS, passes | Staff optimizer: innovative, economic risk, not commercially available | $600,000 |
| Total | Software QREs counted | $1,050,000 |
Common preparer mistakes
- Treating all internally used software as internal-use. Only software for general and administrative functions is.
- Treating customer-facing portals as internal-use, which understates the claim.
- Applying the 25% safe harbor without an objective measurement that third-party use is at least 10%.
- Claiming internal-use software without contemporaneous evidence of innovation, economic risk and a market search.
- Classifying software by how it ended up being used rather than by intent at the beginning of development.
IDR and audit red flags
The document requests and questions examiners actually send on this topic, with what weak and strong support look like.
IDR request: For each software business component, state whether it was developed primarily for internal use, as dual function software, or not for internal use, and provide documentation from the start of development supporting the classification.
- Weak support
- Classification decided at year-end by the preparer.
- Strong support
- Project charters and requirements documents from kickoff showing intended users and functions.
IDR request: For each internal use software component, provide documentation establishing that the software was innovative, involved significant economic risk, and was not commercially available, including the measurable improvement anticipated and any evaluation of commercial alternatives.
- Weak support
- A statement that the system was custom-built.
- Strong support
- A business case quantifying the expected improvement, a technical risk assessment at kickoff, and a documented vendor search.
IDR request: For dual function software for which the 25 percent safe harbor was applied, describe the method used to estimate third-party use and provide the underlying data.
- Weak support
- An assertion that customers use the system.
- Strong support
- Usage logs or transaction counts measured by an objective, reasonable industry method, showing at least 10% third-party use.
Bate Levina Meylan and Chua's IDR guides: What an IRS IDR is · How to respond to R&D IDRs · Common R&D IDR requests
Where it shows up on Form 6765
Each section below links to its line-by-line walkthrough.
FAQs
Is an ERP implementation internal-use software?
Yes, enterprise resource planning software used for financial management, inventory and similar functions is used in general and administrative functions. Configuring or implementing a commercial package also rarely passes the high threshold of innovation test, because the software is commercially available and implementation of existing technology is not, by itself, evidence of innovation.
Is software used on the factory floor internal-use?
Not under the 2016 regulations if it is not used in general and administrative functions. In addition, software used in a production process that itself meets the qualified research requirements is excepted from the internal-use rules. Manufacturing execution and process-control software is generally tested under the ordinary four-part test.
How does the 25% safe harbor work?
If dual function software cannot be split into a third-party subset, the taxpayer may include 25% of its QREs, provided the research qualifies apart from the internal-use exclusion and third-party use is reasonably anticipated to be at least 10% of total use. The 10% is measured at the start of development by an objective, reasonable method used in the taxpayer's industry, such as transactions or processing time.
What does 'significant economic risk' mean?
The company commits substantial resources, and because of technical risk there is substantial uncertainty that it will recover them within a reasonable period. The regulation says this requires more uncertainty than for other business components, but not doubt that the result can ever be achieved. The uncertainty must exist when development begins.
Does the internal-use test apply to older years?
The final rules apply to tax years beginning on or after October 4, 2016. For tax years ending on or after January 20, 2015 and beginning before October 4, 2016, the IRS will not challenge positions consistent with all of the final rule or all of the 2015 proposed rule. Earlier years are governed by prior guidance not covered here.
Official sources
Primary authority only. Court opinions are cited only where we read the opinion.
Statute
[1] Statute
26 U.S.C. §41, Credit for increasing research activitiesU.S. Code (Cornell Legal Information Institute)
Accessed November 9, 2026
Treasury regulation
[2] Treasury regulation
Treas. Reg. §1.41-4, Qualified research for expenditures paid or incurred in taxable years ending on or after December 31, 2003Electronic Code of Federal Regulations (eCFR)
Accessed November 9, 2026
IRS forms and instructions
[3] IRS form or instructions
Instructions for Form 6765, Credit for Increasing Research Activities (Rev. December 2025)Internal Revenue Service
Accessed November 9, 2026
[4] IRS form or instructions
Form 6765, Credit for Increasing Research Activities (Rev. December 2024; the instructions call it the January 2025 revision)Internal Revenue Service
Accessed November 9, 2026
Research methodology
- Researched by
- Bate Levina Meylan and Chua Research
- Last verified
- November 9, 2026
- Primary sources checked
- 4
Every rule on this page was read in the Internal Revenue Code, Treasury regulations, the current Forms 6765 and 8974 and their instructions, and the IRS revenue procedures, audit techniques guides and LB&I directives cited. Tax Court opinions were read in full from the court's DAWSON system. Anything we could not confirm is tagged for verification.
Related research
Bate Levina Meylan and Chua audit defense
Internal-use software draws examiner questions.
Bate Levina Meylan and Chua reviews the internal-use and dual function analysis behind a filed claim and the records that support it, so the innovation test and the 25% safe harbor can be shown when examined.
