IRC Section 170(c)(2)(B) is the part of the Internal Revenue Code that lists the purposes an organization must be organized and operated for before contributions to it can be deducted on a federal income tax return. Those purposes are religious, charitable, scientific, literary, educational, fostering national or international amateur sports competition, and the prevention of cruelty to children or animals.1Office of the Law Revision Counsel. 26 USC 170 – Charitable, Etc., Contributions and Gifts If the organization’s purpose doesn’t fit one of those categories, no donor can deduct a gift to it, no matter how worthy the work.
The Seven Qualifying Purposes
Each category on the list has its own contours, and a few carry built-in limits worth knowing before you assume an organization fits.2Office of the Law Revision Counsel. 26 USC 501 – Exemption From Tax on Corporations, Certain Trusts, Etc.
- Religious. Churches, synagogues, mosques, and other houses of worship, along with organizations that advance religious purposes more broadly.
- Charitable. Read broadly to include relief of poverty, advancement of education or religion, and promotion of social welfare.
- Scientific. Research conducted in the public interest qualifies; research done primarily for a private company’s commercial benefit does not.
- Literary. Organizations promoting literature, publishing, or related creative work for public benefit.
- Educational. Schools and universities, and also museums, public libraries, and similar organizations.
- Fostering national or international amateur sports competition. Qualifies only if the organization does not provide athletic facilities or equipment.
- Prevention of cruelty to children or animals. Organizations whose primary mission targets abuse or neglect of children or the mistreatment of animals.
What “Exclusively” Actually Means
The statute says the organization must be organized and operated “exclusively” for one of these purposes. That word sounds absolute, and it isn’t. The IRS reads it to mean “primarily.” An organization can engage in minor activities outside its stated purpose as long as those activities are insubstantial relative to its overall operations. Organizations run into trouble when side activities grow large enough to overshadow the qualifying mission.
The Other Gates in 170(c)(2)
Subsection (B) is the purpose test, but it doesn’t stand alone. Three companion subsections have to be satisfied at the same time before donors can deduct their gifts, and an organization that clears (B) can still fail one of the others.
Domestic Organization
Under 170(c)(2)(A), the organization must be created or organized in the United States, a U.S. possession, or under the laws of the United States, a state, or the District of Columbia.1Office of the Law Revision Counsel. 26 USC 170 – Charitable, Etc., Contributions and Gifts A foreign charity, however worthy, generally cannot receive deductible contributions under this section. Some U.S.-based organizations that fund overseas work satisfy the rule by maintaining domestic control over how the funds are spent.
No Private Benefit From Earnings
Under 170(c)(2)(C), none of the organization’s net earnings can inure to the personal benefit of insiders. Board members, officers, founders, and major donors cannot receive sweetheart deals, excessive salaries, or below-market loans.2Office of the Law Revision Counsel. 26 USC 501 – Exemption From Tax on Corporations, Certain Trusts, Etc. Reasonable compensation for actual services is allowed; the line between reasonable and excessive is where most enforcement happens.
When an insider receives an excess benefit, the IRS does not always jump to revocation. Section 4958 imposes escalating excise taxes as an intermediate step. The insider owes an initial tax of 25% of the excess amount, and if the transaction is not corrected in time, an additional 200% tax applies. An organization manager who knowingly approved the transaction owes a separate 10% tax on the excess.3Office of the Law Revision Counsel. 26 USC 4958 – Taxes on Excess Benefit Transactions
Politics and Lobbying
Under 170(c)(2)(D), the organization cannot participate or intervene in any political campaign for or against a candidate for public office. This ban is absolute: no endorsements, no campaign donations, no distribution of statements favoring or opposing a candidate.2Office of the Law Revision Counsel. 26 USC 501 – Exemption From Tax on Corporations, Certain Trusts, Etc.
Legislative lobbying is treated more softly. The organization cannot spend a “substantial part” of its activities trying to influence legislation.4Internal Revenue Service. Exemption Requirements for 501(c)(3) Organizations The IRS evaluates the “substantial part” test case by case, weighing both expenditures and time devoted to lobbying.
Eligible public charities can opt into a clearer standard by making the 501(h) election, which replaces the vague test with dollar limits calculated under Section 4911. Lobbying spending is capped on a sliding scale tied to total exempt-purpose expenditures. Organizations spending $500,000 or less can devote up to 20% of those expenditures to lobbying. The percentage drops as the organization grows, and the ceiling tops out at $1,000,000. Grassroots lobbying (appeals to the general public to contact legislators) is capped at 25% of whatever the overall lobbying limit is.5Office of the Law Revision Counsel. 26 USC 4911 – Tax on Excess Lobbying Expenditures Spending over the limit in a year triggers a 25% excise tax on the excess. Consistently exceeding the limits over a four-year period can cost the organization its exempt status. Private foundations and churches cannot make this election.
How 170(c)(2)(B) Compares to 501(c)(3)
Section 501(c)(3) governs whether an organization itself is exempt from federal income tax. Section 170(c)(2)(B) governs whether contributions to it are deductible. Most organizations need both, and the lists of qualifying purposes in each section are nearly identical.4Internal Revenue Service. Exemption Requirements for 501(c)(3) Organizations
There is one meaningful gap. Section 501(c)(3) includes organizations that test for public safety; 170(c)(2)(B) does not. A public-safety-testing organization can be tax-exempt yet still cannot receive tax-deductible contributions. It is one of the few situations where exemption and deductibility separate.
What This Means for a Donor
Giving to an organization that qualifies under 170(c)(2)(B) is the starting point for a deduction, not the finish line. A few practical rules decide whether the gift actually reduces your tax.
You Have to Itemize
Charitable contributions are deductible only if you itemize on Schedule A rather than take the standard deduction.6Internal Revenue Service. Topic No. 506, Charitable Contributions For tax year 2026, the standard deduction is $16,100 for single filers and $32,200 for married couples filing jointly.7Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026, Including Amendments From the One, Big, Beautiful Bill If your charitable giving plus your other itemizable expenses does not clear that number, the gift still supports the charity but produces no tax deduction.
AGI Percentage Caps
How much of your giving you can deduct in a single year depends on the type of recipient and what you gave. For public charities, cash contributions are deductible up to 60% of your adjusted gross income. Appreciated property held more than a year is deductible at full fair market value up to 30% of AGI, without capital gains tax on the appreciation.1Office of the Law Revision Counsel. 26 USC 170 – Charitable, Etc., Contributions and Gifts
For most private foundations the caps are tighter: 30% of AGI for cash and 20% for appreciated capital gain property.1Office of the Law Revision Counsel. 26 USC 170 – Charitable, Etc., Contributions and Gifts Anything over the applicable limit in a given year isn’t lost; you can carry the excess forward and deduct it over the next five tax years, subject to the same percentage limits each year, with current-year contributions applied before carried-over amounts.8Office of the Law Revision Counsel. 26 USC 170 – Charitable, Etc., Contributions and Gifts
Confirm the Organization Qualifies
The donor bears the risk if the recipient turns out not to be eligible. The IRS runs a free tool called Tax Exempt Organization Search that shows whether an organization appears in the official database of organizations eligible to receive deductible contributions, lets you view its filed Form 990 returns, and flags whether its status has been automatically revoked.9Internal Revenue Service. Tax Exempt Organization Search Checking before a large gift is the easiest way to protect the deduction.