The nonprofit tax code is Section 501 of the Internal Revenue Code, which exempts qualifying organizations from federal income tax so they can direct resources toward public benefit rather than tax bills. The IRS recognizes more than two dozen categories of tax-exempt organizations under this section, but three carry most of the traffic: 501(c)(3) charitable organizations, 501(c)(4) social welfare groups, and 501(c)(6) business leagues. Each has its own rules on how it earns money, pays its people, and engages in politics, and a serious misstep on any of them can trigger excise taxes or cost the organization its exempt status.
The Three Main Categories
Section 501(c)(3) covers the organizations most people picture when they hear “nonprofit”: religious, charitable, scientific, educational, and literary groups, along with organizations that foster amateur sports, test for public safety, or prevent cruelty to children or animals.1Office of the Law Revision Counsel. 26 U.S. Code 501 – Exemption From Tax on Corporations, Certain Trusts, Etc. These are the only groups whose donors can generally claim a charitable deduction on their federal returns.
Section 501(c)(4) covers civic leagues and social welfare organizations. To qualify, the group must operate primarily to further the common good and general welfare of a community, with net earnings going to charitable, educational, or recreational purposes.1Office of the Law Revision Counsel. 26 U.S. Code 501 – Exemption From Tax on Corporations, Certain Trusts, Etc. These groups can engage in more advocacy and some political activity, which makes the classification attractive for policy-focused organizations. The trade-off matters: contributions to a 501(c)(4) are generally not deductible as charitable gifts on a donor’s individual return, though they may qualify as ordinary business expenses in limited circumstances.2Internal Revenue Service. Donations to Section 501(c)(4) Organizations
Section 501(c)(6) covers chambers of commerce, trade associations, real estate boards, and professional leagues. The defining requirement is that the organization promotes common business interests across one or more lines of business rather than performs specific services for individual members.3eCFR. 26 CFR 1.501(c)(6)-1 – Business Leagues, Chambers of Commerce, Real Estate Boards, and Boards of Trade No part of a business league’s net earnings may benefit a private shareholder or individual.4Internal Revenue Service. Business Leagues Donations to these groups are not deductible as charitable contributions, though membership dues may be partially deductible as a business expense.
What a 501(c)(3) Has to Prove
Charitable organizations face two hurdles. The organizational test looks at founding documents: articles of incorporation must limit the group’s purposes to recognized exempt categories and must dedicate its assets permanently to those purposes.5Internal Revenue Service. Organizational Test Internal Revenue Code Section 501c3
The operational test looks at day-to-day activity. The IRS treats an organization as operating exclusively for exempt purposes only if it engages primarily in activities that accomplish those purposes, and even an insubstantial amount of non-exempt activity can disqualify it.6Internal Revenue Service. Operational Test – Internal Revenue Code Section 501(c)(3)
Private Benefit and Excess Compensation
Section 501(c)(3) flatly prohibits any part of an organization’s net earnings from benefiting private shareholders or individuals.1Office of the Law Revision Counsel. 26 U.S. Code 501 – Exemption From Tax on Corporations, Certain Trusts, Etc. This is the rule at issue when a nonprofit pays an executive an eyebrow-raising salary. Revocation is not the only consequence. Congress created intermediate sanctions under Section 4958 that punish the individuals involved without necessarily dissolving the organization.
When an insider receives compensation or other benefits exceeding fair market value, the IRS can impose an initial excise tax of 25 percent of the excess benefit on the recipient. Any manager who knowingly approved the deal owes a separate 10 percent tax. If the transaction is not corrected within the allowed period, an additional 200 percent tax applies to the recipient.7Office of the Law Revision Counsel. 26 U.S. Code 4958 – Taxes on Excess Benefit Transactions The IRS keeps the option to revoke exempt status in serious cases.8Internal Revenue Service. Intermediate Sanctions
Public Charity or Private Foundation
Every 501(c)(3) is automatically classified as a private foundation unless it can prove it qualifies as a public charity.9Internal Revenue Service. Determine Your Foundation Classification The distinction changes donor treatment, regulatory intensity, and mandatory spending.
Public charities draw support broadly. To qualify, an organization generally needs at least one-third of its support from the general public, government grants, or gross receipts tied to its exempt purpose. An alternative facts-and-circumstances test is available for organizations that receive at least 10 percent of their support from public sources and can show other indicia of public support.10Internal Revenue Service. Exempt Organizations Annual Reporting Requirements – Form 990, Schedules A and B: Public Charity Support Test Donors to public charities can deduct cash gifts up to 50 percent of adjusted gross income, compared with 30 percent for gifts to most private foundations.11Internal Revenue Service. Charitable Contribution Deductions
Private foundations typically rely on a single funding source, like one family or corporation. That concentrated control triggers stricter regulation. The biggest rule is the mandatory annual payout: a private foundation must distribute roughly 5 percent of the fair market value of its non-exempt-use investment assets each year for charitable purposes.12Internal Revenue Service. Minimum Investment Return The statute calculates this as 5 percent of the excess of those asset values over any acquisition indebtedness.13Office of the Law Revision Counsel. 26 U.S. Code 4942 – Taxes on Failure to Distribute Income Foundations that fall short owe excise tax on the undistributed amount.
Reclassification runs both ways. If a public charity’s funding base narrows and it can no longer pass the public support test, the IRS can reclassify it as a private foundation, subjecting it to the additional rules and lower donor deduction limits.14Internal Revenue Service. EO Operational Requirements: Requirements for Publicly Supported Charities
Political Campaigns and Lobbying
Section 501(c)(3) organizations face an absolute prohibition on participating in any political campaign for or against a candidate for public office. That covers financial contributions and public statements of position by the organization. Violations can result in revocation and excise taxes on the organization and its managers.15Internal Revenue Service. Restriction of Political Campaign Intervention by Section 501(c)(3) Tax-Exempt Organizations There is no percentage threshold below which campaign activity is tolerated.
Lobbying, meaning efforts to influence legislation, is treated differently. The default rule is that lobbying cannot be a “substantial part” of a charity’s overall activities. That standard is famously vague, which is why many public charities opt into the Section 501(h) expenditure test instead. The 501(h) election replaces the subjective standard with a concrete dollar formula.16eCFR. 26 CFR 1.501(h)-1 – Application of the Expenditure Test to Expenditures to Influence Legislation Allowable lobbying is a sliding scale tied to exempt-purpose spending:17Internal Revenue Service. Measuring Lobbying Activity: Expenditure Test
- Up to $500,000 in exempt-purpose spending: 20 percent may go to lobbying
- $500,001 to $1,000,000: $100,000 plus 15 percent of the amount over $500,000
- $1,000,001 to $1,500,000: $175,000 plus 10 percent of the amount over $1,000,000
- $1,500,001 to $17,000,000: $225,000 plus 5 percent of the amount over $1,500,000
- Over $17,000,000: a flat cap of $1,000,000
An organization that goes over the limit owes an excise tax of 25 percent on the excess.18GovInfo. 26 U.S. Code 4911 – Tax on Excess Expenditures to Influence Legislation If lobbying expenditures normally exceed 150 percent of the limit over a four-year measuring period, the organization loses 501(c)(3) status entirely. After that, any future lobbying by the former charity triggers a separate 5 percent excise tax on the organization and 5 percent on any manager who approved the spending.19Office of the Law Revision Counsel. 26 U.S. Code 4912 – Tax on Disqualifying Lobbying Expenditures of Certain Organizations
Unrelated Business Income Is Still Taxed
Exempt status does not shield a nonprofit from all federal taxes. When a tax-exempt organization runs a side business that looks and operates like a commercial enterprise, the income is taxable. The IRS calls this unrelated business taxable income, or UBTI: income from a trade or business that is regularly carried on and not substantially related to the organization’s exempt purpose.20Office of the Law Revision Counsel. 26 U.S. Code 512 – Unrelated Business Taxable Income
All three elements must be present. The activity has to be a trade or business, it has to occur with a frequency and continuity comparable to commercial counterparts, and it has to fail to contribute importantly to the nonprofit’s mission. Even if the profits fund charitable programs, the income itself is taxed at the standard 21 percent corporate rate. The rationale: letting nonprofits run untaxed commercial operations would create an unfair advantage over for-profit competitors.
Congress carved out exceptions. An activity staffed substantially entirely by unpaid volunteers is not an unrelated business, and neither is the sale of donated merchandise.21Office of the Law Revision Counsel. 26 U.S. Code 513 – Unrelated Trade or Business A nonprofit with $1,000 or more in gross income from unrelated business activities must file Form 990-T to report and pay tax on it.22Internal Revenue Service. Instructions for Form 990-T (2025)
Annual Filing, Public Records, and Automatic Revocation
Section 6033 requires most tax-exempt organizations to file an annual informational return disclosing gross income, receipts, disbursements, and the names and compensation of directors, officers, and key employees.23Office of the Law Revision Counsel. 26 U.S. Code 6033 – Returns by Exempt Organizations Depending on size, that means the full Form 990, the shorter Form 990-EZ, or the electronic notice Form 990-N.
These returns are not confidential. An exempt organization must make its annual returns available for public inspection for a three-year period beginning with the due date of the return, including extensions, or the actual filing date if later. The original application for exemption is also open to public request.24Internal Revenue Service. Public Disclosure and Availability of Exempt Organization Returns and Applications: Public Disclosure Overview
The penalty for skipping these filings is unusually harsh. If an organization fails to file a required annual return or notice for three consecutive years, its tax-exempt status is automatically revoked. No hearing, no last-minute warning letter. The IRS does send a notice after two consecutive missed filings, but if the third year’s return still does not come in, revocation takes effect on the due date of that third return.23Office of the Law Revision Counsel. 26 U.S. Code 6033 – Returns by Exempt Organizations
What Nonprofits Owe Donors
The tax code puts obligations on organizations as well as donors so that charitable deductions are properly documented. Getting this wrong can cost a donor the deduction or expose the nonprofit to penalties.
For any single contribution of $250 or more, the donor must get a contemporaneous written acknowledgment from the organization. It must state the cash amount, describe any non-cash property, and indicate whether the organization provided any goods or services in return, with a description and good-faith estimate of their value.25Internal Revenue Service. Charitable Contributions Without it, the IRS can disallow the deduction entirely.
When a donor makes a payment that is partly a contribution and partly a purchase, the organization has a disclosure duty if the total exceeds $75. The nonprofit must give the donor a written statement saying the deductible amount is limited to the excess of the payment over the fair market value of what the donor received, and provide a good-faith estimate of that value.26Internal Revenue Service. Charitable Contributions: Quid Pro Quo Contributions The classic example is a $150 fundraiser dinner ticket where the meal is worth $50: the organization must tell the donor that only $100 is deductible.
Federal Exemption Is Not a Fundraising License
Federal tax-exempt status does not authorize a nonprofit to solicit donations across the country. Most states require charities to register with a state agency before asking residents for contributions, and many require periodic financial reports afterward.27Internal Revenue Service. Charitable Solicitation – State Requirements Some states require separate registration for paid professional fundraisers. Fees range from nothing to several thousand dollars depending on the state and the amount raised. Nonprofits that solicit online often trigger registration requirements in states where their donors reside, not just the state where the organization is based. Overlooking these requirements is one of the most common compliance failures for growing nonprofits.