Per IRS Publication 525 Taxable and Nontaxable Income, page 32:
Deduction for costs involved in unlawful discrimination suits. You may be able to deduct attorney fees and court costs paid to recover a judgment or settlement for a claim of unlawful discrimination under various provisions of federal, state, and local law listed in section 62(e), a claim against the U.S. Government, or a claim under section 1862(b)(3)(A) of the Social Security Act. You can claim this deduction as an adjustment to income on Schedule 1 (Form 1040), line 24h. The following rules apply.
To determine if settlement amounts you receive by compromise or judgment must be included in your income, you must consider the item that the settlement replaces. You may be able to deduct expenses from that income.
To report this in the TaxAct® program:
Note that any link in the information above is updated each year automatically and will take you to the most recent version of the webpage or document at the time it is accessed.