You cannot deduct losses from wash sales unless the loss was incurred in the ordinary course of your business as a dealer in stock or securities. The basis of the substantially identical property (or contract or option to acquire such property) is its cost increased by the disallowed loss (except in the case of (4) above).
If you received a Form 1099-B (or substitute statement), box 5 of that form will show any nondeductible was sale loss if:
The stock or securities sold were covered securities (defined in the instructions for Form 8949, column (f), later), and
The substantially identical stock or securities you bought had the same CUSIP number as the stock or securities you sold and were bought in the same account as the stock or securities you sold.
However, you cannot deduct a loss from a wash sale even if it is not reported on Form 1099-B (or substitute statement). For more details on wash sales, see Pub. 550.
Report a wash sale transaction on line 1 or line 3 of Form 8949 with the appropriate box checked. Complete all columns. Enter "W" in column (b). Enter as a positive number in column (g) the amount of the loss not allowed. See the instructions for Form 8949, columns (b) and (g), later.
This information applies to all years of the UltimateTax software.