Yes, a nonprofit can sell merchandise, and plenty do without any threat to their tax-exempt status. The question that actually matters is whether the sales are tied to the organization’s exempt mission. Sales that advance the mission are generally tax-free. Sales that don’t may owe federal tax at 21% on the net profit, though several common exceptions can keep even unrelated sales untaxed. The exempt status itself is only at risk if selling becomes the organization’s main activity.
When Sales Count as Mission-Related
The best outcome is when the merchandise itself does the work of your exempt purpose. The IRS calls this being “substantially related” — the selling activity has to contribute importantly to accomplishing the charitable, educational, or other exempt function. The key word is “itself.” Spending the profits on your mission doesn’t count; the sale has to carry the mission forward.
A museum gift shop selling prints of works from 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 — these all tie the product directly to what the organization exists to do. Revenue from this kind of sale is not subject to unrelated business income tax.
Where organizations get tripped up is assuming that any sale “supporting the mission” qualifies. A wildlife rescue selling branded coffee mugs generates revenue for the cause, but selling mugs does not rehabilitate animals. The distinction matters for tax purposes even though the money ends up in the same place.
The Three-Part Test for Unrelated Sales
When merchandise isn’t mission-related, the IRS applies a three-part test to decide whether the income is subject to Unrelated Business Income Tax (UBIT). All three must be true for the tax to apply:
- The activity is a trade or business conducted to produce income from selling goods or services.
- It is regularly carried on, with a frequency and continuity comparable to a commercial operation.
- It is not substantially related to the exempt purpose, aside from generating money.
The middle prong is where many nonprofits find relief. The IRS compares your activity to how a for-profit competitor would operate. A nonprofit that sells T-shirts year-round from a permanent online store looks like a retailer. A nonprofit that sells T-shirts only at its annual gala does not. Under Treasury Regulation 1.513-1(c)(2)(iii), short-term activities that recur occasionally or annually — a fundraising dinner, 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 charity running a commercial parking garage open to the public has an unrelated business, even if every dollar funds its programs.
Exceptions That Keep Unrelated Sales Tax-Free
Even when sales meet all three parts of the test, statutory exceptions under Section 513(a) can keep the income out of UBIT. These cover a lot of common nonprofit fundraising.
Volunteer Labor
If substantially all the work of running the sales operation is done by unpaid volunteers, the activity is excluded from unrelated trade or business entirely. This is the classic charity gift shop or bake sale. The exception applies regardless of what’s being sold; the merchandise doesn’t need to relate to your mission as long as the labor is uncompensated.
Donated Merchandise
Selling goods that were substantially all received as gifts or donations is also excluded. Nonprofit thrift stores rely on this exception. If you collect donated items and resell them, the income falls outside UBIT even though a thrift store has nothing to do with most organizations’ 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 standard example. The merchandise serves the people the organization exists to help.
What the Tax Actually Costs
When none of the exceptions apply, net income from the unrelated sales is taxed at 21%, the same flat rate for-profit corporations pay 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, marketing for those products, and a proportionate share of overhead. On top of that, Section 512(b)(12) gives you a flat $1,000 specific deduction, which means small amounts of unrelated income often result in no tax at all.
What You Have to File
If your nonprofit earns $1,000 or more in gross income from unrelated business activity, you must file Form 990-T. The $1,000 threshold is based on gross income before deductions, so you may need to file even if expenses wipe out your net taxable income. 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, you’ll also need to make quarterly estimated payments.
Form 990-T is separate from your annual Form 990 or 990-EZ. Filing one does not satisfy the other. For 501(c)(3) organizations, Form 990-T is subject to public disclosure, so donors can see your unrelated business income.
State Sales Tax Is a Separate Question
Federal tax-exempt status does not exempt you from collecting state sales tax. In most states, when a nonprofit sells tangible merchandise to the public, it must collect and remit sales tax like any other retailer. Some states offer limited exemptions, particularly for intermittent fundraising events, but those vary significantly 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 revenue department. For inventory you’re buying to resell, a resale certificate usually lets you skip sales tax at the wholesale level, since you’ll collect it from the end buyer. Online sales across state lines add another layer: after the Supreme Court’s 2018 decision in South Dakota v. Wayfair, most states impose economic nexus thresholds (commonly $100,000 in sales or 200 transactions) that can require you to register and collect tax in states where you have no physical presence. Nonprofits are not generally exempt.
Will Selling Merchandise Threaten Your Exempt Status?
Paying UBIT does not, by itself, put your exempt status at risk. Many nonprofits file Form 990-T year after year without any problem. The danger shows up when unrelated business activity starts to look like the organization’s main purpose rather than a side activity funding the mission.
The IRS has never set a bright-line percentage for how much unrelated income is too much. Treasury Regulation 1.501(c)(3)-1(e)(1) addresses the question but is notoriously vague, and even tax professionals acknowledge the qualitative threshold is unclear. What the IRS looks at is whether the primary purpose has shifted. If an outside observer would conclude your nonprofit exists to run a retail operation rather than carry out a charitable mission, revocation becomes a real possibility.
The practical safeguard is simple. Keep unrelated activity clearly secondary to your exempt work, both in revenue and in time. Track related andced unrelated income separately, document how each sales activity connects (or doesn’t connect) to your mission, and run the analysis again whenever you launch a new product line. Organizations that treat this as an ongoing question rather than a one-time determination rarely get into trouble.