Tax Exemption Code List: 501(c), W-9, and Sales Tax

Tax exemption codes are the numbers or letters entered on federal and state tax forms to identify why a person, organization, or transaction is not subject to the standard tax. There is no single master list. The codes you need depend on the form in front of you: a nonprofit uses a 501(c) subsection number, a business filling out a W-9 may use an exempt payee code from 1 to 13, and a buyer claiming a sales tax exemption in a Streamlined Sales Tax state uses a letter code from A to M. Below is what each of those code sets actually contains.

501(c) Subsection Codes for Exempt Organizations

The most widely used exemption codes are the subsection numbers under Section 501(c) of the Internal Revenue Code. Each subsection describes a different type of organization that qualifies for federal income tax exemption, and the subsection number itself is the code. When someone refers to a “501(c)(3)” or a “501(c)(6),” they are citing the specific provision that grants the exemption. The full list runs from 501(c)(1) through 501(c)(29), covering everything from federal credit unions to black lung benefit trusts.1Office of the Law Revision Counsel. 26 U.S. Code 501 – Exemption From Tax on Corporations, Certain Trusts, Etc.

The categories you are most likely to encounter:

  • 501(c)(3): charitable, religious, educational, scientific, and literary organizations. This is the largest category and the only one where donations are generally tax-deductible for the donor. These organizations cannot participate in political campaigns and face limits on lobbying activity.
  • 501(c)(4): civic leagues and social welfare organizations that promote community well-being. Unlike 501(c)(3) groups, they can engage in political activities, though that cannot be their primary purpose.
  • 501(c)(5): labor, agricultural, and horticultural organizations.
  • 501(c)(6): business leagues, chambers of commerce, and trade associations that promote common business interests rather than generating profit for members.
  • 501(c)(7): social and recreational clubs supported by membership dues. A social club can receive up to 35 percent of its gross receipts from nonmember sources, with no more than 15 percent coming from nonmember use of facilities. Exceeding those thresholds can trigger a loss of exempt status.
  • 501(c)(8): fraternal beneficiary societies that provide life, sickness, or accident benefits to members.
  • 501(c)(13): cemetery companies operated exclusively for the benefit of their members.
  • 501(c)(19): veterans’ organizations.

The subsection number appears on the determination letter the IRS issues when it recognizes an entity’s exempt status, and it is what other parties (donors, grantmakers, state agencies) will ask for when verifying the exemption.

Form W-9 Exempt Payee Codes

When a business or entity fills out Form W-9 to provide its taxpayer identification number to a payer, it may enter an exempt payee code. These numeric codes tell the payer that the entity is exempt from backup withholding, which is the 24 percent withholding the IRS requires when a payee has not provided a valid TIN or has underreported income. Individuals almost never qualify. The codes are:2Internal Revenue Service. Instructions for the Requester of Form W-9

  • 1: tax-exempt organization under Section 501(a), any IRA, or a custodial account under Section 403(b)(7).
  • 2: the United States or any of its agencies or instrumentalities.
  • 3: a state, the District of Columbia, a U.S. territory, or any of their political subdivisions.
  • 4: a foreign government or any of its political subdivisions.
  • 5: a corporation.
  • 6: a dealer in securities or commodities required to register in the U.S.
  • 7: a futures commission merchant registered with the Commodity Futures Trading Commission.
  • 8: a real estate investment trust.
  • 9: an entity registered under the Investment Company Act of 1940.
  • 10: a common trust fund operated by a bank under Section 584(a).
  • 11: a financial institution as defined under Section 581.
  • 12: a middleman known as a nominee or custodian.
  • 13: a trust exempt from tax under Section 664 or described in Section 4947.

Only entities that actually fall into one of these categories should enter a code. Entering one you do not qualify for creates matching problems when the IRS cross-references your filings.

Form W-9 FATCA Exemption Codes

Form W-9 has a separate field for FATCA (Foreign Account Tax Compliance Act) exemption codes, which use letters A through M. These apply to entities that are exempt from FATCA reporting requirements. The categories include tax-exempt organizations (Code A), U.S. government entities (Code B), state and local governments (Code C), publicly traded corporations (Code D), registered securities dealers (Code F), REITs (Code G), and regulated investment companies (Code H), among others.

If you are filling out a W-9 as a sole proprietor or individual, you can leave this field blank. It is primarily relevant to financial institutions and certain business entities.

Streamlined Sales Tax Exemption Reason Codes

