To deduct legal fees, you must itemize deductions on Schedule A, and the sum total of your miscellaneous deductions including your legal fees must exceed 2% of your Adjusted Gross Income.
To enter your attorney fees:
Type in legal expenses, deduction in the search box, top right of your screen, then click the magnifying glass
Click the jump to legal expenses, deduction link in the search results.
Follow the onscreen instructions to enter