It depends. If you still have rental property, per IRS Pub 529 Legal Expenses, you can deduct expenses of resolving tax issues relating to the profit or loss from rentals reported on Schedule E.
However, if you are no longer in the rental business, these legal fees would be expenses for resolving nonbusiness tax issues are miscellaneous itemized deductions and are no longer deductible.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"