Two ways to start. A free fit call, or the Diagnostic in writing.
Client login786-952-6621

E-Commerce Tax Deductions: Home Office, Shipping, Software, and What the IRS Actually Allows

Written by Yarik Yarosh, CPA (US & Canada) September 4, 2026 · FL CPA license AC61704 · CPA Ontario

Every dollar you spend running your online store is a candidate for a deduction, but only if it’s ordinary and necessary for the business and you can actually prove it under IRC 162(a). Most e-commerce sellers leave money on the table on the predictable stuff (home office, vehicle mileage, software subscriptions) because they don’t track it consistently, and separately overreach on the stuff with a personal-use angle (the “content creation” trip that was really a vacation, the vehicle that’s also the family car) because the line between business and personal isn’t obvious until an auditor draws it for you. The deductions themselves aren’t complicated. Getting the substantiation right, and knowing which costs belong in cost of goods sold instead of as a current expense, is where the actual work is.

✓Key takeaway

The home office deduction requires regular and exclusive business use of a specific space under IRC 280A; the simplified method allows $5 per square foot up to 300 square feet (a $1,500 cap), while the actual-expense method apportions your real home costs by business-use percentage and often produces a larger deduction if you track it. Outbound shipping to customers is generally a current operating expense, while inbound freight to acquire inventory gets capitalized into cost of goods sold under the uniform capitalization rules of IRC 263A, unless your average annual gross receipts fall under the small-business exception (roughly $31 million for 2025, adjusted annually). Vehicle expenses for sourcing trips are deductible using either the standard mileage rate (72.5 cents per mile in 2026, up from 70 cents in 2025) or actual costs, with a contemporaneous mileage log required either way. Payment processing fees, software subscriptions, packaging, and business insurance are all straightforwardly deductible; the disqualifying factor across all of these is personal use mixed into a business expense without a documented business purpose.

What’s the actual rule for the home office deduction?

Two tests, both mandatory, under IRC 280A(c)(1): the space has to be used regularly (not occasionally) and exclusively (not the kitchen table you also eat dinner at) for business, and it has to be your principal place of business or a place where you regularly meet customers. For an online seller running the business from a spare room used only for order processing, inventory photography, and customer service, this test is usually easy to meet. It fails the moment that room is also a guest bedroom, a kids’ playroom on weekends, or doubles as a home gym.

Two calculation methods are available once you clear the use test:

  • The simplified method allows $5 per square foot of the qualifying space, capped at 300 square feet, for a maximum deduction of $1,500 a year. No records of actual home expenses required, just the square footage and a note confirming exclusive use.
  • The actual-expense method apportions a share of your real home costs, mortgage interest or rent, utilities, homeowner’s or renter’s insurance, repairs, and depreciation on the home itself, based on the percentage of your home’s square footage used exclusively for business. If your home office is 10% of your home’s total square footage and your total qualifying home expenses run $24,000 a year, the deduction is $2,400, well above the simplified cap.

The actual-expense method usually wins for sellers with a larger dedicated space or high home costs, but it requires real documentation (utility bills, mortgage statements, a floor plan showing the qualifying space) that most sellers don’t keep unless they set up the tracking from day one. Run both calculations once a year and use whichever produces the larger number; you’re allowed to switch methods year to year.

How do shipping and inventory costs actually get deducted?

This is where a lot of sellers mix up timing. Inbound costs, freight to bring inventory into your possession, are not a current-year deduction at all; they’re capitalized into the cost of that inventory under the uniform capitalization rules of IRC 263A, meaning the cost sits on the balance sheet as part of inventory value and only becomes a deduction (as cost of goods sold) when that specific inventory is actually sold. Outbound shipping, what you pay to get a sold item to the customer, is generally deductible as a current operating expense in the year it’s incurred, since it’s a cost of making the sale rather than a cost of acquiring the goods.

  • There’s a genuine relief valve here: the IRC 263A(i) small-business exception exempts taxpayers with average annual gross receipts under a threshold that’s adjusted for inflation each year (roughly $31 million for tax years beginning in 2025, per Revenue Procedure 2024-40) from the full UNICAP capitalization requirements entirely. Nearly every e-commerce seller reading this qualifies for the exception, which means the practical UNICAP burden is lighter than the statute’s full complexity suggests, but the underlying distinction between inbound (capitalize) and outbound (expense) freight still matters for how you categorize costs even when the formal capitalization rules don’t force a specific method.
  • Packaging materials (boxes, mailers, tape, inserts) are typically deducted as supplies or folded into cost of goods sold depending on your accounting method, but either way they’re deductible; the only question is which line they land on and in which year.
  • If you use a fulfillment center or 3PL, their storage and pick-and-pack fees are current operating expenses, not inventory costs, since they’re paid for a service rather than for acquiring the goods themselves.

What software, tools, and services are deductible?

Essentially anything you pay for to run the store is deductible under the ordinary-and-necessary standard of IRC 162(a), as long as it’s actually used for the business. This covers more ground than most sellers realize:

  • Platform and subscription fees: Shopify or other e-commerce platform fees, inventory management software, email marketing tools, accounting software subscriptions, and apps purchased through your platform’s app store.
  • Payment processing fees: Shopify Payments, Stripe, PayPal, and similar processor fees (typically 2.9% plus a per-transaction fee) are a straightforward deduction, whether you book them as a direct expense or net them against revenue in your chart of accounts.
  • Photography and content creation: camera equipment, editing software, a rented studio space, and a paid photographer or videographer for product content are all deductible marketing and cost-of-sale expenses. The line moves the moment the content shoot becomes a personal trip with some product photos taken along the way; a photo shoot in your own city is clean, a week in another country with a handful of product shots mixed into personal travel photos is the kind of thing that draws scrutiny if the trip’s primary purpose wasn’t clearly business.
  • Business insurance: general liability, product liability, and business property insurance are all deductible business expenses. If you’re self-employed and paying your own health insurance premiums, a separate above-the-line deduction is available under IRC 162(l), not as a business expense on Schedule C but as an adjustment on your personal return.
  • Professional development: courses, books, and conferences that maintain or improve skills in your existing business are deductible. Education that qualifies you for a new trade or business, rather than improving the one you’re already in, isn’t deductible under Reg. 1.162-5; a course on advanced Meta Ads strategy for a store owner already running paid ads is deductible, a law school tuition bill is not, regardless of how you plan to use the degree.

What about vehicle expenses for sourcing?

Deductible, using one of two methods, and the substantiation requirement is the same either way: a contemporaneous mileage log showing date, business purpose, and miles driven for each trip. “Contemporaneous” means kept at or near the time of the trip, not reconstructed from memory during tax season, which is exactly what an IRS examiner looks for first if vehicle expenses come under review.

  • Standard mileage rate: 70 cents per mile for 2025, rising to 72.5 cents per mile for 2026. Multiply qualifying business miles by the rate, and that’s the deduction, with no need to track actual gas, maintenance, or insurance costs separately.
  • Actual expense method: track the actual cost of operating the vehicle (gas, insurance, maintenance, depreciation or lease payments) and apply your business-use percentage, calculated from total miles driven for business divided by total miles driven for everything. This can produce a bigger deduction for an expensive or heavily-used vehicle, but requires more recordkeeping and locks you into certain depreciation elections under IRC 280F that limit your ability to switch back to the standard mileage rate in later years for that same vehicle.
  • Commuting never counts, and driving from your home office to the same storage unit or post office every day starts to look like a fixed commute rather than a variable business trip if it’s not clearly documented as business travel each time. Sourcing trips (estate sales, wholesale suppliers, thrift stores for resale inventory) are the clearest example of deductible business mileage; routine errands blur the line and need better documentation to hold up.

Where’s the actual line between deductible and personal?

The disqualifying factor across every category above is the same: an expense that serves a personal purpose, or serves both a personal and a business purpose without a documented split, fails the ordinary-and-necessary standard under IRC 162 and gets disallowed under the personal-expense rule of IRC 262. Travel, meals, and vehicle expenses carry heightened recordkeeping requirements under IRC 274 specifically because they’re the categories most prone to personal-use bleed. Practical guardrails that hold up:

  • If an expense would exist even if you weren’t running the business (your regular cell phone plan, your home internet, your daily commute), only the business-use portion is deductible, and you need a reasonable, documented method for calculating that portion, not a guess.
  • If the primary purpose of a trip or purchase was personal and the business use was incidental, none of it is deductible, not a partial amount. If the primary purpose was business and personal use was incidental, the business portion is fully deductible.
  • Mixed-use items (a laptop used for both the store and personal browsing, a phone used for both business calls and everything else) get apportioned by actual usage percentage, and that percentage needs a basis you could explain to an auditor, not a round number picked because it looks reasonable.

What should I do next?

Build a simple monthly habit: log vehicle mileage at the time of each business trip, save every software and platform receipt to a single folder or expense-tracking tool, and calculate your home office deduction under both methods at year-end rather than defaulting to whichever one you used last year. The categories that get missed most often (inbound freight capitalization, the health insurance deduction for self-employed sellers, professional development that maintains existing skills) are worth a specific look each tax season rather than assuming your bookkeeping software caught them automatically.

Related guides:

Want this checked against your own situation?

Start with a Diagnostic: a CPA licensed in the US and Canada reads your file and tells you in writing what's wrong and how to fix it, three to four business days after you finish the questions. The report is $250. If you hire us for any work after that, you get the $250 back as a discount on that work. Or send us your return or your letter and get a fixed price, free.

Get the next cross-border guide by email

One or two plain-English guides a week on US-Canada tax. No spam, unsubscribe anytime.

Cite this page

Yarik Yarosh, CPA. "E-Commerce Tax Deductions: Home Office, Shipping, Software, and What the IRS Actually Allows." Blue Cloud CPA, September 4, 2026, updated September 23, 2026. https://bluecloudcpa.com/guides/ecommerce-tax-deductions-home-office-shipping

This guide is general information, not tax advice for your specific situation. Which points apply, and how, depends on your facts.