Can you write off an invoice your customer never paid?

If you invoiced a customer, chased them, and eventually gave up, the question of whether you can deduct the loss has a different answer depending on how your company keeps its books.
If your company is on the cash basis, generally no. You never recorded the income, so there is nothing to deduct. The loss is real, but it shows up as revenue you never had rather than as an expense. If your company is on the accrual basis, yes. You already recognized the income, so you can deduct the amount when the debt becomes worthless. What you cannot deduct, on either basis, is an estimate. The allowance for doubtful accounts sitting on your balance sheet is a book figure, not a tax deduction.
Here is how the two treatments differ, what worthlessness actually requires you to demonstrate, and what your records need to show.
Cash basis companies have nothing to deduct
Under the cash method, revenue is recorded when payment arrives. An unpaid invoice was never income, so writing it off removes something that was never there.
This surprises owners because the loss feels deductible. Real costs were incurred delivering the work: labor, materials, time. Those costs are already deducted as the expenses they were. The uncollected invoice itself is not an additional deduction, and claiming it would deduct the same economic loss twice.
The practical consequence is that a cash basis company carries the full weight of a non-paying customer with no tax offset at all, which is worth factoring into how much credit you extend.
Accrual companies deduct when the debt becomes worthless
If your company recognized the revenue when the invoice was issued, the uncollected amount can be deducted once the debt is worthless, in the year it becomes worthless.
Timing is the constraint. The deduction belongs in the year worthlessness occurred, not the year you decided to clear it off the books. An invoice that became plainly uncollectible two years ago, written off this year because someone finally tidied the receivables ledger, is a deduction claimed in the wrong period.
Partial worthlessness has its own treatment, where part of a debt is charged off while the remainder is still being pursued. The rules around partial charge-offs are more specific than the rules for a wholly worthless debt, so confirm the requirements before splitting one.
Your books and your tax return handle this differently
This is the distinction that causes the most confusion, and the original source of most bad advice on the topic.
For your financial statements, the allowance method is the standard approach. You estimate uncollectible amounts and carry an allowance for doubtful accounts as a contra-asset, so accounts receivable is presented at what you realistically expect to collect. This matches the expense to the period the revenue was recorded.
For your tax return, the allowance is ignored. A deduction requires a specific debt, identified, actually worthless, and charged off. An estimate based on historical percentages or an aging schedule does not qualify no matter how reasonable it is.
The result is a book-tax difference that your preparer reconciles. Your books show an estimated expense, your return shows only the specific debts that went bad. Both are correct for their purpose, and a company using the allowance method has not done anything wrong at tax time as long as the return is built on actual charge-offs.
What worthlessness requires you to show
Worthlessness is a factual determination, and the burden sits with you. There is no waiting period that makes a debt automatically deductible.
Reasonable collection efforts. Statements, reminders, calls, and escalation, documented. A debt you never pursued is difficult to call worthless.
Evidence the debtor cannot pay. Bankruptcy filings, a business that has dissolved, a debtor who cannot be located, or a judgment you cannot enforce.
A judgment that further pursuit is not worthwhile. You are not required to sue or hire a collection agency if the cost would exceed the recovery, but that conclusion should be reasoned and recorded rather than assumed.
The charge-off itself. The amount has to actually come off the books in the year claimed.
The documentation matters more than the amount. A collection log and correspondence file take minutes to maintain and are the difference between a deduction that holds and one that does not.
Money you lent personally is a different category
If you lent money to a customer, a supplier, or another business personally rather than through the company, and it was not connected to your trade or business, the treatment changes.
A non-business bad debt is generally treated as a short-term capital loss rather than an ordinary deduction, which limits how much can be used against ordinary income in a year. It also has a stricter standard: partial worthlessness is not available, so the debt has to be entirely worthless before anything is deductible.
This catches owners who fund a struggling customer to keep them alive, or who lend to a related business informally. Whether the loan was business-related, and whether it was documented as a loan at all, determines the treatment.
If you later collect, it comes back as income
A recovered debt that was previously deducted is income in the year you recover it. This applies whether the payment arrives from the customer, a collection agency, or a bankruptcy distribution.
It is a common miss, because by the time the money arrives the write-off is old news and the payment looks like a windfall rather than a taxable recovery.
What your books need to support any of this
The deduction is only as good as the record, so the bookkeeping has to be doing the work.
Receivables aged and reviewed. You cannot identify a specific worthless debt out of a receivables balance nobody has looked at.
Write-offs recorded against the right account and dated correctly. Which is what fixes the deduction in the right year.
Collection history retained. Attached to the customer, not sitting in someone's email.
Recoveries tracked. So a later payment is recognized as income rather than quietly netted somewhere.
Inkle Books handles the receivables side of this. It is sold on its own, with the option to add a bookkeeper to review the books and file for you, which is where aged receivables get reviewed rather than accumulated.
The bottom line
For U.S. federal tax purposes, an unpaid customer invoice is generally deductible only when the business has properly included the amount in taxable income and the debt becomes wholly or partly worthless. A cash-method business generally cannot deduct an unpaid invoice that was never included in income. The deduction is tied to the year of worthlessness. Partial worthlessness requires a specific debt and an appropriate charge-off, while a wholly worthless business debt has different charge-off requirements. A normal book allowance does not by itself create a tax deduction, although specialized reserve rules may apply. If a previously deducted debt is later recovered, the recovery is generally taxable only to the extent of the prior tax benefit.
Frequently asked questions
Can a cash basis business deduct bad debt?
Generally no. Because income is only recorded when payment is received, an uncollected invoice was never recognized as income and there is nothing to deduct. The costs of doing the work are deducted as the expenses they were.
Is the allowance for doubtful accounts tax deductible?
No. The allowance is an estimate used for financial reporting. A tax deduction requires a specific debt that is actually worthless and has been charged off, which is why your books and your return show different numbers here.
When can I write off an unpaid invoice?
In the year the debt becomes worthless, which means you have made reasonable efforts to collect and have evidence the amount will not be paid. The deduction belongs in that year, not in whichever year you get around to clearing the ledger.
What if the customer pays after I have written it off?
The recovery is income in the year you receive it. This applies to partial payments and to distributions from a bankruptcy as well as to payment directly from the customer.
Do I need to sue before writing off a debt?
Not necessarily. You are not required to pursue recovery that would cost more than it would return, but you do need a documented basis for concluding the debt is worthless rather than simply old.


.avif)