Vending Machine Operator Tax Deductions (2026): COGS, Route Mileage, and the Home Storage Exception

Published: September 16, 2026 Β· Reading time: 11 min

TL;DR: A vending route sells physical product, so Cost of Goods Sold on Schedule C Part III β€” beginning inventory plus purchases minus ending inventory β€” reduces gross receipts before any operating expense counts. Two separate IRC Β§280A provisions apply to a home-based route: an exclusive-use admin desk under Β§280A(c)(1)(A) (scheduling, bookkeeping, ordering) and a no-exclusive-use storage room for stocked product under Β§280A(c)(2) β€” only the first one, via Rev. Rul. 99-7, unlocks deductible mileage for every restocking trip on your route. New machines qualify for 100% bonus depreciation (permanent under the One Big Beautiful Bill Act) or Section 179, both of which can fully expense a machine in year one β€” though doing so can shrink taxable income enough to cap the Β§199A QBI deduction below 20% of qualified business income. Stolen coin-box cash is a fully deductible Β§165(c)(1) business loss, unlike a personal theft loss, which carries a $100 floor, a 10%-of-AGI floor, and a disaster-declaration requirement that never applies here.

Running a vending machine route is a genuine retail business β€” you buy product wholesale, place equipment at other people's locations, and collect cash and card payments as customers buy. That combination creates deduction mechanics most self-employed service providers never touch: a Cost of Goods Sold calculation, equipment scattered across a dozen other people's premises, and two different home-based deductions that solve two different problems. Get the home-office and mileage pieces backwards and you either leave real money on the table or claim mileage that doesn't hold up.


The Trade in One Sentence

You own and service vending machines placed at gyms, offices, laundromats, and break rooms under agreements with each host location, buying product wholesale, restocking on a route, collecting the proceeds, and paying each host a share of sales for hosting the machine. Income is the cash and card payments customers put into the machines β€” Schedule C gross receipts regardless of collection method.


Cost of Goods Sold: The Product You Stock

Because you're selling tangible goods through the machines, Schedule C Part III (Lines 33–42) applies before you get anywhere near Part II operating expenses. The product itself β€” cases of soda, snacks, and other stocked items β€” is inventory, not a Part II supply expense.

node -e "
const beginInv = 3200, purchases = 54000, endInv = 3800;
const goodsAvailable = beginInv + purchases;
const cogs = goodsAvailable - endInv;
console.log('Goods available for sale', goodsAvailable);
console.log('Cost of Goods Sold', cogs);
"
Goods available for sale 57200
Cost of Goods Sold 53400
LineItemAmount
35Beginning inventory (Jan 1)$3,200.00
36Purchases β€” product for machines$54,000.00
40Goods available for sale (35 + 36)$57,200.00
41Ending inventory (Dec 31)$3,800.00
42Cost of Goods Sold (40 βˆ’ 41)$53,400.00

Against gross receipts of $118,000, that leaves gross profit of $64,600 β€” the figure Part II expenses actually subtract from. See the corpus's Schedule C gross profit guide for the full Part I/Part III mechanics.


Two Different Home-Based Deductions β€” And Only One Reaches Your Mileage

IRC Β§280A generally disallows deductions for business use of a home, then carves specific exceptions back in. A vending route can legitimately use two of them at once, and it's worth keeping them straight because they solve different problems.

The storage exception β€” no exclusive use required

Β§280A(c)(2) is written specifically for a business like this one:

"Subsection (a) shall not apply to any item to the extent such item is allocable to space within the dwelling unit which is used on a regular basis as a storage unit for the inventory or product samples of the taxpayer held for use in the taxpayer's trade or business of selling products at retail or wholesale, but only if the dwelling unit is the sole fixed location of such trade or business."

Unlike the regular home-office rule, this exception has no exclusive-use test β€” a garage that also holds your holiday decorations can still generate a deduction for the portion regularly used to stock product, as long as your home is the business's only fixed location. It is still limited: Β§280A(c)(5) caps deductions attributable to this use at the business's gross income, so it can't create or increase a loss on its own β€” not a binding constraint for a route generating six figures in receipts, but worth knowing.

The admin-desk exception β€” exclusive use, and it's the one that unlocks mileage

Deducting mileage to every machine on your route runs through a different rule entirely: Rev. Rul. 99-7, which lets you deduct daily transportation between your residence and a work location in the same trade or business β€” regular or temporary, any distance β€” once your residence qualifies as your principal place of business under Β§280A(c)(1)(A). That provision requires a portion of the home used exclusively and regularly for the business, and its own text extends "principal place of business" to a location used for the trade's administrative or management activities β€” scheduling restocks, bookkeeping, ordering β€” if there's no other fixed location where you conduct substantial admin work for the business.

