Title 26 › Subtitle F — Procedure and Administration › CHAPTER 78 — DISCOVERY OF LIABILITY AND ENFORCEMENT OF TITLE › Subchapter A — Examination and Inspection › § 7612
The rule stops the IRS from forcing anyone to turn over tax-related computer source code or from starting court action to make them hand it over, except in limited situations. The IRS can ask for source code only if it cannot check a return any other way, it names the exact part of the code it needs, and it decides the need is greater than the risk of revealing trade secrets. The IRS also meets those rules if it says it cannot figure out the issue without the executable code and related data, it formally asks the taxpayer for that code and asks the software owner for the source, and the code or data is not given within 180 days of the request. A taxpayer or owner can ask a court for a hearing in any case where the IRS seeks to enforce a summons. Any software or materials given must get special safeguards. Courts may limit who sees the code and keep it under seal. When the IRS gets software for an audit, it can use it only for that audit, related appeals, court cases, or criminal tax investigations. The IRS must give a written list of people who will view it, keep it in a secure place, and not remove source code from the owner’s business unless the owner allows it or a court orders it. Copies may be made only as needed, must be numbered and certified, and must be returned or permanently deleted at the end. The code cannot be decompiled. Non-government analysts must sign a written agreement not to disclose the software and not to work for 2 years on similar software. Software treated as return information under section 6103. Definitions: Software — source code and executable code. Computer software source code — human-readable program code and related notes and customer messages. Computer software executable code — machine-readable code and user manuals. Owner — includes the developer. Related person — treated as related under sections 267 or 707(b). Tax-related computer software source code — code for programs made for accounting, tax return prep or compliance, or tax planning.
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
Sep 22, 2026
Release point: 119-110