For state sales and use tax, the most standardized set of exemption codes comes from the Streamlined Sales and Use Tax Agreement. When a buyer claims a sales tax exemption in a participating state, the exemption certificate uses a letter code to identify the reason:3Streamlined Sales Tax Governing Board. Streamlined Sales Tax Certificate of Exemption

  • A: federal government
  • B: state or local government
  • C: tribal government
  • D: foreign diplomat
  • E: charitable organization
  • F: religious organization
  • G: resale
  • H: agricultural production
  • I: industrial production or manufacturing
  • J: direct pay permit
  • K: direct mail
  • L: other (requires written explanation)
  • M: educational organization

Full member states include Arkansas, Georgia, Indiana, Iowa, Kansas, Kentucky, Michigan, Minnesota, Nebraska, Nevada, New Jersey, North Carolina, North Dakota, Ohio, Oklahoma, Rhode Island, South Dakota, Utah, Vermont, Washington, West Virginia, Wisconsin, and Wyoming, with Tennessee as an associate member.4Streamlined Sales Tax Governing Board. Streamlined Sales Tax Governing Board – Home States that do not participate have their own exemption forms and numbering systems, so there is no single universal set of sales tax exemption codes across the country.

The buyer fills out the certificate and provides it to the seller, who keeps it on file. Certificates are typically free to obtain. Validity periods vary: some states require periodic renewal, others accept blanket certificates that remain valid as long as the exemption status holds.

Exemptions That Do Not Use a Code

Several common tax exemptions are claimed through a form or a checkbox rather than through an alphanumeric code. If you are searching for a “code” for one of these, there isn’t one.

On Form W-4, an employee who expects to owe zero federal income tax can claim exemption from withholding by writing “Exempt” in the designated space. You qualify only if you had no federal income tax liability last year and expect none this year. The exemption expires annually. For 2026, you must submit a new W-4 by February 16, 2027, or your employer will revert to withholding as if you claimed no adjustments.5Internal Revenue Service. Form W-4 – Employee’s Withholding Certificate

On Form 1099-INT, tax-exempt interest is reported in specific boxes rather than by code. Box 8 reports tax-exempt interest on obligations issued by states, the District of Columbia, U.S. territories, Indian tribal governments, or their political subdivisions. Box 13 reports the amortized bond premium on tax-exempt bonds.6Internal Revenue Service. Instructions for Forms 1099-INT and 1099-OID The exclusion for interest on Series EE and I U.S. Savings Bonds used to pay qualified higher education expenses is calculated on Form 8815 and flows to Schedule B.7Internal Revenue Service. Form 8815 – Exclusion of Interest From Series EE and I U.S. Savings Bonds Issued After 1989

The foreign earned income exclusion works the same way. U.S. citizens and resident aliens living abroad can exclude up to $132,900 of foreign earned income from their 2026 federal return by filing Form 2555 and meeting either the bona fide residence test or the physical presence test of 330 full days outside the U.S. in a 12-month period.8Internal Revenue Service. Figuring the Foreign Earned Income Exclusion9Internal Revenue Service. About Form 2555, Foreign Earned Income No code is involved.

Penalties for Claiming a Code You Do Not Qualify For

Using an exemption code you are not entitled to has real consequences at both the federal and state level.

For negligent or substantial understatements of tax, which includes incorrectly claiming exempt status, the accuracy-related penalty adds 20 percent to the underpaid amount.10Office of the Law Revision Counsel. 26 USC 6662 – Imposition of Accuracy-Related Penalty on Underpayments If the IRS determines you willfully filed a false return, such as deliberately entering an exempt payee code you knew did not apply, the consequences escalate to criminal territory. A conviction for fraud or false statements carries a fine of up to $100,000 ($500,000 for a corporation) and up to three years in prison.11Office of the Law Revision Counsel. 26 U.S. Code 7206 – Fraud and False Statements

Anyone who helps another person understate their tax liability, such as a return preparer who enters a bogus exemption code, faces a separate penalty of $1,000 per occurrence, or $10,000 if the return involves a corporation.12Office of the Law Revision Counsel. 26 USC 6701 – Penalties for Aiding and Abetting Understatement of Tax Liability

On the sales tax side, misusing an exemption certificate is treated as a criminal offense in many states. Penalties vary by jurisdiction and can include fines, back taxes, interest, and in some cases jail time. If you hand a seller a resale certificate for something you are actually going to use yourself, the state can pursue both you and the seller.