General ledger
Learn what a general ledger is, what it records, and how it powers your financial statements.
Published Thursday 23 July 2026
Table of contents
Transactions are entered into the correct account in order to produce the financial reports.
Key takeaways
- A general ledger is the master record of all your business's financial transactions, organized by account.
- It uses double-entry bookkeeping, so every transaction is recorded as a debit in one account and a credit in another.
- The general ledger is the source of your trial balance, balance sheet, profit and loss statement, and cash flow statement.
- Cloud accounting software keeps your general ledger updated automatically, so your numbers stay accurate in real time.
What is a general ledger?
A general ledger is the master record of all your business's financial transactions, organized by account. It's the source of the financial statements you use to run your business and file your taxes.
Every purchase, sale, payment, and receipt lands in the general ledger, sorted into accounts like cash, sales, and rent. Because it pulls everything into one place, you can see exactly where your money comes from and where it goes.
The general ledger summarizes the credit and debit transactions for each account.
Bookkeepers and accountants sometimes call it the GL for short. Whatever you call it, it's the backbone of your accounting records.
What is recorded in a general ledger?
The general ledger groups every transaction into 5 types of account. Together they cover everything your business owns, owes, earns, and spends.
- Assets: what your business owns, eg, cash, inventory, and equipment
- Liabilities: what your business owes, eg, loans, unpaid supplier bills, and taxes payable
- Equity: the owner's stake in the business, eg, capital you've invested and retained earnings
- Revenue: money you earn from selling products or services, eg, sales income
- Expenses: the costs of running your business, eg, rent, wages, and utilities
How a general ledger works
The general ledger sits at the centre of the accounting cycle, the repeating process that turns raw transactions into finished financial statements. Each transaction flows through the same steps before it reaches your reports.
- Capture the source document, such as an invoice, receipt, or bank statement.
- Record the transaction as a journal entry with the date, accounts, and amounts.
- Post the journal entry to the matching accounts in the general ledger.
- Prepare a trial balance to confirm total debits equal total credits.
- Produce your financial statements from the general ledger balances.
Double-entry, debits and credits
The general ledger runs on double-entry bookkeeping, which means every transaction is recorded in at least 2 accounts. One account is debited and another is credited by the same amount, so your books always stay in balance.
This balance follows the accounting equation: assets = liabilities + equity. Asset and expense accounts increase with debits, while liability, equity, and revenue accounts increase with credits.
The chart of accounts
The chart of accounts is the numbered index of every account in your general ledger. It gives each account a name and a number, so transactions are sorted consistently.
Numbers are usually grouped by type. Assets sit in the 1000s, liabilities in the 2000s, equity in the 3000s, revenue in the 4000s, and expenses in the 5000s. This structure keeps your ledger organized as your business grows.
General ledger example
A quick example shows how a single sale lands in the general ledger. Say you make a $500 cash sale, and your cash account already has an opening balance of $2,000.
Under double-entry bookkeeping, you record the sale in 2 accounts. You debit the cash account $500 because cash has increased, and you credit sales revenue $500 because you've earned income. Here's how that posts.
- Cash account: debit $500, bringing the running balance from $2,000 to $2,500
- Sales revenue account: credit $500, bringing the running balance to $500
The debit and the credit match, so the ledger stays balanced and both accounts reflect the sale.
How the general ledger drives your financial statements
Your financial statements are built directly from general ledger balances. Once your transactions are posted, the ledger feeds each of the core reports.
- Trial balance: lists every general ledger account balance to check that total debits equal total credits
- Balance sheet: uses the asset, liability, and equity accounts to show what you own and owe at a point in time
- Profit and loss (P&L) statement: uses the revenue and expense accounts to show whether you made a profit or a loss over a period
- Cash flow statement: draws on ledger activity to show the cash moving in and out of your business
Because these reports pull straight from the ledger, accurate general ledger records give you accurate statements.
General ledger vs related terms
A few accounting terms sit close to the general ledger and are easy to mix up. Here's how each one differs.
General ledger vs general journal
The general journal is the book of original entry, where you first record transactions in date order as they happen. The general ledger is the book of final entry, where those journal entries are sorted and posted by account so you can see each account's balance.
General ledger vs trial balance
The trial balance is a list of all your general ledger account balances at a point in time. You use it to check that total debits equal total credits before preparing your financial statements, while the general ledger holds the full detail behind each balance.
General ledger vs subledger
A subledger holds the transaction-level detail behind a single general ledger account, eg, accounts receivable broken down by customer. Each subledger rolls up into a control account in the general ledger, so the ledger stays clean while the detail lives one level down.
Why a general ledger matters
A well-kept general ledger does more than tidy your records. It gives you the accurate numbers you need to run and protect your business.
- Accurate financial statements: reliable balances flow straight into your reports
- Better decisions: clear account histories help you spot trends and plan ahead
- Fraud detection: complete records make unusual transactions easier to catch
- Tax and audit support: organized records back up the figures you file
Good records also help you meet your obligations at tax time. The Canada Revenue Agency generally requires businesses to keep their records for 6 years from the end of the last tax year they relate to.
Manage your general ledger with Xero
Keeping a general ledger by hand means posting every entry yourself and hoping the debits and credits match. Cloud accounting software takes that manual work off your plate.
Bank feeds pull your transactions in automatically, and smart categorization sorts them into the right accounts. Each entry then posts to your general ledger in real time. Your trial balance and financial statements stay current, so you always have an accurate picture of your finances.
See how Xero keeps your general ledger up to date while you focus on running your business, and get one month free when you sign up.
FAQs on general ledgers
Here are answers to some frequently asked questions about general ledgers.
What is the difference between a general ledger and a journal?
A journal records transactions in date order as they happen, while the general ledger sorts those same transactions by account. The journal comes first, then the entries are posted to the ledger.
What is the difference between a general ledger and a trial balance?
The general ledger holds the full detail of every account, while the trial balance is a short summary of each account's closing balance. You use the trial balance to confirm your debits and credits are equal.
What is a subledger?
A subledger is a supporting record that breaks a general ledger account into its individual transactions, such as amounts owed by each customer. Its total rolls up into a matching control account in the general ledger.
What does a general ledger tell you?
It tells you the current balance and full history of every account in your business, from cash to expenses. That gives you a complete view of what you own, owe, earn, and spend.
What happens if your general ledger doesn't balance?
If total debits don't equal total credits, there's an error such as a missing entry or a wrong amount that you need to find and fix. Your financial statements won't be reliable until the ledger balances.
Related terms
Learn more about general ledgers
Handy resources
Advisor directory
You can search for experts in our advisor directory
Xero Small Business Guides
Discover resources to help you do better business
Online accounting with Xero
Automate your accounting in the cloud
Disclaimer
This glossary is for small business owners. The definitions are written with their requirements in mind. More detailed definitions can be found in accounting textbooks or from an accounting professional. Xero does not provide accounting, tax, business or legal advice.