Two ways to start. A free fit call, or the Diagnostic in writing.
Client login786-952-6621

Law Firm Cybersecurity: Data Breach Costs, Cyber Insurance, and Tax Deductions for Security Investments

Written by Yarik Yarosh, CPA (US & Canada) November 18, 2026 · FL CPA license AC61704 · CPA Ontario

Law firms hold client data that is protected by attorney-client privilege, work-product doctrine, and ethical obligations under ABA Model Rule 1.6 (duty of confidentiality). A data breach at a law firm does not just expose names and Social Security numbers (like a retail breach). It exposes litigation strategy, merger negotiations, patent applications, real estate transactions, and settlement terms. The American Bar Association’s Formal Opinion 483 (2018) confirmed that lawyers have an ethical obligation to make “reasonable efforts” to prevent unauthorized access to client data, to monitor for breaches, and to notify affected clients when a breach occurs. The cost of compliance (security infrastructure, monitoring, insurance, incident response) is real, and most of it is deductible.

✓Key takeaway

Cybersecurity investments by a law firm are deductible as ordinary and necessary business expenses under IRC 162. Software subscriptions (endpoint protection, email security, backup, monitoring) are deductible when paid or accrued. Hardware (firewalls, secure servers, encrypted drives) is depreciable under MACRS (5-year recovery period for computers and peripheral equipment) and eligible for Section 179 or bonus depreciation. Cyber insurance premiums are deductible. Data breach costs (forensic investigation, notification, credit monitoring, legal defense, settlements) are generally deductible as business expenses. Fines and penalties paid to a government for a violation of law generally aren’t, under IRC 162(f), apart from narrow restitution and compliance exceptions.

What cybersecurity infrastructure does a law firm need?

The ABA’s Formal Opinion 477R (2017) and Formal Opinion 483 (2018) do not prescribe specific technologies but require lawyers to stay “abreast of changes in technology” and to make “reasonable efforts” to protect client information. What is “reasonable” depends on the sensitivity of the data, the size of the firm, and the sophistication of the threats.

  • Minimum infrastructure for a small to mid-size firm: Endpoint protection. Antivirus and anti-malware on every device (desktops, laptops, mobile devices). Modern endpoint detection and response (EDR) platforms (CrowdStrike, SentinelOne, Microsoft Defender for Business) provide real-time monitoring and automated threat response.
  • Email security. Email is the primary attack vector (phishing, business email compromise, malware attachments). A dedicated email security gateway (Proofpoint, Mimecast, Barracuda) or Microsoft 365 Defender for Office 365 filters threats before they reach the inbox. Multi-factor authentication (MFA). Required on all accounts: email, practice management, banking, cloud storage. MFA prevents credential theft from resulting in account access. It’s built into Microsoft 365 and Google Workspace business plans, and standalone tools (Duo, Okta) are also available.
  • Encrypted backup. Automated, encrypted backups to an off-site or cloud location (Datto, Veeam, Acronis). The backup protects against ransomware (the firm can restore from backup rather than paying the ransom) and hardware failure.
  • Encrypted communication. Client communications that contain confidential information should use encrypted channels: encrypted email (Microsoft 365 message encryption, Virtru), secure client portals (Clio, ShareFile, NetDocuments), or encrypted messaging. The ABA’s Formal Opinion 477R addresses the duty to protect confidential information in electronic communications and concludes that encryption is not required for every communication, but particularly strong measures like encryption may be warranted when the information is highly sensitive. Network security. A business-grade firewall (not a consumer router), segmented network (separating guest WiFi from the firm network), and VPN for remote access.

How does cyber insurance work for law firms?

Cyber insurance (also called cyber liability insurance or data breach insurance) covers the costs of a data breach and related cyber incidents. For law firms, it sits alongside malpractice coverage as part of managing the duty to protect client data. What cyber insurance commonly covers (policy terms vary, so read yours):

  • First-party coverage (the firm’s own costs): Forensic investigation (determining how the breach occurred, what data was accessed, and how to contain it), notification costs (mailing breach notifications to affected individuals as required by state law), credit monitoring services for affected individuals, data restoration (recovering encrypted or destroyed data), business interruption (lost revenue during the period the firm’s systems are down), ransomware payment (if the insurer agrees to pay the ransom, which is increasingly controversial), and crisis management (public relations, communications consulting).
  • Third-party coverage (claims against the firm): Legal defense costs (defending against lawsuits from clients, regulators, or third parties), regulatory fines and penalties (where insurable under applicable law), settlements and judgments, and payment card industry (PCI) fines and assessments (if the firm processes credit card payments).
  • What it typically does not cover: Prior known breaches (breaches discovered before the policy inception), acts of war or terrorism (standard exclusion), bodily injury or physical property damage (covered by GL, not cyber), and intentional acts by the firm’s principals. Cost for law firms: Premiums vary widely, so get quotes. The premium usually depends on: the firm’s revenue, the number of records held (client files, personal information), the firm’s security posture (firms with strong controls get lower premiums), and the firm’s claims history.
  • Tax treatment: Cyber insurance premiums are deductible as an ordinary and necessary business expense under IRC 162, the same as malpractice insurance or general liability insurance.

