Skip to content
5xx · Server Error

524 A Timeout Occurred

A Cloudflare error meaning the origin accepted the connection but did not respond in time.

What it means

HTTP 524 is a non-standard Cloudflare status returned when Cloudflare made a connection to the origin but did not receive a complete HTTP response before its timeout (100 seconds by default on the proxy). The connection succeeded; the origin was just too slow to finish answering.

When it happens

It happens with long-running requests on the origin — slow database queries, heavy computation, or scripts that exceed the proxy timeout — where the origin is still working when Cloudflare gives up waiting.

How to fix it

  • Optimise slow backend operations and long-running database queries.
  • Move work that legitimately takes a long time into a background job and return quickly.
  • Use techniques like Cloudflare Enterprise timeout settings or a job-and-poll pattern for genuinely long tasks.
  • Check origin resource usage for bottlenecks that slow responses.

SEO impact

Damaging if sustained. Slow responses that time out look like server errors to crawlers, preventing indexing and, if frequent, slowing crawl rate. Keep responses well within the timeout.

Check it with Sitewell

Find out which of your URLs return 524

Paste a list of URLs and Sitewell checks the status code of every one at once — free and without signup.

Related codes

Related guides