General ledger in accounting: Definition and how it works for small businesses
Track every financial transaction in one place, organized by account to simplify reporting and audits.

Written by Kari Brummond—Content Writer, Accountant, IRS Enrolled Agent. Read Kari's full bio
Published 13 July 2026
Table of contents
Key takeaways
- The general ledger is the central record of all of a business's financial transactions, organized by account.
- It includes five categories (income, expenses, assets, liabilities, equity), which create the balance sheet.
- With double-entry bookkeeping, you record transactions in the journal, then the subledger, and finally the general ledger.
- Accounting software simplifies this process; you enter a transaction once, and the software takes care of the rest.
What is a general ledger in accounting?
A general ledger (GL) is the master accounting record that contains every financial transaction a business makes, organized by account rather than by date. The IRS requires businesses to keep records that support items of income, deductions, and credits on their returns.
A general ledger is an overview of a company's financial transactions. Also called a business ledger, it shows the total debits and credits from each account of a company's chart of accounts over a certain time period.
For example, your chart of accounts might include business revenue, office supplies, inventory purchases, a loan from ABC bank, and a company car. The general ledger shows the total debits and credits in each of these accounts, organized by category rather than chronologically.
So what does a general ledger look like? In the past, it was a big book with pages featuring lines to record entries and columns for debits and credits. Now, it's in your accounting software; general ledger reports look similar to the old school paper versions, with a list of accounts and columns for debits, credits, and totals.
Learn more about small business accounting from the IRS.
5 types of general ledger accounts
Every account in your chart of accounts is a subcategory of a general ledger account, which also appears on the general ledger report. What is a GL account? It's these five categories:
- income: money the business earns
- expenses: money the business spends
- assets: what the business owns
- liabilities: what the business owes
- equity: the value of the business
Most accounting software assigns standard GL code ranges to each category. Assets typically use codes in the 100s, liabilities in the 200s, equity in the 300s, income in the 400s, and expenses in the 500s. Your software may vary, but these ranges help you quickly identify what type of account you're looking at in the ledger.
General ledger vs journal, subledgers, trial balance, and financial statements
The general ledger system has several components, including:
- journal: where financial transactions are originally recorded; also called the book of original entry
- subledger: detailed breakdown of transactions in certain categories, such as accounts receivable or accounts payable
- general ledger: an overview of a business's financial transactions by category, including the totals from the subledgers
- trial balance: used to check if the credits and debits from the general ledger accounts are equal
- financial reports: financial statements, such as balance sheets or profit and loss reports, based on the info in the general ledger
All of this creates the foundation of double-entry accounting. Under US GAAP standards set by the Financial Accounting Standards Board, every transaction must be recorded in at least two accounts. It might seem boring, but it allows a business to track its value, and because everything needs to balance, it safeguards against mistakes.
How a general ledger works
Before you can use a general ledger, you need to set up a chart of accounts. This is the list of categories (like income, rent, or office supplies) that your transactions get sorted into. Once your chart of accounts is in place, the general ledger tracks the totals for each account.
Here's what a bookkeeper does when using a general ledger for accounting:
- makes a journal entry: all entries are chronological
- records the transaction in the ledger: transactions in simple categories (such as income or expenses) go directly in the general ledger, while more complicated categories (such as accounts receivable) have a subledger
- moves subledger totals to the general ledger: the totals from the subledgers go into the general ledger
- calculates a trial balance: adds up the debits and credits in the general ledger to see if they balance
- looks for errors: if the general ledger doesn't balance, the bookkeeper looks for errors in the journal or subledger
- corrects errors and runs another trial balance: they continue this process until everything balances
- creates financial reports: using the details from the ledger, the bookkeeper can create financial reports
This is a time-consuming, labor-intensive process. But here's the good news; you don't need to know any of this to handle your small business accounting. With bookkeeping software, you make a single entry and the software handles the rest.
Here's how it goes down. Say you're reconciling your bank account and you categorize a $500 withdrawal as office supplies. The software does the double entry in the background; it updates the general ledger with a credit for the bank account and a debit for the office supply account. Then, when you want a financial report, you just generate one with a few taps.
The IRS has more tips on how to record business transactions.
General ledger example for a small business
Here's an example to show you how a general ledger looks. Keep in mind that even with a small business, this report will be much longer; this is just an example to explain the general ledger.
General Ledger Summary for the Period of April 1, 2026, to April 30, 2026
| GL Code | Debit | Credit | Net Movement | Account Type | |
|---|---|---|---|---|---|
| Sales | 11111 | $1000 | $10,000 | ($9,000) | Income |
| Supplies | 22222 | $20,000 | $20,000 | Expense | |
| Bank Loans | 88888 | $3,000 | $15,000 | ($12,000) | Liability |
| Owner Investment | 55555 | $15,000 | ($15,000) | Equity | |
| Delivery Van | 77777 | $16,000 | $16,000 | Asset | |
$40,000 | $40,000 | $0 |
This general ledger report summarizes the totals of a business's transactions from April 2026. The columns show the subledger categories, followed by the general ledger code, debits and credits, the net change in each category, and the account type.
Here's what happened at the business in April 2026 based on the general ledger:
- earned $10,000 in sales income, had a $1000 return for a net movement of $9000
- spent $20,000 on supplies
- took out a bank loan for $15,000, repaid $3000 of the loan, for a net movement of $12,000
- received an owner investment of $15,000 cash
- bought a $16,000 delivery van
The credits and debits are the same amount, and the net movement column balances to $0. That means the ledger is balanced, and you can use it to generate financial reports.
Why is the general ledger important?
Why does this even matter? Because the general ledger brings together the numbers that go into the accounting equation.
equity = assets - liabilities
This equation is the most important part of accounting. Why? Because it literally shows what your business is worth. Lenders, investors, and most importantly, you can use this equation to figure out your business's value. The Small Business Administration (SBA) recommends tracking assets, liabilities, and equity through a balance sheet to manage your finances effectively.
Based on the sample general ledger report above, your business has the following:
- $16,000 in assets (that's the van)
- $12,000 in liabilities (that's the loan)
If you subtract liabilities from assets, you get $4000 in equity.
Then, you can use the other numbers in the report to double-check your work. First, you need to get rid of the income and expense categories. To do that, calculate retained earnings, which is an equity account. Based on $9000 in income and $20,000 in expenses, this business has negative $11,000 in retained earnings. Add that to the $15,000 equity it has from an owner investment.
-$11,000 + $15,000 = $4000
Everything is balanced; no matter how you shake out this report, the business is worth $4000 as of April 2026.
Again, you don't have to do this manually; your accounting software keeps it all balanced.
Tips for keeping your general ledger accurate and audit-ready
Even though a lot of the process is automated, you still need the right approach to keep your general ledger accurate and audit-ready.
- Reconcile bank accounts regularly. It's easier to categorize transactions promptly.
- Categorize accounts correctly. When setting up a new account in the chart of accounts, assign it to the correct GL account (assets, liabilities, equity, income, or expenses).
- Look for errors on the balance sheet. If it shows any categories besides assets, liabilities, and equity, you miscategorized an account.
- Keep records for at least three years. The IRS generally requires you to keep records for three years from the date you filed your return.
- Ask for help. Reach out to an accountant or use online resources when you're not sure how to handle something.
Make general ledger accounting easier with Xero
Put down the pens, close the dusty books, and definitely stay away from the spreadsheets. Let Xero handle everything. You generate invoices, pay bills, categorize bank transactions, and Xero does the double entries in the background.
Need a general journal report? Head to the reports section and choose between a detailed report or an overview. Want a balance sheet? Create one with a few clicks.
Xero makes bookkeeping easier than ever before. Get one month free.
FAQs on general ledger accounting
Here are answers to common questions about general ledgers for small businesses.
What are the five main general ledger accounts?
The five main accounts are income, expenses, assets, liabilities, and equity. Ledger balancing requires all these accounts to balance each other out: assets = equity + liabilities + income - expenses.
What is the difference between a general ledger and a general journal?
The general journal shows all of a business's transactions in chronological order, while the general ledger displays them by account. The journal records every individual transaction with its date, while the ledger provides totals of debits and credits for each account in your chart of accounts.
How often should I reconcile the general ledger?
Your accounting software reconciles the general ledger for you automatically. To keep it up to date, reconcile your bank and other accounts regularly.
What is a GL code and do I need them in a small business?
A GL code is a number used to organize transactions by account in the general ledger. Most accounting software requires you to assign a code to each account in your chart of accounts, but beyond that, you may not need additional GL codes for a small business.
Disclaimer
Xero does not provide accounting, tax, business or legal advice. This guide has been provided for information purposes only. You should consult your own professional advisors for advice directly relating to your business or before taking action in relation to any of the content provided.
Get one month free
Sign up to any Xero plan, and we will give you the first month free.