What Is a General Ledger and How Does It Work?

A general ledger is the master record of every financial transaction a business makes, organized into five categories of accounts and kept in balance by the rules of double-entry bookkeeping. It pulls together the entries first captured in journals and subsidiary ledgers, and the balances it produces become the foundation of the balance sheet, income statement, and cash flow statement. Every dollar that moves through a business, whether it’s a customer payment, a vendor bill, or a payroll run, ends up in the general ledger.

The Five Account Categories

Every general ledger sorts transactions into five account types. Together they capture the full financial position and activity of a business.

  • Assets: resources the business owns or controls, such as cash, equipment, inventory, and amounts customers owe (accounts receivable).
  • Liabilities: debts and obligations owed to outside parties, including loans, unpaid vendor invoices, and taxes due.
  • Equity: the owners’ residual interest in the business after subtracting liabilities from assets. Retained earnings and contributed capital sit here.
  • Revenue: income earned from the business’s core activities, like product sales or service fees.
  • Expenses: costs incurred to generate that revenue, such as payroll, rent, supplies, and utilities.

Assets, liabilities, and equity feed the balance sheet. Revenue and expenses flow into the income statement. Once you know which bucket a transaction belongs in, you know where in the ledger it lives.

The Chart of Accounts

The chart of accounts is the directory that assigns a unique number and name to every account in the ledger. Each account gets a code so bookkeepers can classify transactions consistently. Most businesses use a four-digit numbering scheme grouped by category:

  • 1000–1999: Assets
  • 2000–2999: Liabilities
  • 3000–3999: Equity
  • 4000–4999: Revenue
  • 5000–7999: Expenses

Within each range, a business creates specific accounts as needed. Account 1010 might be “Checking Account,” 1200 might be “Accounts Receivable,” and 5100 might be “Office Supplies Expense.” Gaps in the numbering leave room to add new accounts later without renumbering everything. A sole proprietor might have thirty accounts; a mid-size company could have several hundred. The chart itself doesn’t record dollar amounts. It just provides the framework the ledger uses to organize them.

How Double-Entry Bookkeeping Keeps the Ledger in Balance

The ledger stays in balance through a rule that has governed accounting for more than 500 years: every transaction must affect at least two accounts, and total debits must equal total credits. This is double-entry bookkeeping, and it enforces the fundamental accounting equation:

Assets = Liabilities + Equity

When a business borrows $10,000 from a bank, two things happen at once. The cash account (an asset) increases by $10,000, and a loan payable account (a liability) increases by $10,000. The equation stays balanced. If the business then spends that cash on equipment, cash decreases and the equipment account increases. Both are assets, and the ledger is still balanced.

Debits and Credits

Debits and credits are simply the left and right sides of a ledger entry. Which side increases an account depends on the account type:

  • Assets and expenses increase with a debit (left side) and decrease with a credit (right side).
  • Liabilities, equity, and revenue increase with a credit (right side) and decrease with a debit (left side).

These are called normal balances. An asset account normally carries a debit balance, meaning its debits are larger than its credits. A liability account normally carries a credit balance. If every transaction records equal debits and credits, the ledger stays in equilibrium, and many recording mistakes surface immediately because an unbalanced entry is visible on its face.

Contra Accounts

Some accounts intentionally work against their parent category. These are contra accounts, and they carry the opposite normal balance. Accumulated depreciation is grouped with assets but carries a credit balance, reducing the book value of equipment or buildings over time. An allowance for doubtful accounts offsets accounts receivable to reflect the reality that some customers won’t pay. On the equity side, treasury stock (shares a company has bought back) carries a debit balance, reducing total equity. Sales returns and allowances reduce revenue through a debit-balance contra revenue account. Contra accounts keep the underlying account at its original value while showing the reduction separately, which gives a clearer picture than writing down the original number.

Journals, Posting, and How Transactions Reach the Ledger

Raw transactions are first captured in a journal, the book of original entry, in chronological order. Posting is the process of transferring those journal entries to the appropriate accounts in the general ledger. Each posting includes the date, a brief description, and the dollar amounts placed in the correct debit or credit column. A reference number links the ledger entry back to the original journal entry so any number can be traced to its source.