What happens when a breach occurs?

Immediate response (first 72 hours). The firm must: contain the breach (isolate affected systems, change all passwords, disable compromised accounts), engage a forensic investigator (the cyber insurance carrier typically provides a pre-approved panel of forensic firms), and preserve evidence (do not wipe or rebuild affected systems until the forensic investigation is complete).

  • Notification obligations. All 50 states have data breach notification laws that require notification to affected individuals when personal information (name plus SSN, driver’s license number, financial account number, or other specified data elements) is compromised. The notification timeline varies by state: some require notification within 30 days, others within 60 days, and some require notification “without unreasonable delay.” If the breach involves residents of multiple states, the firm must comply with each state’s notification law.
  • For law firms, the ABA’s Formal Opinion 483 adds an ethical notification obligation: the lawyer must inform current clients whose data was accessed, even if the data does not trigger the state notification law. The notification should describe the breach, the data involved, the steps the firm is taking, and the steps the client should take.
  • Regulatory reporting. Other reporting can apply: HIPAA breach notification if the firm is a business associate handling protected health information for healthcare clients, and state attorney general or regulator notice, which many state breach laws require (often above a set number of affected residents).

How are cybersecurity costs deducted?

Software subscriptions. Endpoint protection, email security, backup, and monitoring subscriptions are deductible as ordinary business expenses under IRC 162 when paid (cash method) or when the subscription period elapses (accrual method). For a prepaid multi-month subscription, the 12-month rule under Reg. 1.263(a)-4(f) lets you deduct it when paid if the benefit doesn’t extend beyond the earlier of 12 months after the benefit starts or the end of the tax year after the year you pay. Longer prepayments are capitalized and deducted over the term.

  • Hardware. Firewalls, servers, encrypted drives, and other security hardware are tangible personal property with a 5-year MACRS recovery period. They are eligible for Section 179 expensing (limit $2,500,000 for tax years beginning in 2025 and $2,560,000 for 2026) and 100% bonus depreciation under IRC 168(k), made permanent by the 2025 tax law for property acquired after January 19, 2025. In practice, that lets a small firm write off security hardware in the year it’s placed in service.
  • Consulting and assessment. The cost of a cybersecurity assessment, penetration test, or security audit is deductible as a professional service expense under IRC 162.
  • Training. Employee cybersecurity training (phishing simulation, security awareness programs) is deductible as a training expense under IRC 162.
  • Breach costs. Forensic investigation, notification, credit monitoring, legal defense, and settlement costs are deductible under IRC 162 as ordinary business expenses related to the operation of the business. Fines and penalties are different. Since the 2017 TCJA, IRC 162(f) denies a deduction for amounts paid to a government in relation to a violation of law. The exceptions (restitution, remediation, and amounts paid to come into compliance) only work if the order or settlement identifies the payment that way. Regulatory payments for a breach (state AG penalties, HIPAA civil money penalties) need a look at the actual order before you deduct anything.

What should I do next?

If your firm does not have MFA on all accounts, implement it this week (it’s one of the highest-impact, lowest-cost security measures). If you do not have cyber insurance, obtain quotes from at least two carriers. If you have never had a cybersecurity assessment, engage a qualified firm to evaluate your current posture and identify gaps. If a breach has occurred, engage your cyber insurance carrier and forensic panel immediately, before attempting remediation.

Want this checked against your own situation?

Start with a Diagnostic: a CPA licensed in the US and Canada reads your file and tells you in writing what's wrong and how to fix it, three to four business days after you finish the questions. The report is $250. If you hire us for any work after that, you get the $250 back as a discount on that work. Or send us your return or your letter and get a fixed price, free.

Get the next cross-border guide by email

One or two plain-English guides a week on US-Canada tax. No spam, unsubscribe anytime.

Cite this page

Yarik Yarosh, CPA. "Law Firm Cybersecurity: Data Breach Costs, Cyber Insurance, and Tax Deductions for Security Investments." Blue Cloud CPA, August 27, 2026, updated November 18, 2026. https://bluecloudcpa.com/guides/law-firm-cybersecurity-data-breach-tax-deductions

This guide is general information, not tax advice for your specific situation. Which points apply, and how, depends on your facts.