Capital Gains and the Wash-Sale Rule
Capital gains and wash sales: side by side
Compare
Where your basis and holding period come from, side by side
| Bought | Given to you | Inherited | Crypto received as pay | |
|---|---|---|---|---|
| Basis for a gain | Cost plus the costs of buying | The donor's basis (plus part of any gift tax paid, never above value) | Value at the date of death (or the alternate valuation date) | Its dollar value on the day you received it |
| Basis for a loss | Same as for a gain | The lower of the donor's basis and the value at the gift | Same as for a gain | Same as for a gain |
| Holding period starts | The day after you bought it | The donor's start date; for a loss at the lower value, the day after the gift | Long-term in every case (a sale within a year of death is treated as held more than a year) | The day after you received it |
| Form 8949 note | Purchase date, or VARIOUS for several lots | Follow the donor's basis and date | INHERITED in the date acquired column | Digital asset boxes G to L |
| What to keep | Confirmations and statements | The donor's cost records, the gift date and its value that day | Date-of-death values, and Schedule A of Form 8971 if sent | A record of the value on the day received |
Sources
Authority, strongest first
- Code I.R.C. § 1012
- Code I.R.C. § 1015
- Code I.R.C. § 1014
- Code I.R.C. § 1223
- Notice Notice 2014-21, 2014-16 I.R.B. 938
- Publication IRS Publication 551 (Rev. December 2025)
- Form instructions Instructions for Form 8949 (2025)