Professional fees that are necessary and directly related to running your business are deductible. They include the fees charged by lawyers, accountants, bookkeepers, and tax preparers, among others.
Visit the IRS website for more information: https://www.irs.gov/publications/p334