Skip to content
vettlo
Explainer · Finance

What Is a General Ledger? How It Works, With an Example

Short answer

A general ledger (GL) is the complete record of a business's transactions, sorted by account, showing every debit, credit and running balance for each account on the chart of accounts. Transactions are first recorded as journal entries, then posted to the ledger; the ledger's account balances produce the trial balance, which in turn becomes the balance sheet and the profit and loss statement.

What is a general ledger?

The general ledger is where your books actually live. Each account, from the business checking account to office rent, gets its own page in the ledger listing every transaction that touched it, in date order, with a running balance. Add up the ledger and you have the numbers behind every financial report.

In practice, the general ledger is the core of any accounting software: invoices, bills, bank-feed matches and manual entries all end up posted there. Our ranking of the best accounting software compares 6 tools on price and features; this guide explains what the ledger does, which works the same way in every one of them.

Three terms get mixed up:

  • Chart of accounts: the list of accounts and their numbers. It's the ledger's table of contents; see our chart of accounts guide for how to set one up.
  • Journal: the chronological record of each transaction as it happens. IRS Publication 583 describes it as the book where "you record each business transaction shown on your supporting documents."
  • Ledger: the same transactions regrouped by account. Publication 583 calls it the book "that contains the totals from all of your journals."

How do transactions get into the general ledger?

Every transaction moves through the same path: a source document becomes a journal entry, the entry is posted to two or more ledger accounts, and the ledger's balances roll up into reports.

  1. Source document. An invoice you send, a bill you receive, a receipt or a bank transaction.
  2. Journal entry. The transaction is recorded with a date, a description, and at least one debit and one credit of equal total. That rule is double-entry bookkeeping, which Publication 583 calls "self-balancing."
  3. Posting. Each line of the entry is copied to its account in the general ledger, and that account's balance is updated.
  4. Trial balance. At the end of the period, every account's balance is listed; total debits must equal total credits.
  5. Adjusting entries and close. Accruals, depreciation and corrections are posted, then the period is closed.
  6. Financial statements. Asset, liability and equity balances form the balance sheet; revenue and expense balances form the profit and loss statement.

In accounting software, steps 2 and 3 happen together: saving an invoice writes the journal entry and posts it in one go. You rarely type journal entries yourself except for adjustments.

What are subledgers?

Busy accounts keep their detail in a subledger and post only totals to the general ledger. Accounts receivable is the usual example: the subledger tracks what each customer owes, invoice by invoice, while the GL holds one AR balance. Accounts payable works the same way for suppliers. Our guides to accounts receivable and the accounts payable process cover running those day to day. The subledger total and the GL control account should always match.

What does a general ledger look like? A worked example

Here are 6 October transactions for a hypothetical one-person design studio, first as journal entries and then as they appear in one ledger account. Account numbers follow the sample chart in our chart of accounts guide.

DateTransactionDebitCreditAmount
Oct 1Owner deposits starting capital1000 Business checking3000 Owner's contributions$10,000
Oct 3Pay October office rent6250 Office rent1000 Business checking$1,500
Oct 8Design software charged to card6200 Office supplies and software2100 Business credit card$300
Oct 15Invoice client for brand project1100 Accounts receivable4000 Consulting revenue$4,800
Oct 22Client pays part of the invoice1000 Business checking1100 Accounts receivable$3,000
Oct 29Pay freelance illustrator5000 Subcontractors1000 Business checking$1,200

Each row touches two accounts. The ledger regroups them: the checking account's ledger page picks up the 4 rows that moved cash, with the other account shown for reference.

General ledger: 1000 Business checking, October

DateDescriptionOffsetting accountDebitCreditBalance
Oct 1Owner deposits starting capital3000 Owner's contributions$10,000$10,000
Oct 3Pay October office rent6250 Office rent$1,500$8,500
Oct 22Client pays part of the invoice1100 Accounts receivable$3,000$11,500
Oct 29Pay freelance illustrator5000 Subcontractors$1,200$10,300

The ending balance of $10,300 is what the books say is in the bank. Comparing it with the bank statement is the monthly check our bank reconciliation guide walks through. The credit card charge and the invoice don't appear here at all: they live on the ledger pages for the card, accounts receivable and revenue.

Hypothetical example for illustration; amounts are not from a real business.

How does the general ledger produce a trial balance?

A trial balance lists every general ledger account's ending balance in a debit or credit column, and the two columns must total the same. In the example, both come to $15,100:

