HTTP 426 Upgrade Required — What It Means
What HTTP status code 426 Upgrade Required means, when servers return it, and how to handle it correctly.
Published September 25, 2026
HTTP 426 Upgrade Required means the server refuses to process the request using the current protocol and requires the client to upgrade, for example to TLS or HTTP/2.
What it means
The response includes an Upgrade header naming the acceptable protocols.
Common causes: Plain HTTP to a TLS-only service; Old protocol versions; Mandatory protocol upgrades.
On the wire
GET /api HTTP/1.1
HTTP/1.1 426 Upgrade Required
Upgrade: TLS/1.3
Connection: Upgrade
Practical examples
Test it from the shell
curl -i https://example.com/path # look for HTTP 426Handling 426 in code or config
res.status(426).set('Upgrade','TLS/1.3').end()How to fix it
Switch to the required protocol; Use HTTPS; Update the client library.
1. Reproduce: curl -i <url>
2. Confirm the status is 426
3. Apply the fix above and re-testCommon mistakes
- Switch to the required protocol
- Use HTTPS
- Ignoring the response headers that explain the details.
Key takeaways
- 426 means Upgrade Required.
- HTTP 426 Upgrade Required means the server refuses to process the request using the current protocol and requires the client to upgrade, for example to TLS or HTTP/2.
- Read the response headers and logs for the exact cause.
FAQ
426 vs 301 to HTTPS?
426 demands a protocol upgrade; 301 redirects to another URL.
Is 426 a client or server error?
It is a client error status code, in the 4xx class.