A wash sale occurs when an individual sells or otherwise disposes of stock or securities (including a contract or option to acquire or sell stock or securities) at a loss and within the 30 days before or after the sale or disposition does any of the following:
A sale and purchase with the same broker within the 30-day time frame that results in a loss is indicated on Form 1099-B with an amount in Box 1g "Wash sale loss disallowed" or on a brokerage statement with adjustment code "W". If you are aggregating 1099-B short-term and long-term transactions in the tax return, this transaction cannot be included with the aggregate but will need to be entered separately.
Note that wash sales can also occur if within the 30-day time frame a taxpayer is buying and selling the same stock with different brokers, or the taxpayer's spouse is buying and selling the same stock, or a corporation either of them controls is buying and selling the same stock. These transactions won't have a wash sale indicated on Form 1099-B or the brokerage statement, but they are wash sales nonetheless.
A dealer in stocks or securities can deduct a loss for what would otherwise be a wash sale if it was incurred in the ordinary course of trade or business. Otherwise, if the wash sale is not deductible, the unallowed loss is added to the basis of the stock subsequently purchased.
To enter a wash sale on Form 8949 in Software, from the Federal Section of the tax return (Form 1040) select:
When finished with the transaction, click Save & Enter Another if you have another capital gain or loss transaction to enter, otherwise click Continue.