AccountTypeDebitCredit
1000 Business checkingAsset$10,300
1100 Accounts receivableAsset$1,800
2100 Business credit cardLiability$300
3000 Owner's contributionsEquity$10,000
4000 Consulting revenueRevenue$4,800
5000 SubcontractorsExpense$1,200
6200 Office supplies and softwareExpense$300
6250 Office rentExpense$1,500
Total$15,100$15,100

From the same balances, October's profit and loss shows revenue of $4,800 less expenses of $3,000, a profit of $1,800. The balance sheet shows assets of $12,100 against liabilities of $300 and equity of $11,800 (the owner's $10,000 plus the month's profit), so assets equal liabilities plus equity.

What a balanced trial balance doesn't prove

Matching totals only show that every entry had equal debits and credits. These errors still balance:

  • A transaction never entered at all.
  • A posting to the wrong account of the right side, such as software booked to rent.
  • The same wrong amount on both sides, such as $1,500 typed as $15,000.
  • A transaction entered twice.

That's why bank reconciliations and a review of the ledger detail for odd items are part of every month-end close, not just the trial balance.

How do you run a general ledger report in accounting software?

Every accounting tool has a general ledger report that lists transactions by account for a date range; the names and options differ. What the three most common tools in our ranking offer:

ToolReportWhereWhat it showsNotes
QuickBooksGeneral LedgerReports > Standard reports, search by nameAdd Debit and Credit columns and a Cleared column for reconciliation status; filter by accountCustom Report Builder only on Advanced ($340/mo)
Zoho BooksGeneral Ledger and Detailed General LedgerReports > AccountantDetailed version: opening and closing balance for every account and a row for every transactionLarge exports run in the background, with download links under Check Status
XeroGeneral journal report, detailed or overviewReports sectionXero's US guide describes a detailed report and an overview of journal activityReport names differ from QuickBooks; ask your accountant which one they want

From vendor help pages and guides checked Nov 16, 2026 (QuickBooks article updated Aug 3, 2026). Prices are regular US monthly prices from our pricing data.

The general ledger report is available on entry plans, including QuickBooks Simple Start at $38/mo; what you pay more for is customization and the transaction volume around it. For plan-by-plan differences see QuickBooks vs Xero and Xero vs Zoho Books, and for annual totals our accounting software cost guide.

Your accountant will usually ask for the general ledger and the trial balance at year-end. Export both for the full fiscal year, and run them on the same accounting basis (cash or accrual) you file on; our cash vs accrual accounting guide explains the difference.

How long should you keep general ledger records?

The IRS doesn't set a separate rule for the ledger; it falls under the general recordkeeping periods, which run from when you file the return the records support. From the IRS's "How long should I keep records?" page:

SituationKeep records for
Most returns3 years
You file a claim for credit or refund after filing3 years from filing or 2 years from paying the tax, whichever is later
You don't report income that is more than 25% of the gross income shown on the return6 years
You claim a loss from worthless securities or a bad debt deduction7 years
Employment tax recordsAt least 4 years after the tax is due or paid, whichever is later
You don't file a return, or file a fraudulent oneIndefinitely

If you keep books in software, Publication 583 says a computerized system must be able to produce legible records that reconcile with your books and return. Before you cancel a subscription or switch tools, export the general ledger and trial balance for every open year, since access to old data can end with the plan. Lenders, insurers and buyers of a business may ask for records longer than the IRS does.

Summarizes IRS guidance and isn't tax or legal advice.

FAQ

What is the difference between a general ledger and a general journal?

The general journal records transactions in date order as they happen, each with its debits and credits. The general ledger takes the same entries and groups them by account, with a running balance for each. The journal shows what happened when; the ledger shows where each account stands.

Is a general ledger the same as a trial balance?

No. The general ledger holds every transaction for every account. The trial balance is a one-page summary that lists only each account's ending balance in debit and credit columns, to check that the two totals match before preparing financial statements.

Does a small business need a general ledger?

A business using double-entry bookkeeping has one by definition, and every mainstream accounting app keeps one automatically. IRS Publication 583 also allows a single-entry system based on the income statement, which can work for a very small, simple business, but it doesn't produce a balance sheet.

What are the five types of general ledger accounts?

Assets, liabilities, equity, revenue and expenses. Asset and expense accounts normally carry debit balances; liability, equity and revenue accounts normally carry credit balances. The first three feed the balance sheet and the last two the profit and loss statement.

More on this topic

Sources

Vettlo Editorial Team

Researched and written by the Vettlo editorial team using our methodology. Prices and plan details come from each vendor's public pricing page.