To record a journal entry for an unrealized gain, debit a fair value adjustment account to raise the investment’s carrying value, and credit an unrealized gain account for the same amount. Where that credit lands depends on the security: for equity securities and trading debt securities, it goes to an unrealized gain account on the income statement; for available-for-sale debt securities, it goes to other comprehensive income inside shareholders’ equity. The amount is the difference between the investment’s current fair value and its previous carrying amount.
The Basic Mechanics
An unrealized gain is a paper increase. The company still owns the security, so no cash has changed hands, but accounting rules require the balance sheet to reflect current fair value for certain investments. The entry has two sides and nothing more:
- A debit to Fair Value Adjustment, which increases the asset’s carrying value.
- A credit to Unrealized Gain, which recognizes the increase in either net income or other comprehensive income.
Most companies use a separate fair value adjustment account rather than debiting the investment account directly. Both are acceptable under GAAP. The separate account is more common because it preserves the original cost on the investment line, which matters when the security is eventually sold and the realized gain has to be calculated against that original basis.
Entry for Equity Securities and Trading Debt Securities
When an equity investment or a trading debt security rises in value, the gain hits net income immediately. Under ASC 321, all changes in the fair value of equity securities with a readily determinable fair value flow through earnings in the period they occur.1U.S. Securities and Exchange Commission. 9.5 Investments – Equity Securities Trading debt securities under ASC 320 follow the same route.
Suppose a company bought stock for $50,000, and at the reporting date the shares are worth $54,000. The $4,000 unrealized gain is recorded as:
- Debit: Fair Value Adjustment — $4,000
- Credit: Unrealized Gain on Securities (Income Statement) — $4,000
The investment account still shows the original $50,000 cost. The fair value adjustment account carries the $4,000 difference, so the two accounts together present a $54,000 carrying value on the balance sheet. The $4,000 credit increases reported net income for the period.
Entry for Available-for-Sale Debt Securities
Available-for-sale (AFS) debt securities take a different path. The gain still raises the asset’s carrying value, but the credit goes to other comprehensive income instead of the income statement. OCI is a separate component of equity that holds certain gains and losses the standard-setters chose to keep out of current-period earnings.2U.S. Securities and Exchange Commission. Summary of Significant Accounting Policies
Say a company holds AFS bonds purchased for $100,000, now worth $107,500. The $7,500 unrealized gain is recorded as:
- Debit: Fair Value Adjustment — $7,500
- Credit: Unrealized Gain on AFS Securities (OCI) — $7,500
The carrying value on the balance sheet rises to $107,500. Net income is untouched. The $7,500 accumulates in a permanent equity account called accumulated other comprehensive income (AOCI), where it sits until the security is sold.
Getting the classification right is what makes or breaks these entries. Routing an AFS gain through net income overstates earnings; burying a trading gain in OCI understates them. The security’s classification, set at the time of purchase, controls which account receives the credit.
Which Investments Actually Require This Entry
Not every asset gets marked to market. A few boundaries are worth stating so you don’t record an entry that shouldn’t exist:
- Fixed assets like buildings, equipment, and land stay at historical cost minus depreciation. No unrealized gain entry.
- Held-to-maturity debt securities stay at amortized cost. No unrealized gain entry.3U.S. Securities and Exchange Commission. Investment Securities
- Equity securities without a readily determinable fair value can be carried at cost under a measurement alternative in ASC 321, with adjustments made only when an observable price from an orderly transaction in the same or similar security of the same issuer appears. When those adjustments do occur, they run through net income.
Everything else in the marketable securities portfolio generally gets a fair value entry at each reporting date.
What Happens When the Security Is Sold
An unrealized gain is a placeholder. When the sale actually happens, the paper gain comes off the books and a realized gain takes its place. The cleanup has two parts.
Reverse the Fair Value Adjustment
Zero out the fair value adjustment account. If it carried a $7,500 debit balance from prior unrealized gains, credit it for $7,500 and debit the same unrealized gain account that originally received the credit. The investment is now back to its original cost on the books.
Record the Sale
If the AFS bonds sold for $107,500:
- Debit: Cash — $107,500
- Credit: Investment in AFS Securities — $100,000
- Credit: Realized Gain on Sale of Investments (Income Statement) — $7,500
For equity securities and trading debt, that is the end of it. The unrealized gain was already in net income, so reversing it and booking the realized gain nets out.
AFS debt securities need one more step: a reclassification adjustment. The original $7,500 gain accumulated in AOCI and never touched net income, so the company moves it out of AOCI and into earnings by debiting AOCI for $7,500 and crediting the realized gain account for $7,500. Without this reclassification, the gain would either be double-counted in comprehensive income or missed entirely in net income.4Financial Accounting Standards Board. Taxonomy Implementation Guide on Modeling Other Comprehensive Income
Tax Side of the Entry
The book entry and the tax bill do not match. For most companies, an unrealized gain recorded under GAAP is not taxable until the security is sold. The IRS generally taxes investment gains at the point of sale, not when the balance sheet is adjusted.
The exception is dealers in securities under Internal Revenue Code Section 475, who must use mark-to-market accounting for tax and recognize unrealized gains in the year they arise. Traders who are not dealers can elect the same treatment under Section 475(f), which converts what would otherwise be capital gains into ordinary income.5Internal Revenue Service. Topic No. 429, Traders in Securities
For companies with a GAAP gain and no current tax, the gap between book income and taxable income is a temporary difference. That temporary difference produces a deferred tax liability, since tax will be owed later when the gain is realized. For AFS debt securities, the deferred tax entry runs through OCI alongside the unrealized gain itself, so the tax effect stays with the gain that created it rather than dropping into net income.