§ 6103. Confidentiality and disclosure of returns and return information

(a) General rule
Returns and return information shall be confidential, and except as authorized by this title—
(1) no officer or employee of the United States,
(2) no officer or employee of any State, any local law enforcement agency receiving information under subsection (i)(7)(A), any local child support enforcement agency, or any local agency administering a program listed in subsection (l)(7)(D) who has or had access to returns or return information under this section or section 6104 (c), and
(3) no other person (or officer or employee thereof) who has or had access to returns or return information under subsection (e)(1)(D)(iii), paragraph (6), (10), (12), (16), (19), (20), or (21) of subsection (l), paragraph (2) or (4)(B) of subsection (m), or subsection (n),
shall disclose any return or return information obtained by him in any manner in connection with his service as such an officer or an employee or otherwise or under the provisions of this section. For purposes of this subsection, the term “officer or employee” includes a former officer or employee.
(b) Definitions
For purposes of this section—
(1) Return
The term “return” means any tax or information return, declaration of estimated tax, or claim for refund required by, or provided for or permitted under, the provisions of this title which is filed with the Secretary by, on behalf of, or with respect to any person, and any amendment or supplement thereto, including supporting schedules, attachments, or lists which are supplemental to, or part of, the return so filed.
(2) Return information
The term “return information” means—
(A) a taxpayer’s identity, the nature, source, or amount of his income, payments, receipts, deductions, exemptions, credits, assets, liabilities, net worth, tax liability, tax withheld, deficiencies, overassessments, or tax payments, whether the taxpayer’s return was, is being, or will be examined or subject to other investigation or processing, or any other data, received by, recorded by, prepared by, furnished to, or collected by the Secretary with respect to a return or with respect to the determination of the existence, or possible existence, of liability (or the amount thereof) of any person under this title for any tax, penalty, interest, fine, forfeiture, or other imposition, or offense,
(B) any part of any written determination or any background file document relating to such written determination (as such terms are defined in section 6110 (b)) which is not open to public inspection under section 6110,
(C) any advance pricing agreement entered into by a taxpayer and the Secretary and any background information related to such agreement or any application for an advance pricing agreement, and
(D) any agreement under section 7121, and any similar agreement, and any background information related to such an agreement or request for such an agreement,
but such term does not include data in a form which cannot be associated with, or otherwise identify, directly or indirectly, a particular taxpayer. Nothing in the preceding sentence, or in any other provision of law, shall be construed to require the disclosure of standards used or to be used for the selection of returns for examination, or data used or to be used for determining such standards, if the Secretary determines that such disclosure will seriously impair assessment, collection, or enforcement under the internal revenue laws.
(3) Taxpayer return information
The term “taxpayer return information” means return information as defined in paragraph (2) which is filed with, or furnished to, the Secretary by or on behalf of the taxpayer to whom such return information relates.
(4) Tax administration
The term “tax administration”—
(A) means—
(i) the administration, management, conduct, direction, and supervision of the execution and application of the internal revenue laws or related statutes (or equivalent laws and statutes of a State) and tax conventions to which the United States is a party, and
(ii) the development and formulation of Federal tax policy relating to existing or proposed internal revenue laws, related statutes, and tax conventions, and
(B) includes assessment, collection, enforcement, litigation, publication, and statistical gathering functions under such laws, statutes, or conventions.
(5) State
(A) In general
The term “State” means—
(i) any of the 50 States, the District of Columbia, the Commonwealth of Puerto Rico, the Virgin Islands, Guam, American Samoa, and the Commonwealth of the Northern Mariana Islands,
(ii) for purposes of subsections (a)(2), (b)(4), (d)(1), (h)(4), and (p), any municipality—
(I) with a population in excess of 250,000 (as determined under the most recent decennial United States census data available),
(II) which imposes a tax on income or wages, and
(III) with which the Secretary (in his sole discretion) has entered into an agreement regarding disclosure, and
(iii) for purposes of subsections (a)(2), (b)(4), (d)(1), (h)(4), and (p), any governmental entity—
(I) which is formed and operated by a qualified group of municipalities, and
(II) with which the Secretary (in his sole discretion) has entered into an agreement regarding disclosure.
(B) Regional income tax agencies
For purposes of subparagraph (A)(iii)—
(i) Qualified group of municipalities The term “qualified group of municipalities” means, with respect to any governmental entity, 2 or more municipalities—
(I) each of which imposes a tax on income or wages,
(II) each of which, under the authority of a State statute, administers the laws relating to the imposition of such taxes through such entity, and
(III) which collectively have a population in excess of 250,000 (as determined under the most recent decennial United States census data available).
(ii) References to State law, etc. For purposes of applying subparagraph (A)(iii) to the subsections referred to in such subparagraph, any reference in such subsections to State law, proceedings, or tax returns shall be treated as references to the law, proceedings, or tax returns, as the case may be, of the municipalities which form and operate the governmental entity referred to in such subparagraph.
(iii) Disclosure to contractors and other agents Notwithstanding any other provision of this section, no return or return information shall be disclosed to any contractor or other agent of a governmental entity referred to in subparagraph (A)(iii) unless such entity, to the satisfaction of the Secretary—
(I) has requirements in effect which require each such contractor or other agent which would have access to returns or return information to provide safeguards (within the meaning of subsection (p)(4)) to protect the confidentiality of such returns or return information,
(II) agrees to conduct an on-site review every 3 years (or a mid-point review in the case of contracts or agreements of less than 3 years in duration) of each contractor or other agent to determine compliance with such requirements,
(III) submits the findings of the most recent review conducted under subclause (II) to the Secretary as part of the report required by subsection (p)(4)(E), and
(IV) certifies to the Secretary for the most recent annual period that such contractor or other agent is in compliance with all such requirements.
The certification required by subclause (IV) shall include the name and address of each contractor and other agent, a description of the contract or agreement with such contractor or other agent, and the duration of such contract or agreement. The requirements of this clause shall not apply to disclosures pursuant to subsection (n) for purposes of Federal tax administration and a rule similar to the rule of subsection (p)(8)(B) shall apply for purposes of this clause.
(6) Taxpayer identity
The term “taxpayer identity” means the name of a person with respect to whom a return is filed, his mailing address, his taxpayer identifying number (as described in section 6109), or a combination thereof.
(7) Inspection
The terms “inspected” and “inspection” mean any examination of a return or return information.
(8) Disclosure
The term “disclosure” means the making known to any person in any manner whatever a return or return information.
(9) Federal agency
The term “Federal agency” means an agency within the meaning of section 551 (1) of title 5, United States Code.
(10) Chief executive officer
The term “chief executive officer” means, with respect to any municipality, any elected official and the chief official (even if not elected) of such municipality.
(11) Terrorist incident, threat, or activity
The term “terrorist incident, threat, or activity” means an incident, threat, or activity involving an act of domestic terrorism (as defined in section 2331 (5) of title 18, United States Code) or international terrorism (as defined in section 2331(1) of such title).
(c) Disclosure of returns and return information to designee of taxpayer
The Secretary may, subject to such requirements and conditions as he may prescribe by regulations, disclose the return of any taxpayer, or return information with respect to such taxpayer, to such person or persons as the taxpayer may designate in a request for or consent to such disclosure, or to any other person at the taxpayer’s request to the extent necessary to comply with a request for information or assistance made by the taxpayer to such other person. However, return information shall not be disclosed to such person or persons if the Secretary determines that such disclosure would seriously impair Federal tax administration.
(d) Disclosure to State tax officials and State and local law enforcement agencies
(1) In general
Returns and return information with respect to taxes imposed by chapters 1, 2, 6, 11, 12, 21, 23, 24, 31, 32, 44, 51, and 52 and subchapter D of chapter 36 shall be open to inspection by, or disclosure to, any State agency, body, or commission, or its legal representative, which is charged under the laws of such State with responsibility for the administration of State tax laws for the purpose of, and only to the extent necessary in, the administration of such laws, including any procedures with respect to locating any person who may be entitled to a refund. Such inspection shall be permitted, or such disclosure made, only upon written request by the head of such agency, body, or commission, and only to the representatives of such agency, body, or commission designated in such written request as the individuals who are to inspect or to receive the returns or return information on behalf of such agency, body, or commission. Such representatives shall not include any individual who is the chief executive officer of such State or who is neither an employee or legal representative of such agency, body, or commission nor a person described in subsection (n). However, such return information shall not be disclosed to the extent that the Secretary determines that such disclosure would identify a confidential informant or seriously impair any civil or criminal tax investigation.
(2) Disclosure to State audit agencies
(A) In general
Any returns or return information obtained under paragraph (1) by any State agency, body, or commission may be open to inspection by, or disclosure to, officers and employees of the State audit agency for the purpose of, and only to the extent necessary in, making an audit of the State agency, body, or commission referred to in paragraph (1).
(B) State audit agency
For purposes of subparagraph (A), the term “State audit agency” means any State agency, body, or commission which is charged under the laws of the State with the responsibility of auditing State revenues and programs.
(3) Exception for reimbursement under section 7624
Nothing in this section shall be construed to prevent the Secretary from disclosing to any State or local law enforcement agency which may receive a payment under section 7624 the amount of the recovered taxes with respect to which such a payment may be made.
(4) Availability and use of death information
(A) In general
No returns or return information may be disclosed under paragraph (1) to any agency, body, or commission of any State (or any legal representative thereof) during any period during which a contract meeting the requirements of subparagraph (B) is not in effect between such State and the Secretary of Health and Human Services.
(B) Contractual requirements
A contract meets the requirements of this subparagraph if—
(i) such contract requires the State to furnish the Secretary of Health and Human Services information concerning individuals with respect to whom death certificates (or equivalent documents maintained by the State or any subdivision thereof) have been officially filed with it, and
(ii) such contract does not include any restriction on the use of information obtained by such Secretary pursuant to such contract, except that such contract may provide that such information is only to be used by the Secretary (or any other Federal agency) for purposes of ensuring that Federal benefits or other payments are not erroneously paid to deceased individuals.
Any information obtained by the Secretary of Health and Human Services under such a contract shall be exempt from disclosure under section 552 of title 5, United States Code, and from the requirements of section 552a of such title 5.
(C) Special exception
The provisions of subparagraph (A) shall not apply to any State which on July 1, 1993, was not, pursuant to a contract, furnishing the Secretary of Health and Human Services information concerning individuals with respect to whom death certificates (or equivalent documents maintained by the State or any subdivision thereof) have been officially filed with it.
(5) Disclosure for combined employment tax reporting
(A) In general
The Secretary may disclose taxpayer identity information and signatures to any agency, body, or commission of any State for the purpose of carrying out with such agency, body, or commission a combined Federal and State employment tax reporting program approved by the Secretary. Subsections (a)(2) and (p)(4) and sections 7213 and 7213A shall not apply with respect to disclosures or inspections made pursuant to this paragraph.
(B) Termination
The Secretary may not make any disclosure under this paragraph after December 31, 2007.
(6) Limitation on disclosure regarding regional income tax agencies treated as States
For purposes of paragraph (1), inspection by or disclosure to an entity described in subsection (b)(5)(A)(iii) shall be for the purpose of, and only to the extent necessary in, the administration of the laws of the member municipalities in such entity relating to the imposition of a tax on income or wages. Such entity may not redisclose any return or return information received pursuant to paragraph (1) to any such member municipality.
(e) Disclosure to persons having material interest
(1) In general
The return of a person shall, upon written request, be open to inspection by or disclosure to—
(A) in the case of the return of an individual—
(i) that individual,
(ii) the spouse of that individual if the individual and such spouse have signified their consent to consider a gift reported on such return as made one-half by him and one-half by the spouse pursuant to the provisions of section 2513; or
(iii) the child of that individual (or such child’s legal representative) to the extent necessary to comply with the provisions of section 1 (g);
(B) in the case of an income tax return filed jointly, either of the individuals with respect to whom the return is filed;
(C) in the case of the return of a partnership, any person who was a member of such partnership during any part of the period covered by the return;
(D) in the case of the return of a corporation or a subsidiary thereof—
(i) any person designated by resolution of its board of directors or other similar governing body,
(ii) any officer or employee of such corporation upon written request signed by any principal officer and attested to by the secretary or other officer,
(iii) any bona fide shareholder of record owning 1 percent or more of the outstanding stock of such corporation,
(iv) if the corporation was an S corporation, any person who was a shareholder during any part of the period covered by such return during which an election under section 1362 (a) was in effect, or
(v) if the corporation has been dissolved, any person authorized by applicable State law to act for the corporation or any person who the Secretary finds to have a material interest which will be affected by information contained therein;
(E) in the case of the return of an estate—
(i) the administrator, executor, or trustee of such estate, and
(ii) any heir at law, next of kin, or beneficiary under the will, of the decedent, but only if the Secretary finds that such heir at law, next of kin, or beneficiary has a material interest which will be affected by information contained therein; and
(F) in the case of the return of a trust—
(i) the trustee or trustees, jointly or separately, and
(ii) any beneficiary of such trust, but only if the Secretary finds that such beneficiary has a material interest which will be affected by information contained therein.
(2) Incompetency
If an individual described in paragraph (1) is legally incompetent, the applicable return shall, upon written request, be open to inspection by or disclosure to the committee, trustee, or guardian of his estate.
(3) Deceased individuals
The return of a decedent shall, upon written request, be open to inspection by or disclosure to—
(A) the administrator, executor, or trustee of his estate, and
(B) any heir at law, next of kin, or beneficiary under the will, of such decedent, or a donee of property, but only if the Secretary finds that such heir at law, next of kin, beneficiary, or donee has a material interest which will be affected by information contained therein.
(4) Title 11 cases and receivership proceedings
If—
(A) there is a trustee in a title 11 case in which the debtor is the person with respect to whom the return is filed, or
(B) substantially all of the property of the person with respect to whom the return is filed is in the hands of a receiver,
such return or returns for prior years of such person shall, upon written request, be open to inspection by or disclosure to such trustee or receiver, but only if the Secretary finds that such trustee or receiver, in his fiduciary capacity, has a material interest which will be affected by information contained therein.
(5) Individual’s title 11 case
(A) In general
In any case to which section 1398 applies (determined without regard to section 1398 (b)(1)), any return of the debtor for the taxable year in which the case commenced or any preceding taxable year shall, upon written request, be open to inspection by or disclosure to the trustee in such case.
(B) Return of estate available to debtor
Any return of an estate in a case to which section 1398 applies shall, upon written request, be open to inspection by or disclosure to the debtor in such case.
(C) Special rule for involuntary cases
In an involuntary case, no disclosure shall be made under subparagraph (A) until the order for relief has been entered by the court having jurisdiction of such case unless such court finds that such disclosure is appropriate for purposes of determining whether an order for relief should be entered.
(6) Attorney in fact
Any return to which this subsection applies shall, upon written request, also be open to inspection by or disclosure to the attorney in fact duly authorized in writing by any of the persons described in paragraph (1), (2), (3), (4), (5), (8), or (9) to inspect the return or receive the information on his behalf, subject to the conditions provided in such paragraphs.
(7) Return information
Return information with respect to any taxpayer may be open to inspection by or disclosure to any person authorized by this subsection to inspect any return of such taxpayer if the Secretary determines that such disclosure would not seriously impair Federal tax administration.
(8) Disclosure of collection activities with respect to joint return
If any deficiency of tax with respect to a joint return is assessed and the individuals filing such return are no longer married or no longer reside in the same household, upon request in writing by either of such individuals, the Secretary shall disclose in writing to the individual making the request whether the Secretary has attempted to collect such deficiency from such other individual, the general nature of such collection activities, and the amount collected. The preceding sentence shall not apply to any deficiency which may not be collected by reason of section 6502.
(9) Disclosure of certain information where more than 1 person subject to penalty under section 6672
If the Secretary determines that a person is liable for a penalty under section 6672 (a) with respect to any failure, upon request in writing of such person, the Secretary shall disclose in writing to such person—
(A) the name of any other person whom the Secretary has determined to be liable for such penalty with respect to such failure, and
(B) whether the Secretary has attempted to collect such penalty from such other person, the general nature of such collection activities, and the amount collected.
(10) Limitation on certain disclosures under this subsection
In the case of an inspection or disclosure under this subsection relating to the return of a partnership, S corporation, trust, or an estate, the information inspected or disclosed shall not include any supporting schedule, attachment, or list which includes the taxpayer identity information of a person other than the entity making the return or the person conducting the inspection or to whom the disclosure is made.
(f) Disclosure to Committees of Congress
(1) Committee on Ways and Means, Committee on Finance, and Joint Committee on Taxation
Upon written request from the chairman of the Committee on Ways and Means of the House of Representatives, the chairman of the Committee on Finance of the Senate, or the chairman of the Joint Committee on Taxation, the Secretary shall furnish such committee with any return or return information specified in such request, except that any return or return information which can be associated with, or otherwise identify, directly or indirectly, a particular taxpayer shall be furnished to such committee only when sitting in closed executive session unless such taxpayer otherwise consents in writing to such disclosure.
(2) Chief of Staff of Joint Committee on Taxation
Upon written request by the Chief of Staff of the Joint Committee on Taxation, the Secretary shall furnish him with any return or return information specified in such request. Such Chief of Staff may submit such return or return information to any committee described in paragraph (1), except that any return or return information which can be associated with, or otherwise identify, directly or indirectly, a particular taxpayer shall be furnished to such committee only when sitting in closed executive session unless such taxpayer otherwise consents in writing to such disclosure.
(3) Other committees
Pursuant to an action by, and upon written request by the chairman of, a committee of the Senate or the House of Representatives (other than a committee specified in paragraph (1)) specially authorized to inspect any return or return information by a resolution of the Senate or the House of Representatives or, in the case of a joint committee (other than the joint committee specified in paragraph (1)) by concurrent resolution, the Secretary shall furnish such committee, or a duly authorized and designated subcommittee thereof, sitting in closed executive session, with any return or return information which such resolution authorizes the committee or subcommittee to inspect. Any resolution described in this paragraph shall specify the purpose for which the return or return information is to be furnished and that such information cannot reasonably be obtained from any other source.
(4) Agents of committees and submission of information to Senate or House of Representatives
(A) Committees described in paragraph (1)
Any committee described in paragraph (1) or the Chief of Staff of the Joint Committee on Taxation shall have the authority, acting directly, or by or through such examiners or agents as the chairman of such committee or such chief of staff may designate or appoint, to inspect returns and return information at such time and in such manner as may be determined by such chairman or chief of staff. Any return or return information obtained by or on behalf of such committee pursuant to the provisions of this subsection may be submitted by the committee to the Senate or the House of Representatives, or to both. The Joint Committee on Taxation may also submit such return or return information to any other committee described in paragraph (1), except that any return or return information which can be associated with, or otherwise identify, directly or indirectly, a particular taxpayer shall be furnished to such committee only when sitting in closed executive session unless such taxpayer otherwise consents in writing to such disclosure.
(B) Other committees
Any committee or subcommittee described in paragraph (3) shall have the right, acting directly, or by or through no more than four examiners or agents, designated or appointed in writing in equal numbers by the chairman and ranking minority member of such committee or subcommittee, to inspect returns and return information at such time and in such manner as may be determined by such chairman and ranking minority member. Any return or return information obtained by or on behalf of such committee or subcommittee pursuant to the provisions of this subsection may be submitted by the committee to the Senate or the House of Representatives, or to both, except that any return or return information which can be associated with, or otherwise identify, directly or indirectly, a particular taxpayer, shall be furnished to the Senate or the House of Representatives only when sitting in closed executive session unless such taxpayer otherwise consents in writing to such disclosure.
(5) Disclosure by whistleblower
Any person who otherwise has or had access to any return or return information under this section may disclose such return or return information to a committee referred to in paragraph (1) or any individual authorized to receive or inspect information under paragraph (4)(A) if such person believes such return or return information may relate to possible misconduct, maladministration, or taxpayer abuse.
(g) Disclosure to President and certain other persons
(1) In general
Upon written request by the President, signed by him personally, the Secretary shall furnish to the President, or to such employee or employees of the White House Office as the President may designate by name in such request, a return or return information with respect to any taxpayer named in such request. Any such request shall state—
(A) the name and address of the taxpayer whose return or return information is to be disclosed,
(B) the kind of return or return information which is to be disclosed,
(C) the taxable period or periods covered by such return or return information, and
(D) the specific reason why the inspection or disclosure is requested.
(2) Disclosure of return information as to Presidential appointees and certain other Federal Government appointees
The Secretary may disclose to a duly authorized representative of the Executive Office of the President or to the head of any Federal agency, upon written request by the President or head of such agency, or to the Federal Bureau of Investigation on behalf of and upon written request by the President or such head, return information with respect to an individual who is designated as being under consideration for appointment to a position in the executive or judicial branch of the Federal Government. Such return information shall be limited to whether such individual—
(A) has filed returns with respect to the taxes imposed under chapter 1 for not more than the immediately preceding 3 years;
(B) has failed to pay any tax within 10 days after notice and demand, or has been assessed any penalty under this title for negligence, in the current year or immediately preceding 3 years;
(C) has been or is under investigation for possible criminal offenses under the internal revenue laws and the results of any such investigation; or
(D) has been assessed any civil penalty under this title for fraud.
Within 3 days of the receipt of any request for any return information with respect to any individual under this paragraph, the Secretary shall notify such individual in writing that such information has been requested under the provisions of this paragraph.
(3) Restriction on disclosure
The employees to whom returns and return information are disclosed under this subsection shall not disclose such returns and return information to any other person except the President or the head of such agency without the personal written direction of the President or the head of such agency.
(4) Restriction on disclosure to certain employees
Disclosure of returns and return information under this subsection shall not be made to any employee whose annual rate of basic pay is less than the annual rate of basic pay specified for positions subject to section 5316 of title 5, United States Code.
(5) Reporting requirements
Within 30 days after the close of each calendar quarter, the President and the head of any agency requesting returns and return information under this subsection shall each file a report with the Joint Committee on Taxation setting forth the taxpayers with respect to whom such requests were made during such quarter under this subsection, the returns or return information involved, and the reasons for such requests. The President shall not be required to report on any request for returns and return information pertaining to an individual who was an officer or employee of the executive branch of the Federal Government at the time such request was made. Reports filed pursuant to this paragraph shall not be disclosed unless the Joint Committee on Taxation determines that disclosure thereof (including identifying details) would be in the national interest. Such reports shall be maintained by the Joint Committee on Taxation for a period not exceeding 2 years unless, within such period, the Joint Committee on Taxation determines that a disclosure to the Congress is necessary.
(h) Disclosure to certain Federal officers and employees for purposes of tax administration, etc.
(1) Department of the Treasury
Returns and return information shall, without written request, be open to inspection by or disclosure to officers and employees of the Department of the Treasury whose official duties require such inspection or disclosure for tax administration purposes.
(2) Department of Justice
In a matter involving tax administration, a return or return information shall be open to inspection by or disclosure to officers and employees of the Department of Justice (including United States attorneys) personally and directly engaged in, and solely for their use in, any proceeding before a Federal grand jury or preparation for any proceeding (or investigation which may result in such a proceeding) before a Federal grand jury or any Federal or State court, but only if—
(A) the taxpayer is or may be a party to the proceeding, or the proceeding arose out of, or in connection with, determining the taxpayer’s civil or criminal liability, or the collection of such civil liability in respect of any tax imposed under this title;
(B) the treatment of an item reflected on such return is or may be related to the resolution of an issue in the proceeding or investigation; or
(C) such return or return information relates or may relate to a transactional relationship between a person who is or may be a party to the proceeding and the taxpayer which affects, or may affect, the resolution of an issue in such proceeding or investigation.
(3) Form of request
In any case in which the Secretary is authorized to disclose a return or return information to the Department of Justice pursuant to the provisions of this subsection—
(A) if the Secretary has referred the case to the Department of Justice, or if the proceeding is authorized by subchapter B of chapter 76, the Secretary may make such disclosure on his own motion, or
(B) if the Secretary receives a written request from the Attorney General, the Deputy Attorney General, or an Assistant Attorney General for a return of, or return information relating to, a person named in such request and setting forth the need for the disclosure, the Secretary shall disclose return or return the information so requested.
(4) Disclosure in judicial and administrative tax proceedings
A return or return information may be disclosed in a Federal or State judicial or administrative proceeding pertaining to tax administration, but only—
(A) if the taxpayer is a party to the proceeding, or the proceeding arose out of, or in connection with, determining the taxpayer’s civil or criminal liability, or the collection of such civil liability, in respect of any tax imposed under this title;
(B) if the treatment of an item reflected on such return is directly related to the resolution of an issue in the proceeding;
(C) if such return or return information directly relates to a transactional relationship between a person who is a party to the proceeding and the taxpayer which directly affects the resolution of an issue in the proceeding; or
(D) to the extent required by order of a court pursuant to section 3500 of title 18, United States Code, or rule 16 of the Federal Rules of Criminal Procedure, such court being authorized in the issuance of such order to give due consideration to congressional policy favoring the confidentiality of returns and return information as set forth in this title.
However, such return or return information shall not be disclosed as provided in subparagraph (A), (B), or (C) if the Secretary determines that such disclosure would identify a confidential informant or seriously impair a civil or criminal tax investigation.
(5) Withholding of tax from social security benefits
Upon written request of the payor agency, the Secretary may disclose available return information from the master files of the Internal Revenue Service with respect to the address and status of an individual as a nonresident alien or as a citizen or resident of the United States to the Social Security Administration or the Railroad Retirement Board (whichever is appropriate) for purposes of carrying out its responsibilities for withholding tax under section 1441 from social security benefits (as defined in section 86 (d)).
(6) Internal Revenue Service Oversight Board
(A) In general
Notwithstanding paragraph (1), and except as provided in subparagraph (B), no return or return information may be disclosed to any member of the Oversight Board described in subparagraph (A) or (D) of section 7802 (b)(1) or to any employee or detailee of such Board by reason of their service with the Board. Any request for information not permitted to be disclosed under the preceding sentence, and any contact relating to a specific taxpayer, made by any such individual to an officer or employee of the Internal Revenue Service shall be reported by such officer or employee to the Secretary, the Treasury Inspector General for Tax Administration, and the Joint Committee on Taxation.
(B) Exception for reports to the Board
If—
(i) the Commissioner or the Treasury Inspector General for Tax Administration prepares any report or other matter for the Oversight Board in order to assist the Board in carrying out its duties; and
(ii) the Commissioner or such Inspector General determines it is necessary to include any return or return information in such report or other matter to enable the Board to carry out such duties,
such return or return information (other than information regarding taxpayer identity) may be disclosed to members, employees, or detailees of the Board solely for the purpose of carrying out such duties.
(i) Disclosure to Federal officers or employees for administration of Federal laws not relating to tax administration
(1) Disclosure of returns and return information for use in criminal investigations
(A) In general
Except as provided in paragraph (6), any return or return information with respect to any specified taxable period or periods shall, pursuant to and upon the grant of an ex parte order by a Federal district court judge or magistrate judge under subparagraph (B), be open (but only to the extent necessary as provided in such order) to inspection by, or disclosure to, officers and employees of any Federal agency who are personally and directly engaged in—
(i) preparation for any judicial or administrative proceeding pertaining to the enforcement of a specifically designated Federal criminal statute (not involving tax administration) to which the United States or such agency is or may be a party,
(ii) any investigation which may result in such a proceeding, or
(iii) any Federal grand jury proceeding pertaining to enforcement of such a criminal statute to which the United States or such agency is or may be a party,
solely for the use of such officers and employees in such preparation, investigation, or grand jury proceeding.
(B) Application for order
The Attorney General, the Deputy Attorney General, the Associate Attorney General, any Assistant Attorney General, any United States attorney, any special prosecutor appointed under section 593 of title 28, United States Code, or any attorney in charge of a criminal division organized crime strike force established pursuant to section 510 of title 28, United States Code, may authorize an application to a Federal district court judge or magistrate judge for the order referred to in subparagraph (A). Upon such application, such judge or magistrate judge may grant such order if he determines on the basis of the facts submitted by the applicant that—
(i) there is reasonable cause to believe, based upon information believed to be reliable, that a specific criminal act has been committed,
(ii) there is reasonable cause to believe that the return or return information is or may be relevant to a matter relating to the commission of such act, and
(iii) the return or return information is sought exclusively for use in a Federal criminal investigation or proceeding concerning such act, and the information sought to be disclosed cannot reasonably be obtained, under the circumstances, from another source.
(2) Disclosure of return information other than taxpayer return information for use in criminal investigations
(A) In general
Except as provided in paragraph (6), upon receipt by the Secretary of a request which meets the requirements of subparagraph (B) from the head of any Federal agency or the Inspector General thereof, or, in the case of the Department of Justice, the Attorney General, the Deputy Attorney General, the Associate Attorney General, any Assistant Attorney General, the Director of the Federal Bureau of Investigation, the Administrator of the Drug Enforcement Administration, any United States attorney, any special prosecutor appointed under section 593 of title 28, United States Code, or any attorney in charge of a criminal division organized crime strike force established pursuant to section 510 of title 28, United States Code, the Secretary shall disclose return information (other than taxpayer return information) to officers and employees of such agency who are personally and directly engaged in—
(i) preparation for any judicial or administrative proceeding described in paragraph (1)(A)(i),
(ii) any investigation which may result in such a proceeding, or
(iii) any grand jury proceeding described in paragraph (1)(A)(iii),