Legal fees paid to obtain a separation, divorce, or establish custody or visitation arrangements for a child aren't deductible. Similarly, for the person who must pay support, legal fees paid to establish, negotiate, or contest the amount of support payments aren't deductible.
For more information refer to TurboTax FAQ: Legal Costs Relating to a Breakdown in Marriage
Thank you for choosing TurboTax.