Free auditStart free
GuideError · CDN and hosting

Cloudflare error 524: a timeout occurred

Cloudflare error 524 means the origin connected but sent no response within 125 seconds. See the causes, the Enterprise timeout setting and workarounds.

4 min
read
8
sources
Oct 21, 2026
updated
Scaplet Editorial Team
author
The short answer

Cloudflare error 524 means Cloudflare connected to your origin server, but the origin sent no HTTP response before the default 125-second Proxy Read Timeout. It is a Cloudflare-defined status, not standard HTTP. The cause is a slow request or a struggling origin. Speed up the work, poll long jobs, or move them off the proxy.

  1. What error 524 means and who causes it
  2. How to get past a 524 as a visitor
  3. How to fix a 524 as a site owner
  4. What it does to SEO
30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
02How it works

How to get past a 524 as a visitor

Cloudflare says that when most 5xx errors appear, the right first step is to contact the hosting provider or site administrator, and that Cloudflare Support only assists the domain owner. As a visitor you can do little beyond waiting and ruling out your own setup.
  1. 01

    Reload after a minute

    A reload may work if the server was briefly overloaded. If it times out again, the owner needs to act.

  2. 02

    Try another network or device

    If the page loads on mobile data or on someone else's connection, the problem is local. If it fails everywhere, the site has the fault.

  3. 03

    Tell the site owner

    Send the exact URL, the time with your timezone and the error code. Cloudflare lists those details for owners to give a hosting provider. Add the Ray ID if the error page shows one, since Cloudflare's log tools can filter by it.

03Ways to resolve a 524

How to fix a 524 as a site owner

Cloudflare's guidance splits into fixes at the origin and options on the Cloudflare side.
Where

Origin

Option
Find the long-running process or overload
Detail
Contact your host to rule out a long-running process or an overloaded server, and log response times at the origin to find slow requests
Where

Origin

Option
Poll status for large jobs
Detail
Implement status polling of large HTTP processes so the request returns quickly and the client checks progress
Where

Cloudflare

Option
Move long requests off the proxy
Detail
For requests that regularly run over 125 seconds, such as large exports, use a subdomain that is not proxied (DNS-only, grey clouded)
Where

Cloudflare, Enterprise

Option
Raise the timeout
Detail
Cloudflare says Enterprise customers can increase the 524 timeout up to 6,000 seconds with a Cache Rule using Proxy Read Timeout, or zone-wide through the Edit zone setting API endpoint

The Cache Rule route needs cacheable content for the rule to trigger, although the content does not need to be cached already. Cloudflare also notes you may see a 1 second difference between the timeout you set and when the 524 is returned, and suggests setting it one second higher, for example 126 instead of 125.

Log how long the origin takes (nginx example)
# log_format is valid in the http context: add request time and upstream time
log_format timed '$remote_addr "$request" $status '
                'rt=$request_time urt=$upstream_response_time';
access_log /var/log/nginx/access.log timed;

Then look for requests near the limit. Cloudflare's Origin Analytics can show P95 response times close to the Proxy Read Timeout; if they are, identify the slow paths in its Top endpoints table and optimize them, or increase the timeout if you are on an Enterprise zone. In the nginx format, $request_time is the time to process the whole request and $upstream_response_time is the time spent receiving the response from the upstream server.

A 524 differs from a 504 you may see from your own proxy, and from a 522, where the TCP connection or its acknowledgment never completed. If your origin returns a real 502 or 504, see 502 Bad Gateway.

04Explained

What it does to SEO

Google treats 5xx responses as server errors: its crawlers slow down, content returned with them is ignored, and URLs already indexed are kept for a while but eventually dropped if the errors persist. Slow pages that end in a 524 are served to crawlers as server errors. See 5xx server errors for how to trace the pattern and confirm recovery, and Google's documentation on how HTTP status codes affect its crawlers.

Sources · 8

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • cloudflare.com
  • iana.org
  • google.com
  • nginx.org
  1. 01Error 524 - Cloudflare Support docsdevelopers.cloudflare.com · checked 2026-10-25
  2. 02Cloudflare 5xx errors - Cloudflare Support docsdevelopers.cloudflare.com · checked 2026-10-25
  3. 03Error 522 - Cloudflare Support docsdevelopers.cloudflare.com · checked 2026-10-25
  4. 04IANA: Hypertext Transfer Protocol (HTTP) Status Code Registryiana.org · checked 2026-10-25
  5. 05How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-10-25
  6. 06Connection limits - Cloudflare Fundamentals docsdevelopers.cloudflare.com · checked 2026-10-25
  7. 07Module ngx_http_log_module - nginx documentationnginx.org · checked 2026-10-25
  8. 08Module ngx_http_upstream_module - nginx documentationnginx.org · checked 2026-10-25
Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01What is the meaning of error 524?

Cloudflare connected to your origin web server, but the origin sent no HTTP response before the Proxy Read Timeout, 125 seconds by default. It is a Cloudflare-specific status, not part of the HTTP standard.

02How do I fix Cloudflare error 524?

Find and speed up the slow request, poll status for large jobs, or serve long-running processes from a non-proxied (DNS-only) subdomain. Enterprise customers can raise the timeout up to 6,000 seconds.

03Can I increase the 524 timeout?

Only on Enterprise plans, per Cloudflare: up to 6,000 seconds through a Cache Rule with the Proxy Read Timeout setting or the zone setting API. The 30-second Proxy Write Timeout cannot be adjusted.

04Is a 524 the same as a 504?

No. A 504 Gateway Timeout is a standard HTTP status. A 524 is Cloudflare's own status for a connected origin that did not respond within the Proxy Read Timeout.

Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane