For federal tax, most small businesses must write off bad debts one invoice at a time: you deduct a specific receivable in the year it becomes worthless, or, if it is only partly worthless, the part you charge off on your books that year. The allowance method, where you estimate a reserve for doubtful accounts in advance, is a financial-reporting choice; the tax deduction for a bad-debt reserve was repealed in 1986. And if your business uses the cash method, an unpaid invoice gives you no deduction at all, because you never reported it as income. Here is how the two compare, the buyer math, and the steps in QuickBooks Online and Desktop.
| Direct (specific) write-off | Allowance method | |
|---|---|---|
| What you record | Bad debt expense when a named invoice is uncollectible | An estimate of future losses, booked before you know which invoices will fail |
| When the expense hits | The year the invoice becomes worthless | The period the sale is made (by estimate) |
| Federal tax deduction | Yes, for income you already reported | No; only actual write-offs are deductible |
| Who typically uses it | Most small businesses, on the books and the return | Companies with lender, investor or audit reporting under GAAP |
| QuickBooks | Credit memo or discount to a Bad debts account | Month-end journal entry to a contra-receivable account |
Section 166 of the Internal Revenue Code allows a deduction for a debt that becomes worthless during the tax year, and for a partly worthless debt up to the amount you charge off in that year. The old reserve deduction in section 166(c) was repealed by the Tax Reform Act of 1986, which is why IRS Publication 334 says that you generally must use the specific charge-off method. The narrow exception, the nonaccrual-experience method for certain service receivables, is one to confirm with your CPA.
The rule that surprises cash-basis owners is Treasury Regulation 1.166-1(e): a worthless debt from unpaid fees, rents and similar income is deductible only if that income was included in a return. An accrual-method business that booked the invoice as revenue can deduct it when it goes bad. A cash-method business never reported the revenue, so there is nothing to deduct. The income was simply never taxed, and what you spent producing the work was already deductible when you paid it.
Publication 334 treats a debt as worthless when there is no longer any chance it will be paid; you need to show reasonable steps to collect, not a lawsuit. Regulation 1.166-2(b) says that if a court judgment would in all probability be uncollectible, showing those facts is enough evidence. Keep a short file for each write-off:
Timing matters. A partly worthless debt is deductible only to the extent you charge it off on your books during the year, so the entry must be made before year-end. A totally worthless debt belongs to the year it actually became worthless; you cannot hold it for a year when the deduction is worth more. If you miss that year, the fix is an amended return, and Publication 334 gives you up to seven years to claim a refund for a totally worthless debt, against three years for a partly worthless one.
Under US GAAP, a company estimates expected credit losses and books them before specific invoices fail: a debit to bad debt expense and a credit to an allowance for doubtful accounts, which reduces accounts receivable. A later write-off is charged against the allowance, not to expense again.
The benefit is a truer monthly picture: if you historically lose 2% of sales, the allowance puts that cost in the month of the sale, not the year you give up on a customer. Banks, investors and auditors expect it. The cost is a book-tax difference: on the return your CPA adds back the change in the allowance and deducts only the invoices actually written off. If nobody outside the business reads your statements, the direct write-off is simpler and matches the return.
Take an accrual-basis service company. A customer that owes an $8,000 invoice from August 2026 closed its doors in October, and the owner's last two letters came back undeliverable. It also carries $240,000 of receivables and, for its bank, would reserve 2%.
| Scenario | Book expense 2026 | Tax deduction 2026 | Tax effect at a 24% rate |
|---|---|---|---|
| Write off the $8,000 invoice in December 2026 | $8,000 | $8,000 | $1,920 less tax for 2026 |
| Leave it open and write it off in 2027 | $0 in 2026 | Still belongs to 2026; needs an amended return | Refund delayed, extra filing cost |
| Same invoice, cash-basis company | None needed | $0 (revenue never taxed) | Neutral |
| Allowance: 2% of $240,000, with $3,100 of actual write-offs | $4,800 | $3,100 | $1,700 added back on the return |
Illustrative figures, our own arithmetic. The second row is the one we see most in year-end cleanups: an invoice that died in 2026 but sits on the aging report into spring is not a 2027 deduction. Clearing it in December keeps the books and the return in agreement. Our month-end close checklist includes an aging review for exactly this reason.
Intuit's article on writing off bad debt in QuickBooks Online (updated August 24, 2026) uses a credit memo:
Firms using QuickBooks Online Accountant also have Accountant Tools > Write off invoices (Intuit, updated August 4, 2026), which writes off a filtered batch of old invoices to the account you choose. Two cautions from our cleanup work: do not void or delete the old invoice, because that rewrites revenue in the period it was issued, possibly a year already filed. And if the invoice carried sales tax you already remitted, set the Bad debts item as non-taxable and check your state's bad-debt sales tax relief process.
Intuit's Desktop article (updated August 3, 2026) uses a discount instead. Create an Expense account named Bad Debt under Lists > Chart of Accounts. Then open Customers > Receive Payments, choose the customer, enter $0.00 as the payment amount, select the invoice and click Discounts and credits. Enter the amount to write off, set the discount account to Bad Debt, and save. If the customer pays later, record the money as new income, for example on a sales receipt with an item mapped to a Bad debt recovery other income account, rather than reopening the old invoice.
If the aging report is too far gone to fix one invoice at a time, that is a cleanup project, not a write-off; see QuickBooks cleanup.
This article is general bookkeeping and tax information, not tax advice; confirm write-offs and your accounting method with your CPA. Sources: IRC section 166 and Treasury Regulations 1.166-1, 1.166-2 and 1.166-3 (via Cornell LII); IRS Publication 334 (2025), Bad Debts; Intuit, "How to write off bad debt in QuickBooks Online" (updated 8/24/2026), "Write off invoices" (updated 8/4/2026) and "Write off bad debt in QuickBooks Desktop" (updated 8/3/2026), read November 28, 2026.
Can a cash-basis business deduct an unpaid invoice as a bad debt?
No. A bad debt from unpaid fees or sales is deductible only if the amount was included in income. A cash-basis business never reported the unpaid invoice, so there is nothing to deduct, but it was never taxed on it either.
Is the allowance for doubtful accounts tax deductible?
No, for most businesses. The reserve deduction was repealed in 1986, so the return allows only specific debts that became worthless. Your CPA adds back the change in the allowance and deducts actual write-offs.
Do I have to sue a customer before writing off the debt?
No. You need to show reasonable steps to collect. If a court judgment would probably be uncollectible, showing those facts is enough evidence that the debt is worthless.
What happens if the customer pays after I wrote it off?
The recovery is income in the year you receive it, to the extent the earlier deduction reduced your tax (IRS Publication 334 says to report it as other income). In QuickBooks, record it as new income rather than reopening the invoice.
Tell us what you’re working on. We respond same business day.
Related: Month-end close checklist · QuickBooks cleanup · Bookkeeping