Cross Icon
Insights

Is Replacing Employees With AI a Lawful Reason to Terminate Workers?

Chris Hanslik

by Chris Hanslik

June 2, 2026

Table of contents:

Subscribe for News & Updates

I agree to receive communication from BoyarMiller via email.(Required)

Executive Summary

  • In most states, replacing employees with AI is generally lawful under at-will employment principles, but the legal risk rarely ends with the termination itself.
  • Companies implementing AI-driven workforce reductions face growing exposure involving discrimination claims, trade secret misappropriation, confidential information protection, restrictive covenants, WARN Act obligations, and corporate governance scrutiny.
  • Mid-market businesses should approach AI workforce transitions strategically, with documented policies, legal oversight, and enforceable protections for confidential information and client relationships.

Artificial intelligence is no longer a future workplace issue. It is a present operational reality.

Across industries, companies are using AI tools to automate customer service, marketing execution, analytics, software development, accounting functions, and even portions of legal and HR workflows. For corporate leadership, the question is no longer whether AI will affect staffing decisions. The question is how to implement AI-driven efficiencies without creating unnecessary legal exposure.

One increasingly common question is straightforward but legally complex:

Can a company lawfully terminate an employee and replace that role with AI?

In most cases, the answer is yes, but the more important question businesses should be asking is:

What legal and operational risks arise after that decision is made?

For in-house counsel, executives, and entrepreneurs, that distinction matters.

AI Workforce Reductions Are Generally Lawful (But Context Matters)

Under traditional U.S. employment law principles, most employment relationships remain “at will.” That means employers can generally terminate employees for any lawful reason, including operational restructuring, automation, or cost reduction.

Replacing a role with AI, automation software, or machine learning systems is not inherently unlawful. Companies have long replaced human labor with technology through manufacturing automation, robotics, self-checkout systems, outsourcing, and enterprise workflow software. AI is simply the newest evolution of operational efficiency.

However, while the replacement itself may be lawful, the surrounding circumstances can create significant liability exposure, particularly if AI tools are involved in hiring, promotion, or workforce selection decisions.

One of the most closely watched examples is Mobley v. Workday, Inc., a federal lawsuit in California alleging that Workday’s AI-driven applicant screening technology discriminated against applicants based on age, race, and disability. The court allowed significant portions of the claims to proceed, signaling that companies using AI-assisted employment systems may still face liability under traditional anti-discrimination laws.

The case is significant because it reinforces a growing legal principle: employers cannot assume that “the algorithm made the decision” will shield them from liability under federal anti-discrimination laws.

The Real Legal Risks Begin After the Termination

Discrimination and Disparate Impact Claims

A company cannot use AI transformation as a pretext for unlawful discrimination.

If workforce reductions disproportionately affect protected groups (including older employees, disabled employees, or certain demographic categories), employers may face claims under federal and state employment laws.

This risk becomes even greater when employers rely on AI-driven screening, ranking, or performance analysis tools that may unintentionally replicate historical bias patterns embedded in prior employment data.

The Mobley litigation illustrates exactly why this issue matters. In that case, the plaintiff alleged that Workday’s AI hiring tools repeatedly screened him out from employment opportunities because of his race, age, and disability status. The court’s willingness to let portions of the case proceed has intensified scrutiny surrounding automated employment systems and algorithmic decision-making.

For businesses implementing AI-related reductions, careful documentation remains critical. Employers should maintain consistent records supporting the legitimate business rationale behind restructuring decisions, including economic necessity, operational efficiency goals, and objective selection criteria.

Texas employers should also consider the Texas Responsible Artificial Intelligence Governance Act, which became effective January 1, 2026. Among other things, the law prohibits certain uses of AI systems, including development or deployment of AI systems with an intent to unlawfully discriminate against protected classes. For Texas businesses using AI tools in hiring, performance evaluation, workforce planning, or termination decisions, TRAIGA should be considered alongside federal and state employment discrimination laws.

WARN Act and Mass Layoff Exposure

Companies conducting larger AI-driven workforce reductions may trigger obligations under the federal WARN (Worker Adjustment and Retraining Notification) Act or state mini-WARN statutes. (Texas does not have a separate mini-WARN statute like some other states, but Texas employers conducting larger AI-driven reductions should still evaluate whether the federal WARN Act applies and should review Texas Workforce Commission WARN notice procedures.)

These laws can require advance notice before plant closures, mass layoffs, or significant operational restructuring. Many businesses focus heavily on AI implementation strategy while overlooking workforce reduction compliance requirements. That oversight can become expensive quickly.

