Skip to content
Control Plane Labs

440 Login Time-out (Microsoft)

Client error response defined by learn.microsoft.com.

Written and maintained by Ben Ennis

Last reviewed November 23, 2026 · How we verify this

Common causes at a glance

  • An idle OWA or forms-auth session that passed its timeout
  • An expired or misconfigured Exchange Server Auth (OAuth) certificate
  • Load balancers moving a session between servers on different builds
  • SSL offloading that strips the Secure flag from SameSite=None cookies

Reproduce it

curl -si https://mail.example.com/owa/ -b 'cadata=stale' | head -1

What 440 Login Time-out (Microsoft) means

A 440 says “you were signed in, and that session is no longer good”. That is different from 401, which means no valid credentials arrived at all, and from 403, which means the user is known but not allowed. For a single user after an idle tab, it is routine and a fresh sign-in fixes it. When it hits every user at once, or straight after a successful sign-in, the session cookies are being rejected on the server side and a sign-in won’t help.

There is no RFC

440 is unassigned in the IANA registry, and we haven’t found a formal Microsoft definition for it. The documentation is operational: Microsoft Q&A threads on Exchange 2019 and Exchange 2016 OWA show it after reply or forward actions and on blank OWA and ECP pages. Microsoft’s troubleshooting article on an expired Exchange OAuth certificate covers a related sign-in failure with the check to run. In Exchange Online, the idle sign-out window is set by ActivityBasedAuthenticationTimeoutInterval on Set-OrganizationConfig.

What actually causes it

The pattern tells you which one you have. One user, after lunch, is the timeout working as designed. Everyone at once after a certificate anniversary points at the Auth certificate. Failures only on some clicks, such as Reply or Forward, usually mean requests landing on a different server than the one that issued the cookie, or a browser discarding a cookie that a TLS-offloading proxy delivered without the Secure flag. Turn on session affinity or bring every server to the same cumulative update before changing authentication settings.

How to debug it

Reproduce once and match the timestamp in the IIS logs and the HttpProxy\Owa logs on each Exchange server to see which server answered 440. Then check the Auth certificate in the Exchange Management Shell:

(Get-AuthConfig).CurrentCertificateThumbprint | Get-ExchangeCertificate | Format-List Subject, NotAfter

Working examples

curl

# Follow the OWA sign-in redirects and print each status line.
curl -sIL https://mail.example.com/owa/ | grep -E '^HTTP'

# Send a stale session cookie to see the 440 directly.
curl -si -b 'cadata=stale' https://mail.example.com/owa/ | head -1

Python (requests)

import requests

s = requests.Session()
r = s.get("https://mail.example.com/owa/", timeout=10)
if r.status_code == 440:
    print("session expired; sign in again and retry")

Node (fetch)

const res = await fetch("https://mail.example.com/owa/", {
  headers: { cookie: "cadata=stale" },
  redirect: "manual",
});
if (res.status === 440) console.log("login time-out: re-authenticate");

Reference and tooling

The authoritative list of assigned status codes is theIANA HTTP Status Code Registry. For a searchable copy with the semantics summarised, use theHTTP status code reference on this site. To see exactly what a server is sending, theheader inspector shows the raw status line and response headers, and thecurl builder assembles the request flags for you.

Other 4xx codes