The storage room does not satisfy this by itself, because it isn't used exclusively for the business β€” and even if it were, storage isn't "administrative or management activity." A separate desk (or even a distinct corner of the same room, if the two uses can be cleanly divided) used only for the business's paperwork is what clears (c)(1)(A). Get this right and every restocking trip converts from commuting to deductible mileage; skip it and the IRS's baseline position is that regular trips to fixed, recurring stops on a route are nondeductible commuting, however far apart the individual machines sit.

node -e "
const homeSqFt = 1800;
const officeSqFt = 50;   // exclusive-use admin desk -> 280A(c)(1)(A)
const storageSqFt = 150; // non-exclusive inventory storage -> 280A(c)(2)
const indirectHomeExp = 10200; // utilities, insurance, home repairs, home depreciation for the year
const officePct = officeSqFt / homeSqFt;
const storagePct = storageSqFt / homeSqFt;
const officeDed = indirectHomeExp * officePct;
const storageDed = indirectHomeExp * storagePct;
console.log('Office pct', (officePct*100).toFixed(4)+'%', '-> ', officeDed.toFixed(2));
console.log('Storage pct', (storagePct*100).toFixed(4)+'%', '-> ', storageDed.toFixed(2));
console.log('Combined home-use deduction (Form 8829 -> Line 30)', (officeDed+storageDed).toFixed(2));
"
Office pct 2.7778% ->  283.33
Storage pct 8.3333% ->  850.00
Combined home-use deduction (Form 8829 -> Line 30) 1133.33

Both figures go through Form 8829 to Schedule C Line 30 β€” but they're doing two different jobs, and only the office desk's exclusive use is what makes the route mileage below deductible at all.


Route Mileage: Split at July 1, 2026

Once the admin desk clears Β§280A(c)(1)(A), restocking trips to every machine location β€” gym, office, laundromat, wherever β€” are deductible under Rev. Rul. 99-7, regardless of how often you visit each one. 2026 carries two IRS standard mileage rates, confirmed directly against the IRS's own page: $0.725/mile from January 1 through June 30, and $0.76/mile from July 1 through December 31.

node -e "
const milesH1 = 5200, rateH1 = 0.725;
const milesH2 = 5500, rateH2 = 0.76;
const dedH1 = milesH1 * rateH1;
const dedH2 = milesH2 * rateH2;
console.log('H1:', milesH1, 'mi ->  $'+dedH1.toFixed(2));
console.log('H2:', milesH2, 'mi ->  $'+dedH2.toFixed(2));
console.log('Total miles', milesH1+milesH2, '-> total deduction $'+(dedH1+dedH2).toFixed(2));
"
H1: 5200 mi ->  $3770.00
H2: 5500 mi ->  $4180.00
Total miles 10700 -> total deduction $7950.00
PeriodMilesRateDeduction
Jan 1 – Jun 30, 20265,200$0.725$3,770.00
Jul 1 – Dec 31, 20265,500$0.76$4,180.00
Total10,700β€”$7,950.00

A mixed-use vehicle needs a contemporaneous log either way β€” date, destination, business purpose, and odometer reading for each restocking run β€” see the corpus's mileage log requirements guide for what the IRS actually expects to see.


Depreciating the Machines: 100% Bonus, Section 179, or Plain MACRS

A vending machine isn't listed in IRS Publication 946's Table B-1 of specific depreciable assets. The Publication's own worked example resolves this exact situation for a different piece of retail equipment β€” a cash register β€” by falling back to Table B-2's asset class 57.0, "Distributive Trades and Services," which covers assets used in wholesale and retail trade, giving that asset a 9-year class life and a 5-year GDS recovery period. A vending machine sits in the identical spot: not in Table B-1, used in a retail-trade business, so it falls under the same asset class and recovery period absent an election to accelerate.

In practice, almost nobody uses plain MACRS for machine-sized purchases, because two faster options are available:

  • Section 179 β€” an election capped at the business's taxable income for the year, with a statutory ceiling of $2,560,000 for 2026 (reduced once total equipment purchases for the year exceed $4,090,000, per Rev. Proc. 2025-32) β€” nowhere near binding for a route's machine purchases.
  • 100% bonus depreciation β€” under IRC Β§168(k), permanently restored to 100 percent of the adjusted basis by the One Big Beautiful Bill Act for property acquired after January 19, 2025. No election is required to use it, and it carries no income limitation the way Β§179 does.
