HTTP 408 Request Timeout — What It Means

What HTTP status code 408 Request Timeout means, when servers return it, and how to handle it correctly.

Published September 24, 2026

HTTP 408 Request Timeout means the server waited too long for the client to finish sending the request and closed the connection.

What it means

Slow networks, large uploads or idle keep-alive connections can trigger it. Clients may retry.

Common causes: Slow or unstable connection; Client stalled mid-request; Server timeout too low.

On the wire

POST /upload HTTP/1.1
HTTP/1.1 408 Request Timeout
Connection: close
A typical 408 exchange.

Practical examples

Test it from the shell

curl -i https://example.com/path   # look for HTTP 408

Handling 408 in code or config

server.requestTimeout = 120000

How to fix it

Retry the request; Increase server or proxy timeouts; Check network quality.

1. Reproduce: curl -i <url>
2. Confirm the status is 408
3. Apply the fix above and re-test

Common mistakes

  • Retry the request
  • Increase server or proxy timeouts
  • Ignoring the response headers that explain the details.

Key takeaways

  • 408 means Request Timeout.
  • HTTP 408 Request Timeout means the server waited too long for the client to finish sending the request and closed the connection.
  • Read the response headers and logs for the exact cause.

FAQ

408 vs 504?

408 is the client being too slow; 504 is a gateway waiting for an upstream server.

Is 408 a client or server error?

It is a client error status code, in the 4xx class.

More HTTP articles