Microsoft declares Code Red after nearly 24-hour outage

Microsoft has declared an internal "Code Red" after the outage of 12 and 13 November 2026, which knocked out Exchange Online, Outlook, Teams and Copilot for nearly 24 hours. Reuters reported it on 24 November 2026 from internal memos that make reliability the top priority of the team behind Microsoft 365.
Jason Henderson, president of M365 Core, told staff in a memo on Friday 20 November, Reuters reported. He called it the most customer-impacting incident in the history of Exchange Online, Microsoft's cloud email service. Amanda Silver, the corporate vice president over M365 Core, followed with a memo on Monday 23 November.
Code Red means that this is the highest priority work for our team.
Microsoft's own account is in two post-incident reports in the Microsoft 365 admin centre: a preliminary one, announced on X on 16 November, and a final one, reported by The Register on 23 November. On 13 November the company said on X it was "deeply sorry for the disruption" and that this was "a technical issue not related to cyber or AI / agents".
What went wrong
The fault was a change to Windows made only for Microsoft 365's network gateway servers, which handle connections into its services. It went out worldwide from July 2026 and passed Microsoft's load tests. Under certain loads it caused "lock contention inside an internal Windows process", the preliminary report says, until servers ran out of CPU and memory and stopped responding. Three things lined up on 12 November:
- The defect. It is worse "on machines with more cores and newer hardware", the report says. "Our load testing tended to focus on weaker hardware with fewer cores."
- Extra traffic. At 01:07 UTC, about 15 hours before the outage, Teams failed over to the primary gateway that Exchange Online also uses.
- Less capacity. An unrelated problem had taken about 14% of the gateway's server capacity offline. Microsoft believed the spare capacity left was enough.
The outage began at 16:20 UTC that Thursday. At its lowest, "more than 80 percent of servers were unresponsive". Teams, OneDrive, SharePoint and the Office apps moved off the faulty gateways; Exchange Online cannot, "for scale reasons", so email stayed down.
Why more cores made it worse
A lock lets one thread at a time change shared data while the others queue. More cores run more threads, so more of them reach the same lock together, and time goes on waiting and on passing the lock between cores instead of on work. A test on a smaller machine can pass while a bigger one fails.
The performance analyst Neil Gunther's Universal Scalability Law models this. It gives the work done by N cores, compared with one, from two costs: α for contention (waiting for a shared resource such as a lock) and β for coherency (keeping the cores' copies of shared data in step).
In the graph, x is the number of cores and y is the work done compared with one core, with α = 0.02 and β = 0.0005, values made up to show the shape. Eight cores do 6.8 times the work of one, which looks healthy in a test. The curve peaks at 44 cores, at 15.7 times, and 128 cores manage only 11.0.
With about 14% of the gateway servers offline, the other 86% carry all the traffic, so each takes 1 ÷ 0.86, about 1.16 times its usual share, before any Teams traffic is added.
Why recovery took nearly a day
Automated recovery was "not designed to restore service from this broad unresponsive state", the preliminary report says. Servers that came back were overwhelmed and failed again, a pattern engineers call a thundering herd. Rolling back was not possible, as the change was more than three months old.
A fix went on at 07:20 UTC on 13 November, an update that "returned the code path to the previously known good state in Windows", with servers patched and restarted in large groups. Service looked healthy at 16:10 UTC, 23 hours and 50 minutes after the start. The final report says all queued business email was delivered, though some messages to consumer mailboxes unused for over 30 days expired.
What Code Red changes
Silver's memo describes a "fog of war", with more than 11,000 messages across 11 Teams chats and diagnostic data scattered across separate systems, Reuters reported. Code Red has five workstreams, covering load shedding (turning some requests away so the rest get through), splitting traffic by region so a failure stays local, and faster recovery. The target is to resolve future incidents worldwide within an hour, with AI agents helping engineers read system health data.
In an earlier memo, Henderson wrote that in a separate incident "an urgent production fix took five to six days to reach worldwide saturation", 120 to 144 hours, while the most urgent security fixes need to go "from detection to safe worldwide deployment in an hour". "Needless to say, we aren't here yet," he wrote.
The final report lists Microsoft's own fixes: more isolation so failures stay contained, more spare capacity, testing on newer hardware at realistic peak loads, broader failover tests and better change auditing. A Microsoft spokesperson told Reuters: "Our work doesn't end when service is restored."
What is not known yet
Reuters reviewed the memos, which have not been published, and Microsoft has not said how many people lost email.
Sources
- Microsoft on X: apology and cause, 13 November 2026
- Microsoft 365 Status on X: preliminary post-incident report released, 16 November 2026
- Reuters, via Investing.com: Microsoft declares 'Code Red' after historic outage, internal memos show, 24 November 2026
- RTÉ, from Reuters: Microsoft declares 'Code Red' after historic outage, 25 November 2026
- The Register: Microsoft blames monster email outage on software defect introduced in July fix, 16 November 2026
- The Register: Microsoft mega outage report reveals testing gaps and emails that never arrived, 23 November 2026
- Office 365 for IT Pros, Tony Redmond: The Great Exchange Online Outage of November 2026, 16 November 2026
- Neil Gunther, Performance Dynamics: How to Quantify Scalability
- Wikimedia Commons: Microsoft Bing Maps' datacenter, photo by Robert Scoble, CC BY 2.0