Definition of available-for-sale securities
Available-for-sale (AFS) securities are debt or equity investments that don't fit neatly into the other two categories: they're not classified as held-to-maturity and not classified as trading. Think of AFS as the "everything else" bucket for investments.
A company holds AFS securities for an indefinite period but may sell them if market conditions shift or liquidity needs arise. The key accounting treatment: AFS securities sit on the balance sheet at fair value, but unrealized gains and losses bypass net income and instead flow into other comprehensive income (OCI). This keeps earnings stable while still reflecting current market values on the balance sheet.
Accounting for available-for-sale securities
Initial recognition of securities
AFS securities are initially recorded at acquisition cost, which includes the purchase price plus any direct transaction costs like brokerage fees.
The journal entry is straightforward:
- Debit: Available-for-Sale Securities
- Credit: Cash
For example, say a company buys 100 shares of XYZ stock at $50 per share and pays a $10 brokerage fee. Total cost = (100 × $50) + $10 = $5,010.
- Debit: Available-for-Sale Securities — $5,010
- Credit: Cash — $5,010
Subsequent measurement of securities
At the end of each reporting period, you adjust AFS securities to their current fair value. Fair value is typically based on quoted market prices (Level 1 inputs under the fair value hierarchy), though Level 2 or Level 3 valuation techniques apply when market prices aren't available.
The adjusting entry records the change in value:
- Debit/Credit: Available-for-Sale Securities (to adjust the carrying amount)
- Credit/Debit: Unrealized Gain/Loss — OCI (the offsetting entry)
Unrealized holding gains vs losses
An unrealized holding gain arises when fair value increases above the previous carrying amount; an unrealized holding loss arises when fair value drops. The word "unrealized" matters here: the company hasn't sold the security yet, so the gain or loss is only on paper.
These unrealized amounts are not included in net income. They're recorded in OCI, which keeps the income statement free from period-to-period market fluctuations. The gains or losses only hit net income when the securities are actually sold or deemed impaired.
Other comprehensive income treatment
OCI is a separate component of shareholders' equity that captures certain gains and losses excluded from net income. For AFS securities, unrealized gains and losses accumulate in OCI over time.
The running total of these amounts on the balance sheet is called accumulated other comprehensive income (AOCI). When AFS securities are eventually sold or impaired, the related unrealized amounts get reclassified (sometimes called "recycled") from AOCI into net income. This reclassification is what connects the OCI treatment back to the income statement.
Impairment of available-for-sale securities
Indicators of impairment
Impairment occurs when the fair value of an AFS security falls below its amortized cost basis and the decline is considered other-than-temporary (OTT). Common indicators include:
- Significant financial difficulty of the issuer
- Breach of contract, such as missed interest or principal payments
- High probability the issuer will enter bankruptcy or financial reorganization
- Disappearance of an active trading market for the security
If the decline is judged to be other-than-temporary, the unrealized loss must be recognized in net income rather than staying in OCI.
Determining fair value
Fair value is the price you'd receive to sell the security in an orderly transaction between market participants at the measurement date. For securities with quoted market prices, this is simple. For securities without readily available prices, companies use valuation techniques such as discounted cash flow analysis or comparable company analysis.

