Microsoft's headcount fell for the first time in a decade last fiscal year — and product research and development roles took the brunt of the decline, according to the company's annual regulatory filing.

Microsoft employed 223,000 people as of June 30, down 5,000 from a year earlier, per its Form 10-K filed with the SEC this week. It's the first annual employment decline since 2016, when the company was winding down its Nokia smartphone business. Over the same period, revenue rose 18% — $50.1 billion — to $331.8 billion, the largest one-year increase in company history.

The numbers show an AI-era reshaping of the workforce. Product R&D roles fell by 3,000 to 77,000 — down from a peak of 81,000 in 2024 — accounting for most of the net decline. Operations, now Microsoft's largest employment category, held steady at 89,000 after growing the prior year. Sales and marketing fell by 1,000 to 43,000, and general and administration by 1,000 to 14,000. Reductions fell disproportionately on the U.S. workforce, down 4,000 to 121,000, while international employment declined 1,000 to 102,000.

The figures reflect the roughly 9,000 jobs cut on July 2, 2025, two days into the fiscal year. They do not include the 4,800 cuts announced July 6 of this year spanning sales, consulting and Xbox, nor the thousands of U.S. employees who left in early July under the company's first voluntary retirement program.

On the earnings call this week, CFO Amy Hood confirmed that "total company headcount declined 2% year over year," linking a 10% increase in operating expenses to "continued investment in R&D compute capacity, talent, and data to support product development across the portfolio."

AI coding tools — including Microsoft's own GitHub Copilot — have become a standard part of how software is built at the company and across the industry, reducing the number of people and the time it takes to ship products while often expanding the total scope of work. Microsoft has repeatedly declined to link its job cuts directly to AI: Chief People Officer Amy Coleman said in a memo this month that the roles being eliminated were not being directly replaced by AI, while acknowledging that "AI is changing how work gets done."

The cuts come as tech companies keep a tight rein on operating expenses to offset soaring capital costs for AI infrastructure. Microsoft's capital spending reached $41 billion in the June quarter alone.

Microsoft is also moving engineers out of product development and into customer-facing roles. The Microsoft Frontier Company, a $2.5 billion initiative announced July 2, embeds more than 6,000 engineers inside customers building AI systems — drawn primarily from Microsoft's existing engineering and forward-deployed teams.