What Is an Available-for-Sale Security?
Let me explain what an available-for-sale security, or AFS, really is. It's a debt or equity security you buy with the plan to sell it before it matures, or if there's no maturity date, to hold it for a longer period but not forever. Accounting rules make companies classify their investments in debt or equity as available-for-sale, held-to-maturity, or held-for-trading right when they purchase them. You report AFS securities at their fair value, and any changes in that value between periods show up in the accumulated other comprehensive income part of the equity section on the balance sheet.
How an Available-for-Sale Security Works
You need to understand that AFS is just an accounting term for certain financial assets. It covers debt or equity securities that aren't classified as held-for-trading or held-to-maturity. These are nonstrategic assets, and they usually have a market price you can easily check. The unrealized gains and losses from AFS securities don't hit your net income like they do for trading investments; instead, they go into other comprehensive income until you sell them. On the balance sheet, AFS values appear there, and net income accumulates into retained earnings, but OCI, including those unrealized changes from AFS, rolls into accumulated other comprehensive income right below retained earnings in the equity section. Keep in mind, changes in AFS values can affect regulatory capital for big banks under accounting rules.
Available-for-Sale vs. Held-for-Trading vs. Held-to-Maturity Securities
Let's compare these classifications directly. Held-for-trading securities, or HFT, are ones you buy to sell quickly for a profit, not as a long-term investment. Held-to-maturity securities, or HTM, are debt instruments or equities you intend to hold until they mature, like a CD with a fixed date. AFS falls in between: it's for securities, debt or equity, that you plan to hold for a bit but could sell sooner, not necessarily until maturity. From an accounting standpoint, AFS is treated like trading securities in that both are recorded at fair value, but for trading securities, unrealized gains or losses go into operating income on the income statement. For AFS, those changes stay in OCI, and some companies detail OCI below the income statement or in a separate schedule for total comprehensive income.
Recording an Available-for-Sale Security Transaction
Here's how you record an AFS transaction. If your company buys AFS securities with cash for $100,000, you credit cash and debit AFS securities for that amount. If the value drops to $50,000 by the next period, you write it down with a credit of $50,000 to AFS securities and a debit to OCI. If it rises later, you record the increase in OCI too. You don't have to sell the security for these changes to hit OCI; that's why they're unrealized until the sale happens.
Frequently Asked Questions
You might wonder if AFS is a current asset. It can be, if you hold it for less than a year, fitting the current asset definition; otherwise, it's long-term. The difference between held-to-maturity and available-for-sale is that HTM are held until maturity and recorded at cost minus impairment, while AFS are sold before maturity and recorded at fair value. An HTM strategy aims to guard against interest rate changes, diversify your portfolio, or get small returns from low-risk securities.
The Bottom Line
To wrap this up, when you buy an investment security, whether equity or debt, accounting standards require classifying it as held-to-maturity, held-for-trading, or available-for-sale. AFS means it's sold before maturity, and you record unrealized gains or losses in accumulated comprehensive income until it's sold.
Other articles for you

The money factor is a decimal used to calculate financing charges on leases, convertible to APR by multiplying by 2400.

This text explains unusual slang terms in business and investing to make conversations more engaging and informative.

Return on average assets (ROAA) is a financial metric that evaluates how effectively a company, especially in banking, uses its assets to generate profits.

Garnishment is a legal process where creditors collect unpaid debts by withholding from a debtor's wages, bank accounts, or assets.

A bar chart is a visual tool in technical analysis that displays the opening, high, low, and closing prices of an asset over a specified period to help traders identify trends and make decisions.

Weekly premium insurance is a historical form of life insurance where premiums are paid weekly, popular in the late 1800s and early 1900s among industrial workers.

An introducing broker acts as a middleman in the futures market, advising clients and delegating trade executions to a futures commission merchant.

A majority shareholder owns over 50% of a company's shares, granting significant control especially with voting rights.

Unearned revenue is money received by a company for goods or services not yet delivered, recorded as a liability until earned.

Grantor trust rules treat the creator of the trust as the owner for tax purposes, allowing control over assets while providing certain tax benefits.