Legal and professional fees, such as fees charged by accountants, that are ordinary and necessary expenses directly related to operating your business are deductible on Schedule C or C-EZ. However, you usually cannot deduct legal fees you pay to acquire business assets. Add them to the basis of the property.
If the fees include payments for work of a personal nature (such as making a will), you can take a business deduction only for the part of the fee related to your business. The personal part of legal fees for producing or collecting taxable income, doing or keeping your job, or for tax advice may be deductible on Schedule A (Form 1040) if you itemize deductions. For more information, see Publication 529, Miscellaneous Deductions. taxmap/pubs/p334-028.htm#en_us_publink100025361
You can deduct on Schedule C or C-EZ the cost of preparing that part of your tax return relating to your business as a sole proprietor or statutory employee. You can deduct the remaining cost on Schedule A (Form 1040) if you itemize your deductions.
You can also deduct on Schedule C or C-EZ the amount you pay or incur in resolving asserted tax deficiencies for your business as a sole proprietor or statutory employee.