Every December I hear some version of this: "I'll buy a lot of stock before year end and write it off." If you sell products, whether on Amazon, from a store or out of a warehouse, that usually doesn't work the way people expect. Inventory isn't deducted when you buy it. It's deducted when you sell it, through cost of goods sold. If you sell on a marketplace, see what the 1099-K means for you.
I'm Solomon Grosinger, an IRS Enrolled Agent. In this guide I explain how inventory and cost of goods sold work on your tax return, what goes into the cost of your inventory, the valuation methods the IRS allows, the small business inventory options that let many businesses skip formal inventories, the Section 263A uniform capitalization rules and the small business exception, what happens with damaged, stolen or personal-use items, and how inventory purchases interact with sales tax in New York, New Jersey, Connecticut and Pennsylvania.
The short version: the cost of products you buy to resell becomes a deduction as cost of goods sold when the items are sold. Whatever is still on the shelf on December 31 is ending inventory, and it carries over to next year. Small businesses with average gross receipts of $32 million or less for 2026 have simpler options, but even those options generally don't let you deduct unsold stock just because you paid for it.

Why inventory isn't a deduction when you buy it
The Schedule C instructions say that if the production, purchase or sale of merchandise is an income-producing factor in your business, you generally have to take inventories into account at the beginning and end of your tax year. The cost of the items you sold during the year is your cost of goods sold. The cost of what you still have is inventory, an asset.
The math is simple:
| Step | What it means |
|---|---|
| Beginning inventory | What was on hand on January 1 (last year's ending inventory) |
| Plus purchases | Products bought for resale during the year, less items you took for personal use |
| Plus labor, materials and other costs | For businesses that make products: production labor (not amounts paid to yourself), materials, supplies and other costs that belong in inventory |
| Minus ending inventory | What's left on December 31, valued under your method |
| Equals cost of goods sold | The deduction, which reduces gross receipts on Schedule C |
On the current Schedule C, this is Part III: line 35 beginning inventory, line 36 purchases less cost of items withdrawn for personal use, line 37 cost of labor (not amounts paid to yourself), line 38 materials and supplies, line 39 other costs, line 41 ending inventory, and line 42 cost of goods sold, which carries to line 4.
Example: the December stock-up (hypothetical numbers)
Marcus sells phone accessories online. He started 2026 with $10,000 of inventory and bought $60,000 of products during the year, including a $20,000 order in December to "get the write-off." At year end, he counts $28,000 of stock on hand.

| Line | Amount |
|---|---|
| Beginning inventory | $10,000 |
| Plus purchases | $60,000 |
| Goods available for sale | $70,000 |
| Minus ending inventory | ($28,000) |
| Cost of goods sold | $42,000 |
Marcus spent $60,000 but deducts $42,000. Most of the December order is sitting in ending inventory, so it didn't reduce his 2026 tax. It becomes part of cost of goods sold in 2027 when those items sell. The December purchase mostly moved cash out of his bank account and into his stockroom.
What goes into the cost of inventory
Publication 334 lists the items included in inventory: merchandise or stock in trade, raw materials, work in process, finished products, and supplies that physically become part of the item intended for sale.
For merchandise you buy, Publication 538 says cost means the invoice price minus appropriate discounts, plus transportation or other charges incurred in acquiring the goods. A trade discount, like a volume discount, reduces the cost of the inventory. Cost can also include other costs that have to be capitalized under Section 263A, covered below.
Identifying and valuing your inventory
You need two methods: one to identify which costs belong to the items on hand, and one to value them. Your method has to conform to generally accepted accounting principles for similar businesses, clearly reflect income, and be used consistently from year to year.
| Method | How it works | Notes |
|---|---|---|
| Specific identification | Match the actual cost to each item | Works when items can be individually tracked. |
| FIFO (first-in, first-out) | Assumes the items bought first were sold first; ending inventory reflects the most recent costs | Used when identical goods are mixed together. |
| LIFO (last-in, first-out) | Assumes the items bought last were sold first | In rising prices, LIFO gives a larger cost of goods sold and lower ending inventory. Lower of cost or market can't be used with LIFO. |
| Cost | Value inventory at cost, including direct and indirect costs that belong in it | |
| Lower of cost or market | Compare the market value of each item to its cost and use the lower | Not for goods under a firm fixed-price sales contract or goods under LIFO. |
| Goods that can't be sold at normal prices | Damaged, imperfect, shop-worn, out of style or odd lots | Value at the bona fide selling price minus direct cost of disposition, whatever method you use for the rest. |
Publication 538 also says you must take a physical inventory at reasonable intervals and adjust the book amount to match the actual count. If you want to change your inventory method, you generally file Form 3115.
Small business inventory options under Section 471(c)
Small business taxpayers can choose not to keep a formal inventory. You qualify for a year if you're not a tax shelter and your average annual gross receipts for the three prior tax years don't exceed the inflation-adjusted limit:
| Tax years beginning in | Gross receipts test (3-year average) | Source |
|---|---|---|
| 2025 | $31 million | IRS Publication 334 |
| 2026 | $32 million | Rev. Proc. 2025-32 |
If you qualify and choose not to keep an inventory, your method still has to clearly reflect income. The IRS accepts two approaches:
- Treat inventory as non-incidental materials and supplies. You deduct the cost in the year the items are first used or consumed in your business, and inventory is used or consumed in the year you provide it to your customers. So you still generally can't deduct goods you haven't sold or provided to customers yet.
- Follow your financial accounting treatment. Use the method in your applicable financial statement, or if you don't have one, the method in your books and records prepared under your accounting procedures.
This is where the "write off everything" idea usually falls apart. The small business options simplify the bookkeeping. They are not a way to deduct a stockroom full of unsold goods. If you do keep an inventory, you generally have to use an accrual method for it and value it each year in Part III of Schedule C.
Switching to one of these methods is an accounting method change. The Form 3115 instructions list it among the changes that qualifying small businesses can make under the automatic change procedures.
Section 263A uniform capitalization and the small business exception
The uniform capitalization (UNICAP) rules of Section 263A require businesses that produce property or buy property for resale to capitalize direct costs and part of their indirect costs into inventory, rather than deducting them right away.
Publication 334 lists two key exceptions:
- Small business taxpayers that meet the same gross receipts test ($32 million for 2026) aren't subject to the UNICAP rules.
- Property you produce if your indirect costs of producing it are $200,000 or less.
For most small online sellers and retailers, this means UNICAP doesn't apply. But the gross receipts test looks back three years, so a fast-growing business should check it every year.
Damaged, stolen or personal-use inventory
- Casualty or theft: according to Publication 538, you generally claim a casualty or theft loss of inventory through a higher cost of goods sold by properly reporting opening and closing inventories. You can't claim the same loss again as a separate casualty or theft loss. Any insurance reimbursement is taxable. You can choose to claim it separately instead, but then you adjust opening inventory or purchases so the loss isn't counted twice.
- Unsellable goods: damaged or obsolete items can be valued at their bona fide selling price minus disposition costs, as explained above. Keep proof of the condition and what you did with them.
- Personal use: items you take out of inventory for yourself come out of purchases. Schedule C line 36 is literally "purchases less cost of items withdrawn for personal use."
Inventory, sales tax and state income tax in New York, New Jersey, Connecticut and Pennsylvania
For state income tax, your cost of goods sold generally comes along with your federal numbers: New York and Connecticut start from federal adjusted gross income, New Jersey has you attach Schedule NJ-BUS-1 and a copy of your federal Schedule C, and Pennsylvania reports business income on line 4 of the PA-40 with PA Schedule C, where Pennsylvania's own income classifications control if they differ from federal ones.
Sales tax matters when you buy inventory. If you're registered in the state, you generally give your supplier a resale certificate so you don't pay sales tax on goods you'll resell:

| State | Resale certificate | Notes |
|---|---|---|
| New York | Form ST-120, Resale Certificate | Can be single-use or blanket. Temporary vendors must use a single-use certificate. It can't be used for items or services that aren't for resale. |
| New Jersey | Form ST-3, check the Resale Certificate box | Can be single-purchase or blanket. Give it to the seller; don't mail it to the Division of Taxation. |
| Connecticut | DRS Sales and Use Tax Resale Certificate | Under Connecticut's regulation, the seller has the burden of proving a sale isn't a retail sale unless it takes a resale certificate from the buyer in good faith. |
| Pennsylvania | Form REV-1220, Pennsylvania Exemption Certificate | Unit (one transaction) or blanket certificate. Reason 3 is property that will be resold under your Pennsylvania Sales Tax License ID. |
Be careful with items you buy tax-free for resale and then use yourself. New York's Form ST-120, for example, says you must report and pay the unpaid tax directly to the state in that case. And on the federal side, sales tax you pay on property bought for use in your business is treated as part of the cost of the property under the Schedule C instructions. If you sell into other states, my article on economic nexus covers when you have to collect their sales tax. If you sell online across state lines, read the article on economic nexus.
Inventory tax deduction checklist
- Count your inventory on December 31 (or your year end) and keep the count sheets. Bank statements alone may not be enough; see what proves a business expense.
- Value it consistently using your chosen method: cost or lower of cost or market, with specific identification, FIFO or LIFO.
- Include freight-in and subtract trade discounts in inventory cost.
- Write down damaged or obsolete goods to their bona fide selling price, with proof.
- Remove items taken for personal use from purchases.
- Check the gross receipts test each year: $32 million average for 2026.
- If you want a simpler method, look at the Section 471(c) options and file Form 3115 to change.
- Don't buy inventory in December just for a deduction. Buy it because you expect to sell it.
- Use resale certificates for inventory purchases in states where you're registered.
FAQ: inventory and cost of goods sold
Can I deduct inventory when I buy it?
Generally no. Inventory is deducted through cost of goods sold when it's sold. Unsold stock at year end is ending inventory and carries over to next year.
What is the formula for cost of goods sold?
Beginning inventory, plus purchases (less personal withdrawals), plus labor, materials and other inventory costs, minus ending inventory. On Schedule C it's Part III, carried to line 4.
What is the small business inventory exception for 2026?
If your average annual gross receipts for the prior three years are $32 million or less and you're not a tax shelter, you can choose not to keep a formal inventory. You then treat inventory as non-incidental materials and supplies or follow your books or financial statements.
If I treat inventory as materials and supplies, can I deduct everything I bought?
No. Under that method, inventory is deducted in the year you provide it to customers, so unsold goods generally still aren't deductible.
Do the Section 263A UNICAP rules apply to my small business?
Not if you meet the small business gross receipts test ($32 million for 2026). Producers with $200,000 or less of indirect production costs are also excepted.
What if inventory is stolen or damaged?
You generally reflect the loss through cost of goods sold by reporting opening and closing inventories correctly, and any insurance you receive is taxable. Damaged goods can be valued at what they can actually be sold for, less disposition costs.
Can I use LIFO with lower of cost or market?
No. Publication 538 says goods accounted for under LIFO must be inventoried at cost, not lower of cost or market.
Do I pay sales tax when I buy inventory?
Generally not, if you're registered and give your supplier a valid resale certificate, such as NY Form ST-120, NJ Form ST-3, the CT resale certificate or PA Form REV-1220.
Related: 2026 tax guide · Tax planning · How long to keep tax records · Records for deductions · Burden of proof in an IRS dispute
If you sell products and aren't sure your inventory is being handled right on your return, message me.
I help with IRS, New York, New Jersey, Connecticut and Pennsylvania tax problems.
General info, not advice for your specific case.