node -e "
const machinesBought = 5, pricePerMachine = 3400;
const machineCost = machinesBought * pricePerMachine;
const macrsYear1Rate = 0.20; // 5-year property, half-year convention, no acceleration
const macrsYear1 = machineCost * macrsYear1Rate;
console.log('New machine cost', machineCost);
console.log('Ordinary MACRS year 1 (20%)', macrsYear1.toFixed(2));
console.log('Section 179 or 100% bonus, year 1', machineCost.toFixed(2));
console.log('Difference (accelerated vs. not)', (machineCost - macrsYear1).toFixed(2));
"
New machine cost 17000
Ordinary MACRS year 1 (20%) 3400.00
Section 179 or 100% bonus, year 1 17000.00
Difference (accelerated vs. not) 13600.00

For most route operators the two acceleration methods land on the same number and either works. Where it matters is a lean year: fully expensing $17,000 of machines can drop taxable income far enough that the Β§199A QBI deduction's taxable-income cap binds hard β€” worked through below β€” so it's worth running the numbers before defaulting to full acceleration every year rather than spreading some of it through ordinary MACRS.


Theft and Vandalism: A Business Loss, Not a Personal One

Vending machines sit unattended in public and semi-public spaces, and coin-box break-ins and vandalism happen. The good news: a loss connected to your trade or business is deductible without the restrictions that apply to a personal casualty or theft loss. IRC Β§165(c) draws the line directly:

"In the case of an individual, the deduction under subsection (a) shall be limited toβ€” (1) losses incurred in a trade or business; (2) losses incurred in any transaction entered into for profit, though not connected with a trade or business; and (3) except as provided in subsection (h), losses of property not connected with a trade or business or a transaction entered into for profit, if such losses arise from fire, storm, shipwreck, or other casualty, or from theft."

The $100-per-event floor, the 10%-of-adjusted-gross-income floor, and the federally- or state-declared-disaster requirement all live in subsection (h) β€” which only reaches losses under paragraph (3), personal-use property. A break-in that costs you $310 in stolen coin-box cash and $180 in coin-mechanism repairs is a (1) loss: a business expense, deductible in full, no floor and no disaster declaration required. A machine that's stolen outright or destroyed beyond repair is a different computation β€” its remaining adjusted basis, not the cash it happened to hold β€” worked through in the corpus's business property casualty and theft loss guide.


The Rest of the Deduction List

CategorySchedule C lineNotes
Commissions paid to host locationsLine 10A percentage of sales or flat fee for placement rights
Route mileageLine 9Governed by the Β§280A(c)(1)(A) / Rev. Rul. 99-7 test above
New machinesLine 13Β§179 or 100% bonus depreciation
Liability insuranceLine 15Covers on-premises injury and product liability at host sites
Coin mechanism and refrigeration repairsLine 21Routine upkeep, not a capitalized improvement
Cleaning supplies, small parts, hand toolsLine 22Items under the de minimis safe harbor
Cashless card-reader processing feesLine 10 (Commissions and fees)The per-transaction fee charged by the card processor β€” the corpus's canonical guidance routes processor fees here, not to Other Expenses
Storage room + admin deskForm 8829 β†’ Line 30The two Β§280A provisions above, computed together

A Full Year, Worked

Single filer, no other income, standard deduction only, admin desk satisfies Β§280A(c)(1)(A):

Amount
Gross receipts$118,000.00
Cost of goods soldβˆ’$53,400.00
Gross profit$64,600.00
Commissions to host locations (10% of receipts)βˆ’$11,800.00
Route mileage (5,200 mi Γ— $0.725 + 5,500 mi Γ— $0.76)βˆ’$7,950.00
New machines (Β§179 / 100% bonus)βˆ’$17,000.00
Coin mechanism & refrigeration repairsβˆ’$2,600.00
Liability insuranceβˆ’$1,500.00
Cleaning supplies, small partsβˆ’$850.00
Card-reader processing feesβˆ’$1,400.00
Home admin desk + storage room (combined)βˆ’$1,133.33
Total operating expensesβˆ’$44,233.33
Net profit (Schedule C Line 31)$20,366.67
node -e "
const grossReceipts = 118000, cogs = 53400;
const grossProfit = grossReceipts - cogs;
const opEx = {
  commissions: 11800, mileage: 7950, machines: 17000, repairs: 2600,
  insurance: 1500, supplies: 850, cardFees: 1400, homeUse: 1133.33,
};
let totalOpEx = 0;
for (const k in opEx) totalOpEx += opEx[k];
const netProfit = grossProfit - totalOpEx;
console.log('grossProfit', grossProfit.toFixed(2));
console.log('totalOpEx', totalOpEx.toFixed(2));
console.log('netProfit', netProfit.toFixed(2));
"
grossProfit 64600.00
totalOpEx 44233.33
netProfit 20366.67