Recognizing impairment losses
When an OTT impairment is confirmed, the loss moves from OCI to the income statement:
- Debit: Loss on Impairment of AFS Securities (income statement)
- Credit: Available-for-Sale Securities (writing down to fair value)
After the write-down, the security's new cost basis equals its fair value at the impairment date. Subsequent recoveries in fair value for debt securities flow through OCI, but the written-down cost basis is not reversed back up through net income.
Sale of available-for-sale securities
Calculating realized gain or loss
When you sell an AFS security, the realized gain or loss equals the difference between the selling price and the security's original amortized cost basis (not its most recent fair value on the books):
For example, if a company sells an AFS security with an amortized cost of $1,000 for $1,200, the realized gain is $200.
Reclassifying unrealized gains or losses
At the time of sale, any unrealized gains or losses sitting in OCI for that security must be reclassified to net income. This is the "recycling" entry:
- Debit/Credit: Unrealized Gain/Loss — OCI (to remove the accumulated amount)
- Credit/Debit: Gain/Loss on Sale of AFS Securities (income statement)
The combined effect of the sale entry and the reclassification entry ensures the total gain or loss recognized in net income equals the difference between selling price and original amortized cost.
Impact on financial statements
The sale affects both statements:
- Balance sheet: AFS securities decrease by the carrying amount sold; cash increases by the selling price. AOCI is adjusted to remove the reclassified unrealized gain or loss.
- Income statement: The realized gain or loss appears in net income for the period of sale.
Presentation of available-for-sale securities
Classification on balance sheet
AFS securities are generally reported as non-current (long-term) investments on the balance sheet. However, if management intends to sell a portion within the next 12 months, that portion is classified as a current asset. The classification depends on management's intent and the expected holding period.
Disclosures in financial statement notes
Companies must provide detailed note disclosures for AFS securities, including:
- Description of the securities (issuer, type, maturity date)
- Amortized cost and fair value
- Gross unrealized gains and losses recognized in OCI
- Realized gains and losses recognized in net income
- Any impairment losses recognized
- Transfers between investment categories
These disclosures give financial statement users the information they need to assess the risk, performance, and liquidity profile of a company's AFS portfolio.

Transfers between investment categories
Accounting for transfers into AFS
Securities can be reclassified into AFS from either held-to-maturity or trading. When transferring from held-to-maturity to AFS, any difference between amortized cost and fair value at the transfer date is recorded in OCI:
- Debit: Available-for-Sale Securities (at fair value)
- Credit: Held-to-Maturity Securities (at amortized cost)
- Debit/Credit: Unrealized Gain/Loss — OCI (for the difference)
Transfers out of HTM are scrutinized closely. Frequent transfers can "taint" the entire HTM portfolio, calling into question whether the company truly intends to hold those securities to maturity.
Accounting for transfers out of AFS
When transferring from AFS to held-to-maturity, the security transfers at its current fair value, which becomes the new amortized cost basis. Any unrealized gain or loss in AOCI at the transfer date is not immediately reclassified to income; instead, it's amortized over the remaining life of the security as a yield adjustment.
When transferring from AFS to trading, the security moves at fair value, and any unrealized gain or loss in OCI is immediately reclassified to net income:
- Debit: Trading Securities (at fair value)
- Credit: Available-for-Sale Securities (at fair value)
- Debit/Credit: Unrealized Gain/Loss — OCI (reclassified to income statement)
Comparison to other investment types
AFS vs held-to-maturity securities
Held-to-maturity (HTM) securities are debt investments a company has the positive intent and ability to hold until maturity. Key differences from AFS:
- HTM securities are carried at amortized cost, not fair value
- Unrealized gains and losses on HTM securities are not recognized at all (neither in net income nor OCI)
- Selling an HTM security before maturity can taint the entire HTM classification, raising questions about the company's intent for its remaining HTM holdings
AFS vs trading securities
Trading securities are investments bought with the intent to sell in the near term for profit. Both AFS and trading securities are reported at fair value on the balance sheet, but the treatment of unrealized gains and losses differs:
| AFS | Trading | |
|---|---|---|
| Reported at | Fair value | Fair value |
| Unrealized gains/losses | OCI | Net income |
| Income statement volatility | Lower | Higher |
| Typical holding period | Indefinite | Short-term |
| The core distinction: trading securities create earnings volatility because every fair value change hits net income immediately, while AFS securities shelter that volatility in OCI. |
Tax considerations for AFS securities
Taxable vs non-taxable interest
Interest income from AFS debt securities may be taxable or tax-exempt depending on the issuer. Corporate bonds generate taxable interest, while municipal bonds issued by state and local governments typically generate tax-exempt interest. Companies must track and report these categories separately.
Tax impact of gains and losses
Realized gains and losses on AFS securities are subject to capital gains tax. The tax rate depends on the holding period:
- Short-term (held one year or less): taxed at ordinary income rates
- Long-term (held more than one year): taxed at preferential (lower) capital gains rates
Unrealized gains and losses sitting in OCI are not taxed until the securities are sold and the gains or losses become realized. However, companies do record deferred tax effects on unrealized gains and losses in OCI, so the OCI balance is presented net of tax (or with the tax effect disclosed separately). When an OTT impairment loss is recognized, that loss is deductible for tax purposes in the year of recognition.