Title 26 › Subtitle Subtitle F— Procedure and Administration › Chapter 78— DISCOVERY OF LIABILITY AND ENFORCEMENT OF TITLE › Subchapter A— Examination and Inspection › § 7612
The IRS generally cannot demand the source code behind tax software. It can ask for the code only in limited cases, such as when it cannot verify an item on a tax return from the taxpayer's records or from the working version of the software, can name the specific piece of code it needs, and decides that need outweighs the risk of exposing trade secrets. The IRS is also treated as meeting these tests if it formally asks the taxpayer and the software owner for the working code and data and gets nothing within 180 days. The limits do not apply to investigations of tax crimes, to software a taxpayer built mainly for its own use, or to code the law already requires to be turned over. When the IRS does get software, strict safeguards apply. It may use the software only for that taxpayer's examination, appeals, court cases, and related criminal inquiries. It must name everyone who will see the code, keep it in a secure place, limit and number any copies, return or delete everything when done, and never decompile or disassemble it. Outside experts must agree in writing not to disclose the code and not to help build similar software for 2 years. The software is also protected as confidential return information.
Full Legal Text
Internal Revenue Code — Source: USLM XML via OLRC
Legislative History
Reference
Citation
26 U.S.C. § 7612
Title 26 — Internal Revenue Code
Last Updated
Apr 6, 2026
Release point: 119-73