Yes, a nonprofit can sell merchandise, and many do without any risk to their tax-exempt status. The tax treatment depends on one question: does the sale itself advance your exempt mission, or is it just a way to raise money? Sales that directly further your charitable, educational, or other exempt purpose are generally tax-free. Sales that don’t may be subject to a 21% federal Unrelated Business Income Tax on the net profits, unless a specific exception applies.
When Merchandise Sales Are Tax-Free
The most favorable case is when the sale itself does the work of your mission. The IRS treats a business activity as “substantially related” when the activity contributes importantly to accomplishing the organization’s exempt function. The key word is “itself.” Using profits to fund your mission doesn’t count. The selling activity has to do the mission’s work.
A museum gift shop selling prints of works in its permanent collection is the textbook example. The sale extends the museum’s educational purpose by putting its art into more hands. A literacy nonprofit selling children’s books, a conservation group selling native plant seeds, a historical society publishing local history guides — each of these ties the merchandise directly to what the organization exists to do. Revenue from these sales is not subject to unrelated business income tax.
Where nonprofits get tripped up is assuming that any sale “supporting the mission” qualifies. A wildlife rescue selling branded coffee mugs raises money for the cause, but selling mugs doesn’t rehabilitate animals. That distinction matters for tax purposes, even when the money ends up in the same place.
The Three-Part Test for Unrelated Business Income
When merchandise sales don’t advance your exempt purpose, the IRS runs a three-part test. All three conditions must be met for the tax to apply:
- The activity is a trade or business conducted with the intent to produce income from selling goods or services.
- It is regularly carried on, with a frequency and continuity comparable to similar commercial operations.
- It is not substantially related to the organization’s exempt purpose, aside from generating revenue.
The middle prong is where many nonprofits find relief. The IRS compares your selling activity to how a commercial competitor would operate. A nonprofit running a permanent online T-shirt store year-round looks like a retailer. A nonprofit selling T-shirts only at its annual gala does not. Under Treasury Regulation 1.513-1(c)(2)(iii), activities that last only a short period and recur occasionally or annually — like a fundraising dinner or a weekend bake sale — are generally not treated as regularly carried on, even if they happen every year.
The third prong ignores how you spend the profits. A charitable organization operating a commercial parking garage open to the general public has an unrelated business, even if every dollar of profit funds its charitable programs.
Exceptions That Keep Sales Tax-Free Anyway
Even when merchandise sales meet all three parts of the test, several statutory exceptions under Section 513(a) can still keep the income out of UBIT. These cover some of the most common nonprofit fundraising activities.
Volunteer Labor
If substantially all the work of running the sales operation is performed by unpaid volunteers, the activity is excluded from unrelated trade or business entirely. This is the exception behind the classic charity gift shop or bake sale. The merchandise doesn’t have to relate to your mission. The labor just has to be uncompensated.
Donated Merchandise
Selling goods that were substantially all received as gifts or donations is also excluded. Thrift stores operated by nonprofits rely on this heavily. If your organization collects donated items and resells them, the income falls outside unrelated business income even though a thrift store has nothing to do with most nonprofits’ stated missions.
Convenience of Members, Students, or Patients
For 501(c)(3) organizations, sales conducted primarily for the convenience of members, students, patients, officers, or employees are excluded. A university bookstore selling textbooks and supplies to enrolled students is the classic case.
How the Tax Is Calculated
When none of the exceptions apply and the three-part test is met, the net income is subject to UBIT at 21%, the same flat rate that applies to for-profit corporations under IRC Section 11.
UBIT is calculated on net income, not gross revenue. You can deduct expenses directly connected to the unrelated activity: cost of goods sold, shipping, product-specific marketing, and a proportionate share of overhead. After those deductions, a flat $1,000 specific deduction under Section 512(b)(12) comes off the top, which often wipes out the tax entirely for small operations.
Certain passive income is excluded from UBIT altogether under Section 512(b), even when it comes from an unrelated activity. Dividends, interest, annuities, royalties, and most rents from real property are carved out. So if your nonprofit licenses its logo to a merchandise company and receives royalty payments instead of selling products directly, those royalties are generally not subject to UBIT.
What You File and When
If your nonprofit earns $1,000 or more in gross income from unrelated business activities, you must file Form 990-T. That threshold is based on gross income before deductions, so you may need to file even when net taxable income is zero. Form 990-T must be filed electronically. Paper filing is not an option for organizations subject to tax under Section 511.
For calendar-year nonprofits, Form 990-T is due May 15 — the 15th day of the 5th month after the end of your tax year — with a six-month extension available. If you expect to owe $500 or more in UBIT for the year, quarterly estimated payments are required.
Form 990-T is separate from your annual information return (Form 990 or 990-EZ). Filing one does not satisfy the requirement for the other. For 501(c)(3) organizations, Form 990-T is subject to public disclosure.
State Sales Tax Still Applies
Federal tax-exempt status does not exempt your nonprofit from collecting state sales tax. This catches many organizations off guard. In most states, when a nonprofit sells tangible merchandise to the public, it must collect and remit sales tax like any retail business. Some states offer limited exemptions, particularly for intermittent fundraising events, but these vary and often require advance registration or a specific exemption certificate.
If you plan to sell merchandise regularly, you’ll likely need to register for a seller’s permit or sales tax ID with your state’s revenue department. When you buy inventory for resale, a resale certificate lets you avoid sales tax at the wholesale level because you’ll be collecting it from the end buyer. Online sales across state lines add another layer: after South Dakota v. Wayfair (2018), most states impose economic nexus thresholds — commonly $100,000 in sales or 200 transactions — after which you must register and collect that state’s sales tax. Nonprofits are not generally exempt from these requirements.
Sponsor Logos on Merchandise
If you put sponsor logos on event T-shirts, tote bags, or programs, the line between a qualified sponsorship acknowledgment and taxable advertising income matters. A qualified sponsorship payment is one where the sponsor receives nothing more than recognition of their name, logo, or product line. That payment is not subject to UBIT. But qualitative or comparative language (“Best pizza in town!”), price information, savings claims, or explicit endorsements turn the message into advertising, and the payment becomes potentially taxable.
The practical rule: keep sponsor recognition on merchandise limited to names, logos, neutral slogans, and neutral product-line descriptions. Anything that promotes the sponsor’s products crosses the line.
Keeping Merchandise Sales From Threatening Your Exempt Status
Paying UBIT on unrelated sales does not, by itself, endanger your tax-exempt status. Many nonprofits file Form 990-T every year without issue. The risk arises when unrelated business activity starts to look like the organization’s primary purpose rather than a side activity that funds the mission.
The IRS has not published a bright-line percentage for how much unrelated business income is too much. Treasury Regulation 1.501(c)(3)-1(e)(1) addresses the issue, but the guidance is vague, and even tax professionals acknowledge that the qualitative threshold is unclear. What the IRS examines is whether the organization’s primary purpose has shifted. If an outside observer would conclude that your nonprofit exists to run a retail operation rather than to carry out a charitable mission, revocation becomes a real possibility.
Practically, the safeguards are simple. Keep unrelated business clearly secondary in both revenue and staff time. Track related and unrelated income separately. Document how each sales activity connects, or doesn’t connect, to your mission. Revisit the analysis whenever you launch a new product line. Organizations that treat this as an ongoing question, not a one-time determination, rarely run into trouble.