Self-employment tax

node -e "
const netProfit = 20366.67;
const netSE = netProfit * 0.9235;
const seTax = netSE * 0.153;
const halfSE = seTax / 2;
console.log('Net SE earnings (92.35% of profit)', netSE.toFixed(2));
console.log('SE tax (15.3%)', seTax.toFixed(2));
console.log('Deductible half', halfSE.toFixed(2));
"
Net SE earnings (92.35% of profit) 18808.62
SE tax (15.3%) 2877.72
Deductible half 1438.86

QBI deduction β€” checking the limit that actually binds

Vending is a retail sales business, not a Specified Service Trade or Business, so it never faces the SSTB phase-out. Β§199A still caps the deduction at the lesser of 20% of qualified business income or 20% of taxable income (computed without regard to the QBI deduction itself) minus net capital gain β€” and fully expensing $17,000 of machines this year pushes taxable income low enough that this second cap, not the SSTB question, decides the outcome:

node -e "
const netProfit = 20366.67;
const halfSE = 1438.86;
const qbi = netProfit - halfSE;
const tentativeQBID = qbi * 0.20;

const agi = netProfit - halfSE; // no other income or adjustments in this example
const stdDeduction2026Single = 16100; // Rev. Proc. 2025-32, confirmed directly
const taxableIncomeBeforeQBI = agi - stdDeduction2026Single;
const taxableIncomeCap = 0.20 * Math.max(taxableIncomeBeforeQBI, 0);
const actualQBID = Math.min(tentativeQBID, taxableIncomeCap);

console.log('QBI', qbi.toFixed(2));
console.log('Tentative QBI deduction (20% of QBI)', tentativeQBID.toFixed(2));
console.log('Taxable income before QBI deduction', taxableIncomeBeforeQBI.toFixed(2));
console.log('20%-of-taxable-income cap', taxableIncomeCap.toFixed(2));
console.log('Actual QBI deduction (lower of the two)', actualQBID.toFixed(2));
console.log('Amount the cap costs vs. the uncapped figure', (tentativeQBID - actualQBID).toFixed(2));
"
QBI 18927.81
Tentative QBI deduction (20% of QBI) 3785.56
Taxable income before QBI deduction 2827.81
20%-of-taxable-income cap 565.56
Actual QBI deduction (lower of the two) 565.56
Amount the cap costs vs. the uncapped figure 3220.00

Taxable income before QBI ($2,827.81) sits nowhere near the $201,750 single-filer threshold where the W-2 wage/property test would even start to phase in for 2026 β€” so that third limit is moot here. But the taxable-income cap alone knocks the deduction from a naive $3,785.56 down to $565.56, a $3,220.00 difference, purely because the year's machine purchases were fully expensed against a modest profit. Spreading part of that $17,000 through ordinary MACRS instead β€” taking $3,400 in year one and carrying the rest forward β€” would raise this year's net profit and SE tax, but also raise taxable income enough to unlock a meaningfully larger QBI deduction; which is better depends on the operator's full financial picture, not a rule of thumb.


Common Mistakes to Avoid

  • Treating the storage room as if it also covers mileage. Β§280A(c)(2) requires no exclusive use, but it's a storage-only exception. Only an exclusive-use admin space satisfying Β§280A(c)(1)(A) unlocks Rev. Rul. 99-7's mileage rule.
  • Deducting the product as a Part II supply instead of running it through COGS. Anything you buy to stock and resell in a machine is inventory, computed on Schedule C Part III, not a Line 22 supply expense.
  • Skipping a mileage log because "the route is the same every week." A recurring, regular route needs the same contemporaneous log as any other business driving β€” date, miles, destination, purpose β€” and it's exactly what substantiates the deduction if the home office qualification is ever questioned.
  • Assuming stolen cash follows the personal casualty-loss rules. The $100 floor, 10%-of-AGI floor, and disaster-declaration requirement apply to personal-use property under Β§165(c)(3)/(h), never to a trade-or-business loss under Β§165(c)(1).
  • Fully expensing every machine purchase without checking the QBI cap. In a lean year, 100% bonus depreciation or Section 179 can push taxable income low enough that the 20%-of-taxable-income cap costs more in a smaller QBI deduction than the acceleration saves elsewhere.
  • Letting Line 35's beginning inventory drift from last year's Line 41. The two must match; an unexplained gap is exactly the kind of mismatch that draws a second look.

