---
title: "Journal entry for closing entries"
description: "At the end of the fiscal year, debit every revenue account for its credit balance, credit every expense account for its debit balance, and take the difference, net income, to Retained earnings. Revenue and expense accounts start the new year at zero."
canonical: "https://lopifi.com/journal-entries/closing-entries"
---

# Journal entry for closing entries

> At the end of the fiscal year, debit every revenue account for its credit balance, credit every expense account for its debit balance, and take the difference, net income, to Retained earnings. Revenue and expense accounts start the new year at zero.

Source: https://lopifi.com/journal-entries/closing-entries
Part of: Lopifi — Your VC tech stack partner (https://lopifi.com)

---

- **Accounts closed:** 9
- **Net income to retained earnings:** $1,747.40
- **Entity:** Northwind Traders, Inc.
- **Basis:** Accrual
- **Currency:** USD
- **Period:** September 2026

## The worked example

Northwind Traders, Inc., the company the free course is taught on, finishes September 2026 with the trial balance the course builds. Closing it takes every revenue and expense balance to zero and moves $1,747.40 of net income into retained earnings. The figures come from that trial balance, not from this page.

### JE-1 · Closing entry · September 30, 2026

Close revenue and expenses to retained earnings.

| Account | Debit | Credit |
| --- | ---: | ---: |
| 4000 Revenue | $31,500.00 |  |
| 5000 Cost of revenue |  | $17,000.00 |
| 6000 Payroll expense |  | $8,400.00 |
| 6100 Payroll tax expense |  | $642.60 |
| 6200 Rent expense |  | $2,000.00 |
| 6300 Insurance expense |  | $600.00 |
| 6400 Depreciation expense |  | $500.00 |
| 6500 Utilities expense |  | $450.00 |
| 6600 Bad debt expense |  | $160.00 |
| 3100 Retained earnings |  | $1,747.40 |
| Total | $31,500.00 | $31,500.00 |

## What the entries do to the accounts

Every entry above posted to the ledger, starting from zero balances: the net debit or credit each account is left with. Debits equal credits, so the books still balance.

| Account | Debit | Credit |
| --- | ---: | ---: |
| 3100 Retained earnings |  | $1,747.40 |
| 4000 Revenue | $31,500.00 |  |
| 5000 Cost of revenue |  | $17,000.00 |
| 6000 Payroll expense |  | $8,400.00 |
| 6100 Payroll tax expense |  | $642.60 |
| 6200 Rent expense |  | $2,000.00 |
| 6300 Insurance expense |  | $600.00 |
| 6400 Depreciation expense |  | $500.00 |
| 6500 Utilities expense |  | $450.00 |
| 6600 Bad debt expense |  | $160.00 |
| Totals | $31,500.00 | $31,500.00 |

## Why it is booked this way

Revenue and expense accounts measure one period. Closing them moves the period's result into retained earnings, the permanent account that accumulates every year's profit, and resets the income statement for the next period.

The closing entry is computed, not chosen: each temporary account is reversed for exactly its balance and retained earnings takes the net. If the entry does not balance, the trial balance did not.

## Common mistakes

- Closing balance sheet accounts.
- Posting adjustments to the closed year after the close, so retained earnings no longer agree with the prior year's statements.

## Questions

### Does my software book closing entries?

Most accounting software closes the year automatically: it reports prior-year income as retained earnings without posting a visible entry. The effect is the same entry, computed rather than posted.

### Which accounts are closed?

Temporary accounts: revenue, expenses, dividends declared and owner's drawings. Balance sheet accounts are permanent and carry forward.

## Terms on this page

- [Closing entry](https://lopifi.com/md/glossary/closing-entry): The year-end entry that zeroes every temporary account — revenue, expense, gains, losses, dividends or drawings — into retained earnings, so the new year's P&L starts at nil. Most ledger software performs it virtually
- [Temporary account](https://lopifi.com/md/glossary/temporary-account): An account that measures one period only — revenue, expense, gain, loss, dividends declared — and is closed to retained earnings at year end
- [Permanent account](https://lopifi.com/md/glossary/permanent-account): A balance sheet account — asset, liability or equity — whose closing balance carries forward as the next period's opening balance
- [Retained earnings](https://lopifi.com/md/glossary/retained-earnings): Accumulated net income not distributed to owners — where the P&L lands on the balance sheet
- [Net income](https://lopifi.com/md/glossary/net-income): Revenues and gains less expenses and losses, including income tax, for the period — the bottom line of the P&L, before any allocation to non-controlling interests

## Work with this entry

- [Retained earnings, explained for founders](https://lopifi.com/md/accounting/retained-earnings): Every year's profit or loss since the company started, added up and kept in equity. For most startups it's negative and called an accumulated deficit.
- [Adjusting entry vs closing entry](https://lopifi.com/md/differences/adjusting-entries-vs-closing-entries): Adjusting entries go in at every period-end to put revenue and expenses in the right period. Closing entries come once, at year-end, and move the year's revenue and expense balances into retained earnings.
- [Retained earnings vs net income](https://lopifi.com/md/differences/retained-earnings-vs-net-income): Net income is one period's profit. Retained earnings is every period's net income since the company began, less every dividend, carried as a balance in equity.
- [Temporary account vs permanent account](https://lopifi.com/md/differences/temporary-vs-permanent-accounts): Temporary accounts (revenue, expenses, dividends and drawings) measure one period and are closed to zero at year-end. Permanent accounts (assets, liabilities and equity) carry their balances forward.
- [Soft close vs hard close](https://lopifi.com/md/differences/soft-close-vs-hard-close): A soft close gets management numbers out fast, on estimates and lighter checks, and leaves the period open. A hard close finishes every reconciliation and review, then locks the period so the numbers are final.
- [Journal entry for dividends](https://lopifi.com/md/journal-entries/dividends): When dividends are declared, debit Dividends declared (or Retained earnings) and credit Dividends payable. When paid, debit Dividends payable and credit Cash. At year-end, close Dividends declared to Retained earnings.
- [Journal entry for an owner's draw](https://lopifi.com/md/journal-entries/owners-draw): For a sole proprietorship or partnership, debit Owner's drawings and credit Cash when the owner takes money out. At year-end, close drawings to capital: debit Owner's capital, credit Owner's drawings. A contribution is the reverse: debit Cash, credit Owner's capital.
- [Journal entry for an income tax provision](https://lopifi.com/md/journal-entries/income-tax-provision): At period-end, debit Income tax expense for the total provision, credit Income taxes payable for current tax, and credit (or debit) the Deferred tax asset for the change in deferred tax, such as a net operating loss carryforward used this year.

*An illustrative company, not anyone’s real books. Every figure on this page is computed from the inputs in the example and posted by the same functions as the [journal entry balancer](https://lopifi.com/md/tools/journal). General information, not tax, legal or accounting advice. Check with a CPA before you act on it.*
