Microsoft Declares Code Red After a Nearly 24-Hour Outage
Microsoft Declares Code Red After a Nearly 24-Hour Outage
Microsoft Code Red outage is now the company’s top-priority internal drive, declared after a nearly 24-hour failure that took Exchange Online, Outlook, Teams, and the Copilot AI assistant offline worldwide. Microsoft has described Code Red as its most severe and urgent alert for fixing weaknesses in engineering and operational practices.
The outage began on Thursday, 12 November, and ran into Friday, 13 November. Millions of people opened Outlook and found that nothing would load. Within an hour, reports were arriving from dozens of countries. By the time email was working normally again, almost a full day had passed, hospitals had switched to paper, traders had gone back to phones, and a court in the Philippines was warning that replies would be late.
Microsoft declared the incident resolved on 14 November. Twelve days later, internal memos reviewed by Reuters revealed the scale of the response. The company had declared Code Red, and the memos also showed how the outage unfolded inside Microsoft, and why its own recovery systems made things worse.
Microsoft Code Red Outage: How Bad Was the Failure
Microsoft 365 is used by more than 430 million people, according to figures Microsoft has published. A failure in one layer of its email system therefore travels far, even when the root cause sits in a single part of the infrastructure.
Microsoft has not said how many accounts were affected. What is known comes from user reports, the company’s own timestamps, and the internal numbers that surfaced through Reuters. The impact window, in Microsoft’s final record, was 23 hours and 50 minutes, from 16:20 UTC on 12 November to 16:10 UTC on 13 November.
At the worst point, more than 80 percent of the affected networking gateway servers were unresponsive. The collapse took under two hours, while recovery took about twelve times as long. Microsoft extended the delivery retry window from 24 hours to 48 hours during the outage, so queued messages would not bounce back to senders.
Microsoft said that no customer email was lost and that queued messages were eventually delivered. The company also said that no customer data at rest was affected. Those assurances matter, because an email outage that also loses messages would be far harder to recover from than an outage that only delays them.
What Caused the Outage
Microsoft traced the failure to a Windows scalability defect introduced in July on the servers that handle incoming connections to Microsoft 365. The defect went undetected for about four months, until a combination of factors brought it to the surface in November.
The preliminary post-incident report, dated 15 November, named three factors together. A latent defect sat in Windows code written for Microsoft 365’s networking gateway servers. Teams traffic failed over to the primary gateway 15 hours before the outage. Nearly 14 percent of gateway capacity was already offline from an unrelated issue.
Under certain load conditions, lock contention in an internal Windows process exhausted processor and memory on the networking gateway servers that route Microsoft 365 traffic. That left more than 80 percent of them unresponsive at the worst point, according to the company’s preliminary report.
Load testing had failed to catch the flaw, because lab machines used weaker hardware with fewer cores than the live servers. The defect therefore passed through testing and stayed hidden until live traffic exposed it.
Microsoft ruled out a cyberattack and AI agents as the cause. The final post-incident report, dated 20 November and released on Friday evening, confirmed most of the preliminary findings, corrected two of them, and added facts the preliminary report did not contain.
A Memo That Called the Incident Historic
Jason Henderson, president of Microsoft 365 Core, wrote in a staff memo on Friday, 20 November, that the outage was the most customer-impacting incident in the history of Exchange Online. His words were direct: never before had so many customers been without email for so long.
Charles Lamanna, a Microsoft executive vice president, said in a Code Red review that the faulty component had roughly ten years’ worth of acceptable failures. The comment shows how far the defect sat outside normal expectations, and why it was not caught by routine checks.
The memos describe a response that struggled to keep up. Earlier in the month, Henderson had written that one urgent fix needed five to six days before it reached every region. That delay, he noted, showed that Microsoft was not yet where it needed to be.
What Code Red Actually Means
Code Red sounds like an emergency announcement to customers. It is not. Code Red is an internal designation, and nothing in the reported memos changes Microsoft’s contract with customers or its published service levels.
Henderson’s memo put the meaning in plain terms. Code Red means that this is the highest priority work for the team. The work covers engineering, incident response, and the way Microsoft prevents the next major failure, not a new outage or a warning that services are at risk today.
Microsoft marked the incident as restored on 13 November. The Code Red is about preventing the next one and fixing how the company responds when one happens. That distinction matters for customers, who should not read Code Red as a sign of a fresh problem.
Microsoft promises business customers 99.9 percent uptime for Microsoft 365, which allows about 44 minutes of downtime a month. By one calculation, the 24-hour outage used up nearly three years’ worth of that allowance, although not every customer was down for that long.
What Microsoft Plans to Change
The Code Red initiative calls for a review of engineering and incident-response practices. Its priorities include limiting the spread of failures between regions, dividing gateways into groups that serve different workloads, and using AI agents to help engineers interpret diagnostic data sooner.
One priority is to restrict Teams failover to the affected region, so that a problem in one place does not pull traffic from everywhere else. Another is to improve traffic distribution to prevent cascades between regions, reduce the size of failure zones, and bring servers back into service gradually.
The headline commitment is a one-hour worldwide resolution target for future incidents, helped by AI agents that would diagnose system health data faster. That target is a sharp contrast to the roughly 24 hours the November outage took, a 24-fold improvement.
Microsoft has not announced a deadline for achieving the new recovery goal, and it does not appear in the standard service terms, according to analysts. Some of the planned tasks have target dates in quarters of 2026 and 2027, while others have no date yet.
The overhaul covers five workstreams, including load shedding, splitting traffic by geography, and faster ways to recover. Microsoft has already implemented nine corrective measures, with another 13 planned, according to President Brad Smith.
| Timeline | What happened |
|---|---|
| July 2026 | Windows scalability defect introduced on Microsoft 365 gateway servers |
| 12 November, 16:20 UTC | Outage begins; Outlook, Teams, and Copilot affected worldwide |
| 13 November, 16:10 UTC | Active impact ends after 23 hours and 50 minutes |
| 14 November, 04:15 UTC | Microsoft declares the incident resolved |
| 15 November | Preliminary post-incident report published |
| 20 November | Final report published; Code Red memo sent to staff |
| 24 November | Code Red declaration reported after Reuters reviewed internal memos |
Frequently Asked Questions
What is the Microsoft Code Red outage?
The Microsoft Code Red outage refers to the nearly 24-hour Microsoft 365 outage of 12-13 November, after which Microsoft declared an internal Code Red to overhaul how it prevents and handles major service failures.
How long did the outage last?
Microsoft’s final record puts the impact window at 23 hours and 50 minutes, from 16:20 UTC on 12 November to 16:10 UTC on 13 November.
What caused the outage?
A Windows scalability defect introduced in July, combined with Teams traffic failover and reduced gateway capacity. Microsoft ruled out a cyberattack and AI agents as causes.
Was any email lost?
Microsoft said no customer email was lost and queued messages were eventually delivered, after the delivery retry window was extended from 24 to 48 hours.
What is Microsoft’s new recovery target?
Microsoft aims to resolve future global outages worldwide within one hour, partly by using AI agents to diagnose system health data faster. No deadline for that goal has been announced.
Microsoft Code Red Outage: A Test Microsoft Set for Itself
The Code Red declaration is best understood as a test Microsoft has set for itself. The November outage showed that a single hidden defect, left for four months, could take down email for millions of people and take almost a day to fix.
The response now depends on whether the five workstreams deliver real change. Splitting traffic by region, limiting failover, testing under peak load, and using AI agents for faster diagnosis are all practical steps, yet each one needs to be built, tested, and proven under live conditions.
Customers cannot judge that work from a memo alone. They will judge it the next time a major service fails, by how fast Microsoft finds the cause, how clearly it communicates, and how quickly services return. The Microsoft Code Red outage has set that standard, and the one-hour target is the measure Microsoft will now be held against.