In a manual system, posting happens periodically, daily or weekly. Modern accounting software posts in real time: the moment a journal entry is recorded, the affected ledger accounts update. Either way, each account’s running balance reflects every transaction that has touched it.

Cash Basis Versus Accrual Basis

When a transaction gets posted depends on the accounting method the business uses. Under cash-basis accounting, revenue is recorded when cash arrives and expenses when cash leaves. Under accrual-basis accounting, revenue is recorded when it’s earned and expenses when they’re incurred, regardless of when money changes hands. A consulting firm that completes a $5,000 project in March but doesn’t get paid until April would record the revenue in March under accrual, and in April under cash basis.

GAAP requires accrual-basis accounting for publicly traded companies and larger businesses. The IRS allows smaller businesses under a certain gross-receipts threshold to use cash basis. Under Internal Revenue Code Section 446, whatever method a business uses must clearly reflect its income, and the IRS can reject a method that distorts the picture.1Office of the Law Revision Counsel. 26 U.S.C. 446 – General Rule for Methods of Accounting

Adjusting Entries

Before financial statements are prepared, a business typically records adjusting entries. These are transactions the normal posting process missed or that only become relevant at period-end. They fall into a few common categories:

  • Accrued revenue: income earned but not yet invoiced, like interest accumulating on a loan the business made.
  • Accrued expenses: costs incurred but not yet paid, like utilities consumed in December but billed in January.
  • Deferred revenue: cash a customer paid in advance for work not yet done. The cash is in the bank, but it can’t be called revenue until delivery.
  • Prepaid expenses: costs paid in advance, like six months of insurance. Each month, a portion shifts from the prepaid asset account to insurance expense.
  • Depreciation: spreading the cost of a long-lived asset across its useful life. A $60,000 delivery truck doesn’t become a $60,000 expense the day it’s purchased; a portion is recognized each period.

Adjusting entries follow the same double-entry rules as any other transaction. They’re the difference between financial statements that reflect economic reality and statements that only track cash movement.

Year-End Closing

At the end of each accounting period, revenue and expense accounts are zeroed out through closing entries. These are temporary accounts. They measure activity for a single period, not cumulative balances. The closing process transfers each revenue and expense balance into an income summary account, and the net result (profit or loss) moves into retained earnings, a permanent equity account. The temporary accounts then start the new period at zero. Permanent accounts (assets, liabilities, and equity) carry their balances forward indefinitely.

Sub-Ledgers and Control Accounts

Most businesses don’t record every individual customer invoice or vendor payment directly in the general ledger. Instead, they use subsidiary ledgers, which track transactions for a specific category and feed summarized totals into the general ledger. The three most common are accounts receivable (what each customer owes), accounts payable (what the business owes each vendor), and inventory.

The link between a subsidiary ledger and the general ledger runs through a control account. The accounts receivable control account in the general ledger shows a single balance, say $85,000. The accounts receivable subsidiary ledger breaks that $85,000 down by customer: $12,000 from Customer A, $8,500 from Customer B, and so on. The subsidiary ledger total must always match the control account balance. When it doesn’t, something was posted incorrectly, and the mismatch points toward where to look. This layered structure keeps the general ledger manageable while preserving the detail needed for collections, vendor management, and inventory tracking.

The Trial Balance and What It Doesn’t Catch

After posting all transactions and adjusting entries, accountants prepare a trial balance: a list of every ledger account and its debit or credit balance. If total debits equal total credits, the ledger is arithmetically in balance. If they don’t, a posting error or math mistake exists somewhere.

A balanced trial balance doesn’t mean the ledger is error-free. It only proves the math adds up. Several types of mistakes slip through undetected:

  • Omissions: a transaction never recorded at all. Both the debit and credit are missing, so the totals still match.
  • Wrong account, right amount: posting a sale to Customer A’s account instead of Customer B’s. The dollars balance, but the detail is wrong.
  • Wrong category entirely: recording a machinery purchase as a building expense. The debits and credits balance, but the classifications are incorrect.
  • Reversed entries: debiting an account that should have been credited and vice versa. If both sides are reversed by the same amount, the trial balance won’t flag it.
  • Duplicate entries: recording the same transaction twice. Double the debits, double the credits, still balanced.
  • Compensating errors: two separate mistakes that happen to cancel out.