Frequently Asked Questions

Does a vending machine business need to report Cost of Goods Sold on Schedule C?

Yes. You're selling tangible products through the machines, so Schedule C Part III (Lines 33–42) applies, not just Part II operating expenses. Cost of Goods Sold equals beginning inventory plus purchases minus ending inventory β€” for example, $3,200 plus $54,000 minus $3,800 equals $53,400 β€” and that figure reduces gross receipts to gross profit before any Part II deduction is subtracted.

Can I deduct home storage space for vending machine inventory without a dedicated home office?

Yes, under Β§280A(c)(2), which removes the disallowance for space "used on a regular basis as a storage unit for the inventory or product samples of the taxpayer held for use in the taxpayer's trade or business of selling products at retail or wholesale, but only if the dwelling unit is the sole fixed location of such trade or business." Unlike a regular home office, there's no exclusive-use requirement β€” a garage that also holds personal items still qualifies for its business-use share β€” but the deduction is capped at the business's gross income under Β§280A(c)(5).

Is mileage between my vending machine locations deductible, even though I visit each one on a regular schedule?

It depends on a separate test from the storage exception. Rev. Rul. 99-7 deducts daily transportation to a work location in the same trade or business, regular or temporary, once your residence qualifies as your principal place of business under Β§280A(c)(1)(A) β€” an exclusive-use admin space for scheduling, bookkeeping, and ordering, with no other fixed location for that work. Inventory storage under Β§280A(c)(2) does not satisfy that test by itself; without a qualifying admin space and no other regular away-from-home work location, regular route stops read as nondeductible commuting.

How do I depreciate new vending machines β€” Section 179, bonus depreciation, or regular MACRS?

Both Section 179 and 100% bonus depreciation (permanent under the One Big Beautiful Bill Act for property acquired after January 19, 2025) can fully expense a machine in the year it's placed in service, and either works for typical route-sized purchases β€” Β§179's statutory caps ($2,560,000 for 2026, reduced past $4,090,000 of equipment purchases, per Rev. Proc. 2025-32) are far above a route's needs. Absent either election, a machine falls into MACRS asset class 57.0 (5-year GDS recovery), the same classification IRS Publication 946 uses for a retail store's cash register. Fully expensing machines can depress taxable income enough to cap the QBI deduction in a lean year, so it's worth checking that cap before defaulting to full acceleration.

Is cash stolen from a vending machine's coin box a deductible business loss?

Yes, in full, without the limits that apply to a personal theft loss. IRC Β§165(c)(1) allows a deduction for losses incurred in a trade or business with no restriction, while the $100 floor, 10%-of-AGI floor, and disaster-declaration requirement in Β§165(h) apply only to personal-use property losses under Β§165(c)(3). Routine coin-box break-ins and vandalism repairs are ordinary business losses; a machine stolen outright is a separate adjusted-basis computation.

Does a vending machine route qualify for the QBI deduction?

Yes β€” it's a retail sales business, not a Specified Service Trade or Business, so there's no SSTB phase-out. Β§199A still caps the deduction at the lesser of 20% of qualified business income or 20% of taxable income (before the QBI deduction) minus net capital gain, and that second cap applies regardless of SSTB status. A route operator who fully expenses new machines in the same year can land with taxable income low enough that this cap, not the SSTB question or the $201,750 W-2 wage/property threshold, decides the final deduction.


Authoritative References

Related reading: Schedule C gross profit (Lines 3–5) Β· Schedule C Line 10 β€” Commissions and fees Β· Business property casualty and theft loss Β· QBI deduction for freelancers Β· Contemporaneous mileage log requirements


One Route, One Set of Books

Between a Cost of Goods Sold calculation, two different home-based deductions, and equipment scattered across every host location on your route, a vending business's books have more moving parts than most one-person service trades. CentSense scans every product purchase, repair receipt, and insurance bill with AI and tags each one to the right Schedule C line, logs your route mileage at the correct 2026 half-year rate, and exports a CPA-ready CSV so nothing gets reconstructed from memory in April. Free tier includes 10 AI receipt scans a month, no credit card required; the Solo plan ($5/month) adds unlimited scans, mileage tracking, and the export.

Start free β†’

This article is educational and not tax or financial advice. Consult a qualified tax professional about your specific situation.

Related reads

Continue learning with more tax and expense guides for freelancers.

Compare alternatives

See how CentSense stacks up to other expense and receipt tools for freelancers.