The journal entry for an unrealized gain on an investment debits a fair value adjustment account, which raises the investment’s carrying value on the balance sheet, and credits an unrealized gain account. Where that credit lands depends on the security: for equity securities and trading debt securities, it goes to a gain account on the income statement and increases net income; for available-for-sale debt securities, it bypasses the income statement and goes to other comprehensive income within shareholders’ equity. The amount is the difference between the current fair value and the previous carrying amount.
Which Investments Actually Get This Entry
Not every asset gets marked to market. Buildings, equipment, and land stay at historical cost less depreciation and never generate an unrealized gain entry. The entry applies to marketable securities, and the rules split between equity and debt.
Equity securities with a readily determinable fair value fall under ASC 321. Every change in fair value flows through net income in the period it occurs. Equity securities without a readily determinable fair value can be carried under a measurement alternative at cost, adjusted only when an observable price appears from an orderly transaction in the identical or similar security of the same issuer; those adjustments also run through net income.1U.S. Securities and Exchange Commission. 9.5 Investments – Equity Securities
Debt securities sort into three buckets under ASC 320:
- Trading debt is bought with the intent to sell in the near term. Unrealized gains and losses flow through net income.
- Available-for-sale (AFS) debt is anything not classified as trading or held-to-maturity. Unrealized gains and losses go to other comprehensive income.
- Held-to-maturity (HTM) debt is what the company intends and is able to hold until maturity. It stays at amortized cost, so no unrealized gain entry is recorded at all.2U.S. Securities and Exchange Commission. Investment Securities
So the entry described in this article covers equity securities, trading debt, and AFS debt. HTM debt never triggers it.
Recording the Gain on Equity or Trading Debt Securities
When an equity investment or a trading debt security rises in value at the reporting date, debit the fair value adjustment account to lift the carrying value, and credit an unrealized gain account that sits on the income statement.
Say a company bought stock for $50,000 and, at period end, the shares are worth $54,000. The $4,000 increase is recorded like this:
- Debit: Fair Value Adjustment — $4,000
- Credit: Unrealized Gain on Securities (Income Statement) — $4,000
The investment account itself still shows the original $50,000 cost. The fair value adjustment account acts as a companion balance that bridges cost and current market value, so the balance sheet reader can see both figures. The $4,000 credit flows into the income statement and increases net income for the period.
Some companies skip the separate adjustment account and debit the investment account directly. Both are acceptable under GAAP. Using a separate account is more common because it preserves the original cost basis, which matters when the security is later sold.
Recording the Gain on Available-for-Sale Debt Securities
AFS debt takes a different route. The unrealized gain still lifts the asset’s carrying value on the balance sheet, but the credit lands in other comprehensive income instead of net income. OCI is a holding area inside equity that captures certain gains and losses the standard-setters decided should not distort current-period earnings.3U.S. Securities and Exchange Commission. Summary of Significant Accounting Policies
Consider AFS bonds purchased for $100,000 that are worth $107,500 at the reporting date. The $7,500 gain is recorded as:
- Debit: Fair Value Adjustment — $7,500
- Credit: Unrealized Gain on AFS Securities (OCI) — $7,500
Carrying value on the balance sheet rises to $107,500. The income statement is untouched. The $7,500 accumulates in a permanent equity account called accumulated other comprehensive income (AOCI), where it stays until the security is sold.3U.S. Securities and Exchange Commission. Summary of Significant Accounting Policies
The classification of the security at purchase controls where the credit goes. Putting an AFS gain on the income statement overstates earnings; burying a trading gain in OCI understates them. The debits and credits look almost identical, but the account the credit hits is not interchangeable.
How Fair Value Is Determined
The number driving the entry is fair value at the reporting date. ASC 820 sets a three-level hierarchy for measuring it, ranking inputs by how observable they are.4Financial Accounting Standards Board. Fair Value Measurement (Topic 820)
- Level 1 uses quoted prices in active markets for identical assets. A publicly traded stock with a closing price on the NYSE sits here.
- Level 2 uses observable inputs other than Level 1 quotes, such as quoted prices for similar securities, interest rate curves, and credit spreads. Corporate bonds that don’t trade daily but have observable benchmark yields typically land here.
- Level 3 uses unobservable inputs based on the company’s own assumptions. Private equity holdings and illiquid structured products often end up here.
The hierarchy level does not change the journal entry. Whether the fair value comes from a Level 1 quote or a Level 3 model, the debit and credit accounts are the same. Level 3 valuations do carry more scrutiny from auditors because the numbers depend heavily on management’s assumptions.
What Happens When the Security Is Sold
An unrealized gain is a placeholder. When the security actually sells, the paper gain has to come off the books and the real gain has to go on. This takes two steps, plus a third for AFS.
Reverse the Fair Value Adjustment
Whatever balance is sitting in the fair value adjustment account gets zeroed out. If the account holds a $7,500 debit balance from prior gains, the reversal credits fair value adjustment for $7,500 and debits the same unrealized gain account that received the original credit. The investment’s carrying value returns to its original cost, and the paper gain is cleared.
Record the Sale
The cash transaction is booked separately. 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 already ran through the income statement in prior periods, so reversing it and recording the realized gain nets out in total income impact (assuming the sale price matches the last fair value measurement).
Reclassification for AFS
AFS needs one more entry. The original $7,500 gain bypassed the income statement and accumulated in AOCI, so at sale it has to move out of AOCI and into net income. The entry debits AOCI for $7,500 and credits realized gain for $7,500. Without this reclassification adjustment, the gain would either be double-counted in comprehensive income or missing from net income entirely.5Financial Accounting Standards Board. Taxonomy Implementation Guide on Modeling Other Comprehensive Income
Tax Effect of the Entry
Recording an unrealized gain under GAAP does not usually create a current tax bill. The IRS taxes investment gains at the point of sale, not at the point of a fair value adjustment. The main exception is dealers in securities under Internal Revenue Code Section 475, who must use mark-to-market accounting for tax purposes and pay tax on 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.6Internal Revenue Service. Topic No. 429, Traders in Securities
When book income includes an unrealized gain but taxable income does not, the mismatch is a temporary difference and creates a deferred tax liability. The company recognizes now that it will owe tax later when the gain is realized. For AFS debt securities, the deferred tax entry runs through OCI alongside the gain itself, so the tax effect stays with the source of the gain rather than hitting net income.