The trial balance is a starting point for review, not a finish line. Catching subtler errors requires account reconciliation, subsidiary ledger comparisons, and detailed review.

From the Ledger to Financial Statements

Once the trial balance checks out and adjusting entries are posted, the ledger’s account balances become the raw material for financial statements. Asset, liability, and equity balances flow into the balance sheet. Revenue and expense balances produce the income statement. Changes in cash-related accounts feed the statement of cash flows. The ledger is where the data lives; financial statements are how that data gets communicated to investors, lenders, and regulators.

Public companies must produce statements that comply with Generally Accepted Accounting Principles, which require financial information to be relevant, comparable across organizations, and verifiable by third parties.2Financial Accounting Foundation. What Is GAAP? GAAP doesn’t prescribe a specific ledger format, but it demands that the end product meet these standards. A sloppy ledger produces statements that won’t hold up.

Materiality

Not every ledger discrepancy gets the same level of attention. Accountants and auditors apply the concept of materiality: a misstatement matters if it’s large enough or significant enough that a reasonable person relying on the financial statements would change their decision because of it. The SEC has warned against using a simple percentage cutoff (like the common “5% rule”) as the sole test for materiality.3U.S. Securities & Exchange Commission. SEC Staff Accounting Bulletin No. 99 – Materiality A numerically small error can still be material if it masks a shift from profit to loss, hides a failure to meet loan covenants, or involves deliberate manipulation. Qualitative context matters as much as the dollar amount.

Recordkeeping and Legal Requirements

The general ledger isn’t only an internal management tool. It’s a legal requirement for tax purposes. Section 446 of the Internal Revenue Code requires that taxable income be computed using an accounting method that clearly reflects income, and IRS regulations specify that this means maintaining books of account and supporting records.1Office of the Law Revision Counsel. 26 U.S.C. 446 – General Rule for Methods of Accounting A business that can’t produce an organized ledger during an audit risks having deductions disallowed or additional tax assessed.

The IRS requires businesses to keep records for as long as they may be relevant to a tax return, and how long that is depends on the situation. The general statute of limitations for tax assessment is three years from the filing date. That extends to six years if unreported income exceeds 25% of the gross income shown on the return. There is no time limit at all for fraudulent returns or failure to file. Businesses with employees must keep employment tax records for at least four years after the tax becomes due or is paid, whichever is later. Records tied to property, like depreciation schedules in the ledger, must be retained until the limitations period expires for the year the property is sold or disposed of.4Internal Revenue Service – IRS.gov. Topic No. 305, Recordkeeping

Public companies face an additional layer. Section 404 of the Sarbanes-Oxley Act requires management to include an internal control report in each annual filing, assessing the effectiveness of the company’s internal controls over financial reporting. The company’s independent auditor must then attest to and report on that assessment.5U.S. Department of Labor. Sarbanes-Oxley Act of 2002 In practice, the general ledger and the controls surrounding it (who can make entries, how errors are caught, how access is restricted) become subjects of formal annual review.

Ledger Software and Audit Trails

Handwritten ledger books still exist in some very small businesses, but most companies now maintain their general ledger in accounting software. The core logic hasn’t changed. Five account types, double-entry rules, posting from journals. Software just eliminates most of the manual work. Transactions post automatically, trial balances generate on demand, and closing entries can run at the click of a button.

The biggest advantage of a digital ledger is the audit trail. Good accounting software automatically records who made each entry, when they made it, and what (if anything) they changed afterward. These logs include timestamps, user identification, and version history for every edit. That matters for internal controls and for external audits, because any number in a financial statement can be traced back through the ledger to the original transaction, and verified as unaltered along the way. A paper ledger can be erased; a properly configured digital audit trail cannot.