Mid-market companies scaling AI initiatives across departments should evaluate:

  • Number of affected employees
  • Timing of reductions
  • Geographic concentration
  • State-specific notice requirements

Failure to comply can result in back pay exposure, benefits liability, class action litigation, and regulatory scrutiny.

Trade Secret and Confidential Information Risks Increase

Ironically, replacing employees with AI can increase trade secret vulnerability.

When experienced employees are terminated, companies often lose institutional knowledge, client relationship history, operational know-how, and proprietary process understanding. At the same time, displaced employees may join competitors or launch competing businesses, increasing the likelihood of trade secret disputes and confidential information misuse.

This issue becomes even more important given recent non-compete enforcement updates nationwide. The FTC’s proposed nationwide non-compete ban was blocked by a federal district court and is not currently enforceable, leaving restrictive covenant enforcement largely governed by state law.

As a result, confidentiality agreements, trade secret protections, and narrowly tailored non-solicitation provisions are becoming even more important for companies undergoing AI-driven restructuring.

Businesses pursuing workforce automation initiatives should revisit employment agreements, IP ownership provisions, data access controls, and employee offboarding procedures before implementing reductions.

For additional guidance on protecting business assets and reducing litigation exposure, businesses should review BoyarMiller’s resources on business litigation strategies and employment law counseling.

Corporate Governance and Fiduciary Duty Considerations

AI adoption is increasingly becoming a governance issue, not merely a technology issue.

Corporate boards and executives have fiduciary obligations to exercise informed oversight, assess foreseeable risks, maintain compliance, and protect enterprise value. Poorly managed AI workforce transitions can expose companies to shareholder disputes, regulatory investigations, reputational damage, and internal governance conflicts.

Leadership teams should develop formal AI governance frameworks addressing:

  • Internal AI use standards
  • Human oversight requirements
  • Vendor diligence procedures
  • Data handling and cybersecurity
  • Bias auditing and compliance review

In-house counsel should also evaluate AI vendor contracts, indemnification provisions, data security obligations, and intellectual property ownership concerns.

Why This Matters for Mid-Market Businesses

Large public companies often have dedicated AI governance teams and extensive internal legal infrastructure. Mid-market and private or closely held businesses frequently do not. That creates a unique risk profile.

Many growing companies are adopting AI tools quickly while reducing headcount incrementally and delegating implementation decisions to operational teams without formal governance procedures. At the same time, these businesses often possess highly concentrated intellectual capital and relationship-driven revenue models.

For mid-market companies, one poorly handled AI-related termination or one flawed automated employment decision can create outsized litigation exposure.

AI workforce strategy should not be treated solely as an HR or IT decision. It is simultaneously an employment law issue, a trade secret issue, a governance issue, a litigation risk issue, and a contractual risk management issue.

Companies that approach AI adoption strategically will be better positioned to realize operational efficiencies while minimizing avoidable legal exposure.

For businesses evaluating broader operational restructuring, BoyarMiller’s corporate legal counsel services can help leadership teams navigate evolving employment and governance risks.

The Bottom Line

In many situations, replacing employees with AI is lawful, but legality is only the starting point.

The more important question for business leaders is whether the company is managing the downstream legal, operational, and governance consequences appropriately.

AI workforce transitions affect far more than payroll costs. They implicate employment litigation risk, trade secret protection, restrictive covenant strategy, corporate governance, regulatory compliance, and reputation management.

The companies that succeed in the AI era will not necessarily be the ones that automate the fastest. They will be the ones that implement AI strategically, responsibly, and with legal risk management integrated into the process from the beginning.

  

Frequently Asked Questions:

Can employees sue if they are replaced by AI?

Yes. While replacing workers with AI is not inherently illegal, employees may still bring claims involving discrimination, retaliation, WARN Act violations, or breach of contract depending on the circumstances surrounding the termination.

Are non-compete agreements still enforceable after AI-related layoffs?

In many states, yes, but enforceability varies significantly by jurisdiction. Although the FTC attempted to ban most non-competes, that rule is currently unenforceable following federal court challenges, leaving state law as the primary governing authority. (Federal Trade Commission)

About The Author

Chris Hanslik, Firm Chairman

As Chairman of BoyarMiller, Chris understands what it takes to run the day-to-day of a successful business such as developing strategy, managing a P&L, and cultivating employees. For many clients he serves as their outside General Counsel. His experience includes commercial transactions and business litigation, including contracts, business torts, securities and corporate governance, oil and gas, trade secrets, non-compete agreements and other employment-related disputes.

We provide clarity for complex problems.

With a deep understanding of your business alongside clear and honest communication, we help clients face challenges fearlessly.

 

Learn more about our services and how we help clients.