Free AuditEnterprise AIShelfSense
Back to Blog
ComplianceJan 202611 min read

Food Waste Tax Deductions: IRS Section 170(e)(3)

The enhanced deduction for food donations, who qualifies, how to calculate it, and the documentation that survives an IRS audit.

Most food businesses are leaving money in the dumpster

There is a particular species of tax provision that I find genuinely fascinating: the kind where Congress, in a rare moment of coherent incentive design, manages to align doing the right thing with doing the profitable thing. IRS Section 170(e)(3) is one of those provisions. It lets you take a substantially larger tax deduction for donating food inventory than you'd get from simply writing it off as spoilage, and yet the overwhelming majority of food businesses either don't know it exists or have convinced themselves the paperwork isn't worth it. They are, in most cases, wrong about the paperwork.

Let me walk you through why. Suppose you're a bakery and you've got $1,000 worth of product (at cost) that's approaching its sell-by date. The retail value of that product, what your customers normally pay, is $2,500. If you throw it away or write it off as spoilage, you get a cost-of-goods-sold deduction of $1,000. At a 21% corporate tax rate, that saves you $210. Fine. That's the default, and it's what most people do, because defaults are powerful.

But if you donate that same product to a qualifying food bank under Section 170(e)(3), you get what's called the "enhanced deduction." The formula works like this: you take your cost basis of $1,000, then add half the difference between the fair market value and the cost basis, so half of $1,500, which is $750. Your total deduction is $1,750. The statute caps the deduction at twice your cost basis (so $2,000 in this case), and $1,750 is under that ceiling, so you claim the full amount. At the same 21% rate, that's $368 in tax savings instead of $210. You just picked up an extra $158 in tax benefit on a single batch of expiring bakery items, for the low cost of calling a food bank instead of calling the garbage truck.

Now, $158 on one batch doesn't sound transformative. But if you're a grocery store or a restaurant doing this weekly, that's north of $8,000 per year in additional tax benefit on relatively modest volumes. Scale it up to a multi-location operation generating $5,000 per week in expiring inventory at cost, and the incremental annual benefit starts looking like a respectable employee's salary. This is real money, and it compounds in your favor because the alternative (the spoilage write-off) was going to happen anyway.

Free Tool

Not sure how much you're losing to expiry?

Run a free inventory waste audit — find your bleeding SKUs in 60 seconds. No sign-up required.

Run free audit

Who actually gets to use this

For a long time, this was a C-corporation-only party, which meant the vast majority of restaurants and grocery stores (which are overwhelmingly structured as S-corps, LLCs, or partnerships) were locked out. Congress fixed this in 2015 with the PATH Act, which made the enhanced deduction permanent and extended it to all business types. This was, frankly, a bigger deal than most operators realized at the time. If you're an S-corp or LLC taxed as a partnership, the deduction flows through to you on your K-1 and you claim it on your individual return, subject to a 15% of AGI limitation. Sole proprietors pick it up on Schedule A. C-corps get a 15% of taxable income limit, which sits on top of the general 10% cap for other charitable contributions, giving you a combined ceiling of 25%. Any excess carries forward five years.

The pass-through entity math actually gets more interesting at higher individual marginal rates. If you're an S-corp owner in the 37% bracket, the spread between a write-off and a donation is even wider than the C-corp example above. That same $1,750 deduction saves you $648 instead of $370 on a write-off, a difference of $278 per batch. Congress rarely designs incentives that get better for small business owners at higher income levels, so you might as well enjoy this one.

The five things you have to get right

