Skip to main content
Not investment advice. Educational reading. See Disclaimer.
L.4 · INTERMEDIATE · 4 MIN

Investment Securities: Trading, AFS, and HTM (Debt)

When a company holds debt or equity investments, the accounting treatment depends entirely on classification. This determines whether unrealized gains and losses hit the income statement, bypass it through OCI, or are ignored until sale. One scope note before the framework: since ASU 2016-01 (effective 2018), these three categories apply to DEBT securities only. Minority EQUITY stakes are carried at fair value through net income (FVTNI) — there is no AFS or HTM parking spot for equities anymore, which is why strategic-stake mark-to-market swings now hit reported earnings directly.

Quiz · 1 question ↓

Trading, AFS, and HTM compared

ClassificationBalance SheetUnrealized Gains/LossesKey Risk
TradingFair valueIncome statement (every quarter)Earnings volatility
Available-for-Sale (AFS)Fair valueOther Comprehensive Income (OCI)Hidden in equity section
Held-to-Maturity (HTM)Amortized costNot recognized (fair value disclosed in footnotes only)Invisible losses if forced to sell

How securities classification drove the SVB collapse

Caution: Security-classification accounting was at the center of the Silicon Valley Bank collapse in 2023 — and the details matter. SVB's fire-sale was its AFS book: it sold ~$21B of AFS securities and realized a $1.8B loss. The HTM portfolio's far larger unrealized losses (~$15B, visible only in a fair-value footnote) were never sold — but depositors understood that selling even one HTM bond would 'taint' the whole portfolio and force fair-value recognition, so the footnote alone was enough to start the run.

The hidden losses buried in AFS and HTM

AFS creates a hidden pocket of gains and losses. A company might report steady net income while sitting on $2B of unrealized losses in its AFS portfolio, visible only in the OCI section of shareholders’ equity.

Hidden HTM Loss = Amortized Cost − Fair Value

CECL (ASC 326) requires banks to estimate lifetime expected credit losses at origination — not when losses become probable. In the first half of 2020 the largest US banks set aside tens of billions of dollars of credit-loss provisions under CECL, front-loading losses that had not yet occurred.

FeatureOld Model (Incurred Loss)CECL (Expected Loss)
When to reserveWhen loss is probableAt origination
Time horizonCurrent periodLifetime of the asset
Impact on banksDelayed recognitionFront-loaded, cyclical surges
ForecastingNot requiredMust use reasonable forecasts

Compare amortized cost to fair value for HTM bonds

Open a major bank's latest 10-K on SEC EDGAR and find the investment securities footnote — compare amortized cost to fair value for the HTM portfolio. The difference is the unrealized loss that does NOT appear on the income statement or in equity.

Spotting hidden risk in an HTM portfolio

A bank holds $500M in HTM bonds now worth $430M. It reports healthy net income. Is there hidden risk?

Show the answer

Answer: A. Yes — the $70M loss is real but unrecognized, and a forced sale would make it visible

The HTM Accounting Illusion When a bank buys a bond with depositor money, accounting rules require it to place that bond into one of three buckets. The two most relevant here are: Available-for-Sale (AFS): The bank might sell these before maturity. Because of that, accounting rules require the bank to mark-to-market AFS bonds. If the bond's value drops, the bank's reported equity drops immediately (through Other Comprehensive Income). Held-to-Maturity (HTM): The bank legally declares it has the intent and ability to hold these bonds until they expire. Because the plan is to hold to the end (when the bond pays back its full face value), accounting rules let the bank ignore temporary market fluctuations. The bond stays on the balance sheet at amortized cost. If the bank bought $500M in HTM bonds, and rising interest rates push the market value down to $430M, the bank does NOT have to report that $70M loss on its income statement or its equity. The loss is unrealized and completely invisible to the headline reported figures. The Liquidation Trigger (The Bank Run) The fatal flaw in HTM accounting is the phrase intent and ability to hold. If the bank experiences a sudden wave of customer withdrawals (a bank run) and runs out of liquid cash, it loses the ability to hold those bonds to maturity. It is forced to sell its assets to pay depositors. The moment a bank sells even a single bond out of its HTM portfolio, accounting rules dictate that the intent to hold is broken. The remaining HTM bonds are 'tainted': they must be reclassified to AFS and carried at fair value, so the $70M unrealized loss moves into equity (through other comprehensive income) at once, and any bonds actually sold turn their share of it into a realized loss on the income statement. Real-World Reality This is the trap that undid Silicon Valley Bank in March 2023. The Fed had raised rates from near zero to ~4.75% in about a year, and the bonds SVB bought in the zero-rate era had fallen sharply in value. Its HTM book alone carried ~$15B of unrealized losses at end-2022, roughly the size of its ~$16B of equity, visible only in a footnote. On March 8 it announced it had sold ~$21B of AFS bonds at a ~$1.8B loss and needed new capital. Depositors, mostly uninsured, did the arithmetic and tried to withdraw ~$42B the next day. Regulators closed the bank on March 10. The HTM bonds were never sold: the losses did not need to be realized to destroy confidence.

Why the amortized-cost to fair-value gap matters

Always check the footnotes for the gap between amortized cost and fair value of HTM securities. HTM accounting assumes the company will hold to maturity — but if circumstances force early liquidation, invisible losses become very real, very fast.

How HTM and AFS diverge in a rate shock

Mastery check

Counts toward mastery when you're signed in.

A bank holds $5B of bonds. In the 2022 rate shock their prices fall 20%. How does this appear on the balance sheet if they are classified 'Held to Maturity' (HTM) vs. the Available-for-Sale (AFS) alternative?

Checking this answer needs JavaScript, or open the lesson in the app.

Quiz · 1 question

Check your understanding

A bank holds a $500M bond portfolio classified as HTM. Due to rising interest rates, the portfolio's fair value has declined to $430M. The bank reports healthy net income and passes its regulatory capital requirements. Is there a hidden risk?

Why:
Continue this lesson in the app →See it on a real ticker →