What it means
A shareholder with a large unrealised gain might want to avoid downside risk without selling the shares, and a perfectly offsetting position can largely fix that gain. Section 1259 addresses specified transactions that achieve this result, so the appreciated position can be deemed sold despite no ordinary sale of those shares.
The trigger concerns an appreciated financial position, and a position with no gain if sold at fair market value does not meet that basic description. The IRS revenue ruling explains that a short sale of the same or substantially identical property is among transactions described by Section 1259.
A short sale borrows securities for sale and creates an obligation to deliver equivalent property later, and keeping matching appreciated shares can offset market exposure. Other listed transactions can include a forward or futures contract to deliver the same or substantially identical property, and the statute's precise wording controls.
A constructive sale recognises gain as though the position were sold at fair market value on the transaction date, subject to statutory rules. The taxpayer may still own the original security economically and legally, since tax recognition and transfer of title are different questions.
Basis and holding-period adjustments after a constructive sale help prevent simply taxing the same preexisting gain twice, but require careful tracking. Hedges with less than a full offset may raise different tax questions, so do not assume every protective put is a constructive sale; facts and statutory categories matter.
An exception may apply when an otherwise triggering transaction is closed by the statutory deadline shortly after year-end and the appreciated position remains held through a specified later period. The Investopedia account describes a 30-day closing window and 60-day holding period for that exception, so a taxpayer must check every condition rather than cite one date alone.
The IRS ruling describes a historical transition rule for a 1997 short sale, and that narrow grandfathering example should not be used as a modern blanket exception. The ruling also says moving a borrowed-share obligation from one broker to another does not close the short sale while the replacement obligation continues.
A portfolio can contain several related positions, so closing one hedge may leave another offset that requires separate analysis. Options, forwards and securities loans can have terms affecting delivery, value and exposure, so contract details matter more than the strategy's label, and recognition can create a tax bill without proceeds from selling the original shares, which makes liquidity planning important before hedging.
The rule is U.S.-specific, so investors in other jurisdictions should not treat Section 1259 as governing their local capital-gains tax, and it is distinct from the ordinary short-sale tax timing under Section 1233. Anyone considering a complex hedge around appreciated securities should review current law and transaction details with qualified tax counsel before trading.
In practice
Real-world examples.
Example
An investor shorts substantially identical shares against an appreciated long holding and checks whether Section 1259 applies. She holds the shares at a large gain and the short fully offsets price moves. She asks a tax adviser before placing the trade rather than after.
Example
A taxpayer examines whether a forward delivery contract fixes the gain on a stock position already owned. The contract obliges delivery of the same shares at a set price, which removes most of the risk of further movement. The taxpayer reviews the contract terms against the statutory description.
Example
A portfolio manager closes one short leg but verifies no replacement borrowed-share obligation remains before claiming closure. A transfer of the borrowing to another broker would not end the obligation. Only a genuine closing of the position counts.
Formula
Calculation
Illustrative deemed gain = fair market value of the appreciated position on the constructive-sale date minus its adjusted tax basis, subject to Section 1259 and related rules. If shares have $100,000 basis and $180,000 fair value when a covered offset is entered, illustrative recognised gain is $80,000. This does not calculate tax owed; character, exceptions and later basis adjustments require separate analysis.
The basis adjustment prevents the same gain being taxed twice. After the deemed sale in the example, the illustrative adjusted basis becomes $180,000. If the position is later sold for $200,000, the further gain is $200,000 - $180,000 = $20,000, not $100,000.Case study
Seen in the real world.
Fictional case: A founder owns stock worth $2 million with a $500,000 basis. She considers a short sale of substantially identical stock to eliminate downside while retaining her original shares. Before trading, an adviser reviews Section 1259, the exact shares, timing and potential exceptions.
If a constructive sale arises at the stated value, the preexisting $1.5 million gain may be recognised even though the founder receives no proceeds from selling the original block. She plans for tax liquidity and records the resulting basis and holding-period treatment. Merely moving the borrowed-share obligation between brokers would not necessarily close the short.
Watch out
Common mistakes.
- Assuming formal ownership prevents gain recognition whenever a position is economically offset.
- Calling every hedge a constructive sale without checking the statutory transaction and appreciated-position tests.
- Treating a historical transition provision in an IRS ruling as a generally available present-day exception.
Questions
People also ask.
Is an actual stock sale required?
No. A covered offset can produce deemed gain recognition while the shares remain owned.
Does a protective put always trigger the rule?
No. The instrument and exposure must be analysed under the applicable statutory provisions.
Can a year-end unwind avoid treatment?
Only if every condition of the relevant exception is satisfied.
From the founder's library

Take it further with the book.
Build your financial confidence beyond this definition. Shihan's full-length guide, Accounting Fundamentals, takes the same plain-English approach and turns it into a complete, practical playbook for non-finance managers, business owners and students - with chapter-end quiz answers and presentation slides included.
25% off with code MMHQ25, applied at checkout. Priced in USD - checkout may show the equivalent in your local currency.
View the book and save 25%Related
