Are Legal and Professional Fees Allowable for Corporation Tax?

Legal and professional fees are allowable for corporation tax when they qualify as ordinary and necessary costs of the business under Section 162(a) of the Internal Revenue Code.1Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses The complication is that a sizable set of fees fails that test or gets pulled out by a specific rule: costs tied to acquiring assets, changing the capital structure, lobbying, government penalties, and certain confidential settlements either have to be capitalized and recovered over time or are disallowed outright.

The Ordinary and Necessary Test

Every deduction for legal or professional fees turns on two words. “Ordinary” means the kind of cost businesses in the same industry commonly face. “Necessary” means helpful and appropriate, not indispensable. Both boxes have to be checked.1Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses

Dual-purpose invoices are where corporations often lose the deduction. When legal work partly benefits the company and partly resolves a personal matter for a shareholder or director, only the business portion is deductible. The IRS expects the invoice to be split, with only the business share claimed.2Internal Revenue Service. Publication 334 – Tax Guide for Small Business A lumped bill with no allocation puts the whole amount at risk.

Fees You Can Deduct in the Year Paid

Legal costs that protect existing revenue or keep current operations running are deductible in the year they are paid or incurred. The most common categories:

  • Debt collection fees paid to agencies or litigation counsel to recover money owed to the company.
  • Employment matters, including handbook drafting, staff contract disputes, and wrongful termination defense.
  • Commercial disputes over purchase orders, vendor contracts, and supply agreements.
  • Defense of intellectual property the corporation already owns against infringement claims.
  • Regulatory compliance work covering licensing, environmental, and industry-specific rules.

One question decides most of these: does the fee protect something the company already has, or create something new? Defending a patent held for years is a current expense. Filing a new patent application is not.

Fees That Must Be Capitalized

Section 263 blocks deductions for amounts spent on new property, permanent improvements, or anything that increases the value of an asset.3Office of the Law Revision Counsel. 26 USC 263 – Capital Expenditures Legal fees tied to those transactions get added to the asset’s cost basis and recovered through depreciation, amortization, or on sale. There is no immediate write-off.

Fees that fall on this side of the line include:

  • Attorney fees for real estate acquisitions, including title review, due diligence, and closing documentation.
  • Legal costs for buying another company or its assets, including deal structuring and regulatory filings.
  • Fees for issuing new stock, restructuring debt, or reorganizing ownership.
  • Costs of obtaining new patents, trademarks, or copyrights.

Treasury regulations list categories that are “inherently facilitative” of these transactions and always require capitalization: structuring the deal, obtaining tax advice on structure, drafting transaction documents, and securing regulatory approvals.4GovInfo. Treasury Regulation 1.263(a)-5 – Amounts Paid to Facilitate Acquisition of a Trade or Business Even preliminary investigation costs for a deal that ultimately closes get swept in.

The Origin-of-the-Claim Test

When classification isn’t obvious, courts ask what underlying transaction or event gave rise to the legal work. The Supreme Court held in INDOPCO, Inc. v. Commissioner that legal expenses producing benefits beyond the current tax year have the character of capital expenditures, even when no separate identifiable asset is created.5Legal Information Institute. INDOPCO Inc v Commissioner of Internal Revenue

Applied in practice: fighting a breach-of-contract claim from a supplier is operational, because it arose from an ordinary business relationship. Defending title to real property is capital, because it arose from ownership of a capital asset. The underlying event controls, not the label on the invoice.

The 70/30 Safe Harbor for M&A Success Fees

Investment bankers and advisors in mergers and acquisitions often charge fees contingent on the deal closing. These blend facilitative work (capitalizable) with preliminary advisory work (potentially deductible). Revenue Procedure 2011-29 offers a safe harbor: a corporation may elect to treat 70% of a success-based fee as deductible and capitalize the remaining 30%.6Internal Revenue Service. Revenue Procedure 2011-29

To use the safe harbor, the corporation attaches a statement to its federal return for the year the fee is paid, identifying the transaction and stating the amounts being deducted and capitalized. The election is irrevocable and applies to all success-based fees in that transaction. Skip the filing and you’re back to documenting every hour of advisory work to separate facilitative from non-facilitative activity.

Startup and Organizational Costs

Legal fees a corporation incurs before it begins business get treatment under two separate sections, and mixing them up is a common error.

Organizational costs under Section 248 cover expenses tied to the legal creation of the corporation: state filing fees, attorney fees for drafting bylaws and the corporate charter, and initial accounting setup. A corporation can deduct up to $5,000 of these costs in the year it begins business. The allowance phases out dollar-for-dollar once total organizational costs exceed $50,000 and disappears at $55,000. Whatever isn’t deducted immediately is amortized over 180 months.7Office of the Law Revision Counsel. 26 USC 248 – Organizational Expenditures

Startup costs under Section 195 cover a different set: legal and consulting fees for investigating or creating a new business, market research, and pre-opening operational costs. The same $5,000 immediate deduction applies, with the same $50,000 phase-out and 180-month amortization for the balance.8Office of the Law Revision Counsel. 26 USC 195 – Start-Up Expenditures The two $5,000 limits are separate, so a new corporation could deduct up to $10,000 in its first year across the two categories.

Legal fees for drafting the corporate charter are organizational. Legal fees for researching whether a market is worth entering are startup. The total deducted over time may end up similar, but landing an expense in the wrong bucket can trigger reclassification and penalties on audit.

Tax Preparation and Audit Defense

