A 501(c)(3) nonprofit can legally earn money by selling goods and services, but the tax rules for nonprofit earned income turn on a single question: is the activity tied to your exempt mission or not? Revenue from mission-related work is free of federal income tax. Revenue from a regular commercial activity that has nothing to do with your charitable purpose is taxed at the flat 21 percent corporate rate once gross receipts from that activity reach $1,000 in a year, and it has to be reported on a separate return.
Mission-Related Revenue Is Tax-Free
When a nonprofit earns money through activities that directly advance its exempt purpose, that income is “substantially related” and not subject to federal income tax. Tuition at a nonprofit university, patient billing at a nonprofit hospital, ticket sales at a nonprofit theater — the revenue-producing activity is the mission itself.
The connection has to be real. Under federal law, the production of goods or performance of services must contribute importantly to accomplishing the exempt purpose, not merely raise money for it.1Office of the Law Revision Counsel. 26 U.S.C. 513 – Unrelated Trade or Business A museum gift shop selling educational books tied to its exhibits produces related income. The same shop expanded into a general retail operation may not.
When Earned Income Becomes Taxable
The IRS uses a three-part test to identify unrelated business income. All three elements must be present:
- It is a trade or business (producing income from selling goods or performing services).
- It is regularly carried on, not occasional.
- It is not substantially related to the organization’s exempt purpose.2Internal Revenue Service. Unrelated Business Income Defined
A homeless shelter that operates a commercial parking garage year-round hits all three prongs. Parking cars is a business, it runs continuously, and it has nothing to do with housing people.
One point trips up nonprofits repeatedly: how you use the profits does not matter. If a car wash run by an animal rescue group sends every dollar to the animals, the car wash is still an unrelated business.1Office of the Law Revision Counsel. 26 U.S.C. 513 – Unrelated Trade or Business The tax code looks at the nature of the activity, not where the money lands.
A single program can also contain both related and unrelated components. Under the IRS fragmentation rule, a commercial piece embedded in an otherwise mission-driven activity is isolated and evaluated on its own.3Internal Revenue Service. Exempt Organizations Technical Guide – Unrelated Business Income Tax A nonprofit health clinic that runs a pharmacy open to the general public may find the pharmacy income treated as unrelated even though the clinic itself is squarely within its mission.
Exceptions That Pull Activities Back Out
Even when an activity meets all three prongs, several statutory exceptions keep the income tax-free. These cover many of the most common ways nonprofits earn money.
- Volunteer labor. If substantially all the work is performed by unpaid volunteers, the income is not taxable. The IRS looks at the ratio of volunteer to paid hours across the whole activity, including setup, accounting, and cleanup.4Internal Revenue Service. Volunteer Labor Exclusion from Unrelated Trade or Business
- Donated merchandise. Selling goods substantially all received as gifts is exempt, which is why charity thrift stores do not owe tax on their sales.5Internal Revenue Service. Unrelated Business Income Tax Exceptions and Exclusions
- Convenience activities. A business run primarily for the convenience of members, students, patients, or employees is not an unrelated trade or business. A university bookstore selling textbooks to enrolled students is the classic example.1Office of the Law Revision Counsel. 26 U.S.C. 513 – Unrelated Trade or Business
- Bingo. Bingo is excluded as long as it complies with state and local law and is not the kind of game ordinarily run commercially. Other gaming, including raffles and card nights, gets no automatic pass.1Office of the Law Revision Counsel. 26 U.S.C. 513 – Unrelated Trade or Business
- Mailing list exchanges. Renting or exchanging donor and member lists among organizations eligible to receive tax-deductible contributions is not an unrelated business. Adding marketing services or product endorsements to the deal breaks the exception.6Internal Revenue Service. Identification and Treatment of Income From Mailing Lists
Sponsorships vs. Advertising
Corporate sponsorship money is not taxable if it qualifies as a “qualified sponsorship payment.” The sponsor can receive only an acknowledgment: name, logo, or product line displayed in connection with the nonprofit’s activities. Comparative or qualitative language, pricing information, endorsements, and calls to action turn the payment into taxable advertising revenue.7Internal Revenue Service. Advertising or Qualified Sponsorship Payments
Printing a company’s logo in an event program is an acknowledgment. Printing “Visit Acme Corp for 20% off your first order” is advertising. When a single deal includes both, the IRS splits it: the acknowledgment portion stays tax-free and the advertising portion is taxable. Payments contingent on attendance levels or broadcast ratings also lose their protection.
Investment and Passive Income
Interest, dividends, annuities, royalties, and rents from real property are generally excluded from unrelated business taxable income.8Internal Revenue Service. Taxation of Passive Income as Unrelated Business Income Gains from selling investments are also excluded, provided the property was not inventory or held for sale to customers in the ordinary course of business. Nonprofits can build endowments, earn returns on reserves, and license intellectual property without a tax bill.
The big exception is debt-financed property. When a nonprofit borrows to buy or improve property and uses that property to generate income unrelated to its exempt purpose, a proportional share of the income becomes taxable based on the outstanding debt. Borrow to buy a rental building and still owe 60 percent of the purchase price, and roughly 60 percent of the net rental income is taxable that year.9Internal Revenue Service. IRC 514 – Unrelated Debt-Financed Income Property used at least 85 percent for exempt purposes avoids this rule entirely.
Rents from real property also lose their exclusion when the nonprofit provides substantial services to tenants beyond basic maintenance, such as staffed concierge services, security, and specialized equipment. At that point the arrangement looks less like passive rent and more like a service business.
Filing Form 990-T and Paying the Tax
Any tax-exempt organization with $1,000 or more in gross income from unrelated business activities has to file IRS Form 990-T, a separate return from the standard annual Form 990.10Internal Revenue Service. Unrelated Business Income Tax The return is due by the 15th day of the fifth month after the tax year ends, so a calendar-year nonprofit files by May 15.11Internal Revenue Service. Instructions for Form 990-T
Unrelated business taxable income is taxed at the flat 21 percent corporate rate. The statute computes the tax under the same provision that applies to regular corporations,12Office of the Law Revision Counsel. 26 U.S.C. 511 – Imposition of Tax on Unrelated Business Income which sets the rate at 21 percent of taxable income.13Office of the Law Revision Counsel. 26 U.S.C. 11 – Tax Imposed Before computing the tax, you can deduct expenses directly connected to the unrelated activity and claim a flat $1,000 specific deduction, which effectively makes the first $1,000 of net unrelated income tax-free.14Office of the Law Revision Counsel. 26 U.S.C. 512 – Unrelated Business Taxable Income
Each Unrelated Business Stands Alone
If you run more than one unrelated business, you cannot pool the results. The siloing rule added by the Tax Cuts and Jobs Act requires each unrelated trade or business to be computed separately, and a loss from one activity cannot offset income from another.14Office of the Law Revision Counsel. 26 U.S.C. 512 – Unrelated Business Taxable Income Total unrelated business taxable income is the sum of each activity’s separate result (none counting below zero), minus the single $1,000 specific deduction. A nonprofit with a profitable parking garage and a money-losing gift shop pays tax on the parking income with no reduction for the gift shop losses. Net operating losses generated after 2017 can only be carried forward against income from the same activity that produced them.
Estimated Payments and Penalties
If you expect your annual unrelated business income tax to reach $500 or more, you have to make quarterly estimated payments using Form 990-W.15Internal Revenue Service. Estimated Tax – Unrelated Business Income Missing the Form 990-T deadline triggers a penalty of 5 percent of the unpaid tax for each month or partial month the return is late, up to a maximum of 25 percent. Returns more than 60 days late face a minimum penalty of $525 or the amount of tax due, whichever is smaller.11Internal Revenue Service. Instructions for Form 990-T Interest runs on top of the penalties.
Splitting Expenses Between Uses
When staff, office space, or equipment serves both the exempt mission and an unrelated business, you have to allocate costs between the two on a reasonable basis. Only the portion tied to the unrelated activity qualifies as a deduction against that income. The IRS does not prescribe a formula. Splits by hours of use or square footage are common. Whatever method you pick, document it. Unreasonable allocations invite audit adjustments that raise the tax.
When Commercial Activity Threatens Exempt Status
Earning unrelated business income does not, by itself, put your 501(c)(3) status at risk. The problem starts when commercial activity begins to overshadow the charitable mission. The IRS applies several overlapping tests.
Primary Purpose
A 501(c)(3) must be organized and operated exclusively for exempt purposes,16Internal Revenue Service. Exemption Requirements – 501(c)(3) Organizations and in practice “exclusively” has been read as “primarily.” If running a business becomes the organization’s chief purpose rather than a funding mechanism, the exemption is at risk. The IRS looks at total operations, not any single financial ratio.
Commensurate Test
An organization can derive most of its revenue from commercial sources and still keep its exemption if its charitable spending is commensurate with its financial resources.17Internal Revenue Service. Update on Fundraising – The Commensurate Test Sitting on large commercial revenue while running minimal programming does not pass.
Commerciality Doctrine
This doctrine looks at how the organization operates. Competing directly with for-profits, setting market prices, advertising aggressively, and relying on paid staff rather than volunteers all count. No single factor is disqualifying, but the more commercial the operation looks, the harder it becomes to argue the primary purpose is still charitable.18Internal Revenue Service. Exempt Organizations Technical Guide – Disqualifying and Non-Exempt Activities
Losing exempt status is not just a relabeling. Donations stop being deductible, all income becomes subject to corporate tax, and the IRS can assess back taxes and penalties reaching to the year the organization stopped qualifying.
Spinning a Business Into a Taxable Subsidiary
When commercial activity grows large enough to threaten exempt status, a common structural fix is to move the business into a separate taxable corporation. The nonprofit owns the subsidiary, the subsidiary runs the commercial venture, and the subsidiary pays regular corporate tax on its earnings. The unrelated business stays at arm’s length from the charitable mission.
The structure has its own traps. Payments from a subsidiary that is more than 50 percent controlled by the nonprofit get special scrutiny. Interest, rent, royalties, and annuities from a controlled entity do not automatically qualify for the passive income exclusion that normally shields them from unrelated business income tax.19Internal Revenue Service. Exempt Organizations Annual Reporting Requirements – Form 990, Schedule R Dividends from a controlled subsidiary generally remain excluded, but interest does not, so the form of payment between parent and subsidiary matters. Every financial transaction with the controlled entity has to be reported on Form 990 regardless of amount.
The IRS also watches for private benefit. If profits flow to insiders rather than supporting the exempt purpose, or if the two entities lack meaningful operational separation, the nonprofit can still lose its exemption. Transactions between parent and subsidiary should happen at fair market value, get documented in detail, and be structured to advance the charitable mission.