The IRS, in its wisdom, did not make this a freebie. There are five qualification requirements, and missing any single one of them drops you back to a basis-only deduction or potentially no deduction at all. This is the part where businesses either get disciplined about process or decide the whole thing is too complicated (and, again, they're usually wrong about it being too complicated, but I understand the impulse).

First, the food has to be "wholesome," which is a term of art meaning fit for human consumption under applicable law. This is less restrictive than people assume. Food approaching its sell-by date is almost always wholesome. Food past its best-by date may or may not be, depending on the product and local health codes. The important thing is that you're donating food you could still legally sell, just food that you've decided you're not going to sell because it won't move quickly enough. If you wouldn't feel comfortable serving it to a customer, don't donate it and claim a deduction, because that's not what the statute contemplates.

Second, the recipient has to be a 501(c)(3) that specifically qualifies under Section 170(c), and this is the part people get sloppy about. It's not enough that the organization is a valid charity. Your local church, your kid's school PTA, the community theater with a 501(c)(3) letter, none of these qualify unless they are specifically using your donated food for the care of the ill, needy, or infants. Food banks, soup kitchens, and homeless shelters are the paradigmatic qualifying organizations. Get written confirmation of both the organization's 501(c)(3) status and its qualification under 170(e)(3) specifically, because the IRS will cheerfully disallow your deduction if the recipient doesn't meet both prongs.

Third (and this is closely related), the food has to actually be used for the care of the ill, needy, or infants. This is an end-use requirement, not just a recipient-type requirement. If the food bank takes your donated pasta and uses it for a fundraising gala rather than distributing it to people in need, that donation doesn't qualify. In practice, most qualifying organizations will give you written assurance about end use, and you should absolutely keep that documentation.

Fourth, you need a written statement from the donee organization. This is mandatory, not optional, and its absence is fatal to the enhanced deduction even if literally everything else is perfect. The statement has to confirm that they're a qualifying organization, that the food will go to the ill, needy, or infants, and that they won't sell or exchange it. Form 8283 requires this for donations over $500, but you should get it for every donation regardless of size, because building the habit costs you nothing and protects you in audit.

Fifth, the percentage limitations apply. I mentioned them above: 15% of taxable income for C-corps, 15% of AGI for individuals. If you're a mid-size grocery operation donating aggressively, you can potentially bump up against these ceilings, though most businesses I've seen are nowhere close. Excess carries forward five years, so you don't lose the deduction permanently, you just defer it.

The documentation burden is real but manageable

I want to be honest about this: the documentation requirements for 170(e)(3) are stricter than most business deductions, and the IRS knows this is a high-value deduction and staffs its audits accordingly. You need to record the date of every contribution, the recipient's name, address, and EIN, a specific description of the food donated (not "assorted items" but something a human being could actually identify), the quantity by units or weight, the cost basis, the fair market value with supporting data showing how you determined it, the method you used (shelf price, invoice price, whatever), and the written statement from the recipient. For donations over $250, you need bank records or receipts. And here's the one that catches people: if your aggregate annual food donations exceed $5,000 across all recipient organizations combined, you need a qualified appraisal and Form 8283 Section B. Most grocery stores making regular weekly donations will blow through $5,000 by March, so budget for the annual appraisal cost if you're serious about this.

The good news is that once you build the system, the marginal cost of documenting each additional donation is close to zero. This is a process design problem, not a tax complexity problem. You need your inventory system to track donated items as a distinct disposition category, separate from sales and separate from spoilage write-offs, because the single most common audit adjustment I've seen in this area is the double-deduction: a business that includes donated items in cost of goods sold and also claims a charitable deduction for the same items. The IRS catches this by comparing your inventory reconciliation to your charitable deduction schedule, and it's not a fun conversation to have with an examiner.

Fair market value, for what it's worth, means your established retail price for grocery stores, your menu price for restaurants, and your typical wholesale price for distributors. You cannot inflate it. The IRS has won on inflated valuations in Tax Court and they will pursue these cases. Use your POS data, your published price lists, your invoices. One genuinely helpful wrinkle: if you've already marked down an item for clearance, you still use the regular pre-markdown price as FMV for donation purposes, because the tax definition of fair market value is what you'd normally charge, not what you were desperately trying to charge to move aging product.

The liability question nobody asks about (but should)

The Bill Emerson Good Samaritan Food Donation Act, which has been federal law since 1996, provides civil and criminal liability protection for businesses that donate food in good faith to nonprofit organizations. This is the part that, when I mention it to food business operators, produces a visible shift in body language. The number one unstated reason businesses don't donate expiring food isn't the paperwork, it's the fear that someone will get sick and sue them. The Good Samaritan Act essentially eliminates that risk for good-faith donations of apparently wholesome food, with liability attaching only in cases of gross negligence or intentional misconduct. If you're donating food that you would have been comfortable selling the day before, you're well within the Act's safe harbor. The protection extends to the recipient organizations too, which is why most established food banks are happy to take your near-date product; they've built their entire operational model around the legal framework that makes it safe for everyone involved.

There's a nice symmetry here: the same "wholesome" standard that qualifies your food for the enhanced tax deduction also puts you squarely within the Good Samaritan Act's liability protection. If the food is fit for human consumption (which it needs to be for 170(e)(3)), you're protected from liability (under the Good Samaritan Act). Congress, for once, made the two statutes talk to each other.

When the economics actually work

Let me give you the honest version of the ROI calculation, because I think the tax advisory world tends to oversell this. If you're a single-location restaurant generating $200 per week in expiring food at cost, with a typical 2.5x markup to retail, your annual enhanced deduction is roughly $18,200 versus a spoilage write-off of about $10,400, for an incremental deduction of $7,800. At a 24% marginal rate (a reasonable assumption for a successful single-location owner), that's about $1,870 in additional tax savings per year. That is genuinely worth having, but it's probably not worth hiring a dedicated person to manage the program. It is, however, absolutely worth spending a few hundred dollars on a CPA consultation to set up the process correctly and then running it as part of your existing inventory workflow.

The economics get compelling at scale. A multi-location grocery operation generating $3,000 per week per location in expiring inventory, across say five locations, is looking at $780,000 in annual cost basis. The enhanced deduction (assuming a 2.5x average markup) would be approximately $1,365,000 versus a write-off of $780,000, an incremental deduction of $585,000. At a 37% marginal rate, that's $216,000 in additional annual tax savings. At that point, the program essentially pays for a part-time compliance person and an annual appraisal and still generates substantial net benefit. The break-even point where the administrative overhead clearly justifies itself is somewhere around $1,000 to $1,500 per week in expiring inventory at cost, though this varies based on your markup ratios and marginal tax rate.

The operational key (and this is the part that separates businesses that actually capture this value from businesses that talk about capturing it) is identifying donation-eligible inventory before it crosses the line from "wholesome but unsellable" to "spoiled." That window is usually measured in days, sometimes hours for prepared foods. If your process for identifying expiring product consists of an employee noticing something looks off during a slow Tuesday afternoon, you are leaving most of the potential benefit on the table. You need systematic shelf-life tracking that flags items in the donation window, ideally with enough lead time to coordinate pickup with your food bank partner. Monthly reconciliation of donation records, not a panicked year-end scramble in December, is what keeps the documentation audit-ready.

This is, fundamentally, an inventory management problem that happens to have a very favorable tax treatment attached to it. The businesses that do it well are the ones that treat donation as a standard inventory disposition workflow, as routine as receiving shipments or running markdowns, rather than as an occasional charitable impulse. Build it into the system, document it as you go, and the tax benefit follows naturally.


ShelfLifePro helps food businesses track expiration dates and identify donation-eligible inventory before it spoils, so you capture the 170(e)(3) enhanced deduction instead of settling for a write-off. It's not tax advice, but it's the operational infrastructure that makes good tax advice actionable. See how it works at [/food-beverage](/food-beverage).

See what batch-level tracking actually looks like

ShelfLifePro tracks expiry by batch, automates FEFO rotation, and sends markdown alerts before stock expires. 14-day free trial, no credit card required.