Fees paid to accountants and tax attorneys to prepare the corporation’s returns, compute tax liability, and maintain required records are deductible.2Internal Revenue Service. Publication 334 – Tax Guide for Small Business Legal fees for defending the corporation in an IRS audit or disputing a tax assessment are also generally deductible, because the origin of the claim is the corporation’s own tax filing obligation. That includes responding to IRS notices, negotiating settlements, and litigating in Tax Court.

What doesn’t qualify: fees for preparing the personal tax returns of officers, directors, or shareholders. Even when the corporation pays the bill directly, these are personal expenses. If the corporation pays them, the IRS treats the payment as additional compensation to the individual.

R&D and Patent-Related Fees

Legal fees connected to research and development, including patent prosecution work, fall under specialized rules that recently changed. For domestic research expenditures paid or incurred in tax years beginning after December 31, 2024, the One Big Beautiful Bill Act restored immediate deductibility under new Section 174A. Corporations can once again deduct domestic R&D costs, including related legal fees, in the year they are paid.9Internal Revenue Service. Revenue Procedure 2025-28

Foreign research expenditures follow a different path. Those costs must be capitalized and amortized over 15 years, starting at the midpoint of the tax year in which they are incurred.10Office of the Law Revision Counsel. 26 USC 174 – Amortization of Research and Experimental Expenditures A corporation with operations on both sides of the border needs to track where each expenditure is attributable.

The developing-versus-defending line applies here too. Patent prosecution and application fees are R&D. Legal fees to defend an existing patent against infringement are ordinary business expenses under the general rules above.

Lobbying and Political Activity

Professional fees paid for lobbying or political activity are flatly non-deductible. Section 162(e) blocks deductions for amounts spent on influencing federal or state legislation, participating in political campaigns, swaying public opinion on legislation, and communicating with executive branch officials to influence their actions.11Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses – Section 162(e)

No self-defense exception exists. A corporation fighting legislation that would shut down its industry still cannot deduct the lobbying costs. The one carve-out is lobbying directed at local councils and similar municipal governing bodies, which is judged under the ordinary and necessary standard.

A narrow de minimis rule applies: if total in-house lobbying expenditures (not counting payments to outside lobbyists or trade association dues) stay at or below $2,000 for the year, the disallowance doesn’t apply.12Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses – Section 162(e)(4)(B) Overhead doesn’t count toward that threshold. Cross it, and all in-house lobbying costs become non-deductible.

Trade association dues need attention. When a corporation pays dues to an industry group that lobbies, the portion of dues allocated to lobbying is non-deductible. The association is required to tell members what percentage of dues covers lobbying. Deducting the full amount despite the notice is an easily caught audit mistake.

Fines, Penalties, and Government Settlements

Amounts paid to a government for violating any law, or in connection with an investigation into a potential violation, are not deductible. Section 162(f) reaches criminal fines, civil penalties, regulatory sanctions, and settlement payments to government agencies.13Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses – Section 162(f) The same treatment applies to IRS-imposed accuracy penalties, fraud penalties, and interest.14Internal Revenue Service. Failure to File Penalty

Restitution, Remediation, and Compliance Costs

Section 162(f) preserves deductibility for three categories inside a government settlement:

  • Restitution amounts that compensate for damage or harm caused by the violation, including property remediation.
  • Amounts paid to bring the corporation into compliance with the law that was violated.
  • Underlying tax liabilities included in a settlement, which remain deductible as taxes.

Two requirements govern these exceptions. The court order or settlement agreement must specifically identify the payment as restitution, remediation, or a compliance cost. And the corporation must be able to document that the payment actually served that purpose.15Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses – Section 162(f)(2)(A) A settlement that lumps everything into one undifferentiated payment makes separating deductible restitution from non-deductible penalty almost impossible. When negotiating a government settlement, explicit allocation language is worth pushing for.

Defending Employees Facing Personal Charges

When a corporation pays to defend an employee against personal criminal charges, the fees are generally non-deductible, because the primary benefit runs to the individual. A deduction is possible only if the corporation can show the defense was undertaken solely to protect its own business interests, and most situations don’t meet that standard.

Sexual Harassment Settlements Tied to NDAs

Section 162(q), added in 2017, disallows any deduction for settlement payments or attorney fees related to sexual harassment or sexual abuse if the settlement includes a nondisclosure agreement.16Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses – Section 162(q) The disallowance covers both the settlement amount and the corporation’s own legal fees for the matter.

The IRS has clarified that the rule applies to the party making the payment, not the recipient. An employee receiving a harassment settlement can still deduct qualifying attorney fees even if a nondisclosure agreement is in place.17Internal Revenue Service. Section 162(q) FAQ For the corporation, the point is direct: attaching a nondisclosure clause eliminates the deduction for the entire cost, and that lost deduction belongs in the calculation when confidentiality is on the table.

Documentation That Holds Up On Audit

Most disallowances happen not because the expense was truly non-deductible, but because the corporation couldn’t prove which category it belonged in. A few practices help:

  • Ask for separate invoices when the same firm handles both an operational dispute and a capital transaction. One combined bill invites a challenge to the whole amount.
  • Document the business purpose of each engagement in the engagement letter, before the work begins.
  • Classify each fee as operating, capitalized, or startup at the time of payment, not at year-end when a desired tax outcome is in mind.
  • Keep the annual lobbying allocation notices from any trade associations the corporation belongs to, and back out the lobbying share of dues.

State corporate tax rules don’t always follow federal treatment. A corporation operating in more than one state should confirm its deduction approach works under each state’s rules, not federal law alone.