News

Microsoft's 6,000-person layoff driven by AI coding mandate — engineers told to generate 50% of code via AI

May 19, 2025

Key Points

  • Microsoft laid off 6,000 employees after a vice president mandated that 400 software engineers generate 50% of their code via Microsoft's OpenAI-powered AI chatbot.
  • The mandate treats AI code generation as a performance target rather than an optional tool, signaling Microsoft views it as a workforce reduction lever.
  • The requirement aligns with Microsoft's broader bet on AI agents and automation across Office products, suggesting internal teams are expected to operationalize that vision.

Summary

Microsoft laid off roughly 6,000 employees in recent weeks following a mandate from a vice president overseeing about 400 software engineers. The mandate required the team to generate half of their code using Microsoft's AI chatbot, powered by OpenAI.

The layoff was modest relative to Microsoft's 221,000-person workforce, but the AI coding requirement exposes the company's actual productivity bet. Engineers are not being asked to use AI as a tool. They are being told to hit a specific threshold: 50% of code output must come from the chatbot.

This differs from the Copilot adoption narrative across the industry. GitHub Copilot became a developer favorite through organic adoption because it made engineers faster. Microsoft's mandate is structural. It comes from leadership as a performance target, not a suggestion. The implication is that Microsoft views AI-generated code as a workforce reduction lever. If engineers generate code at 2x velocity through AI, fewer engineers are needed to ship the same product velocity.

The timing is significant. Microsoft has invested heavily in OpenAI and positioned itself as the primary commercialization partner for frontier AI. Satya Nadella has emphasized that the company's near-term focus is on agents and automation across its Office product suite. The 50% code-generation mandate suggests that internal product teams are already expected to absorb and operationalize that vision.