# 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.

Canonical: https://scaplet.com/errors/http/524

Guide Error · CDN and hosting

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

524 5xx · Server error

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](#what-error-524-means-and-who-causes-it)
2. [How to get past a 524 as a visitor](#how-to-get-past-a-524-as-a-visitor)
3. [How to fix a 524 as a site owner](#how-to-fix-a-524-as-a-site-owner)
4. [What it does to SEO](#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 with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F524%20(%22Cloudflare%20error%20524%3A%20a%20timeout%20occurred%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F524%20(%22Cloudflare%20error%20524%3A%20a%20timeout%20occurred%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F524%20(%22Cloudflare%20error%20524%3A%20a%20timeout%20occurred%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F524%20(%22Cloudflare%20error%20524%3A%20a%20timeout%20occurred%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

_01_524 compared with the timeouts it is mistaken for

## What error 524 means and who causes it

A 524 is a Cloudflare status that the HTTP standard does not define; IANA lists 512 to 599 as unassigned. Cloudflare says it "indicates that Cloudflare successfully connected to the origin web server, but the origin did not provide an HTTP response before the default 125 seconds Proxy Read Timeout." The connection worked. The origin was too slow to answer.

Status

### 524

Who defines it

Cloudflare

Meaning

Connected, origin acknowledged the request, but no response within the Proxy Read Timeout (125 seconds by default)

Status

### 522

Who defines it

Cloudflare

Meaning

Timed out contacting the origin, before or after the TCP connection

Status

### 504

Who defines it

HTTP standard

Meaning

A gateway got no timely response from an upstream server

The origin side is the cause. Cloudflare gives two examples: the server has too much work to do, such as a large data query, or it is short of resources and cannot return data in time. A related 524 can appear when Cloudflare connects to write data but the write does not finish within the 30-second Proxy Write Timeout (6.5 seconds for Cloudflare Images); that timeout cannot be adjusted. Cloudflare's connection limits page lists both timeouts with 524 as the status at the limit, and marks only the Proxy Read Timeout as configurable, for Enterprise zones.

_02_How it works

## How to get past a 524 as a visitor

Cloudflare says that when most [5xx errors](/errors/http/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.

_03_Ways 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](/errors/http/504) you may see from your own proxy, and from a [522](/errors/http/522), where the TCP connection or its acknowledgment never completed. If your origin returns a real 502 or 504, see [502 Bad Gateway](/errors/http/502).

_04_Explained

## 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](/seo-issues/server-errors-5xx) for how to trace the pattern and confirm recovery, and Google's documentation on how [HTTP status codes](/glossary/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. 01 [Error 524 - Cloudflare Support docs](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-524/) developers.cloudflare.com · checked 2026-10-25
2. 02 [Cloudflare 5xx errors - Cloudflare Support docs](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/) developers.cloudflare.com · checked 2026-10-25
3. 03 [Error 522 - Cloudflare Support docs](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-522/) developers.cloudflare.com · checked 2026-10-25
4. 04 [IANA: Hypertext Transfer Protocol (HTTP) Status Code Registry](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) iana.org · checked 2026-10-25
5. 05 [How HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) developers.google.com · checked 2026-10-25
6. 06 [Connection limits - Cloudflare Fundamentals docs](https://developers.cloudflare.com/fundamentals/reference/connection-limits/) developers.cloudflare.com · checked 2026-10-25
7. 07 [Module ngx_http_log_module - nginx documentation](https://nginx.org/en/docs/http/ngx_http_log_module.html) nginx.org · checked 2026-10-25
8. 08 [Module ngx_http_upstream_module - nginx documentation](https://nginx.org/en/docs/http/ngx_http_upstream_module.html) nginx.org · checked 2026-10-25

Questions

## Asked a lot.

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

_01_ What 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.

_02_ How 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.

_03_ Can 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.

_04_ Is 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.

## Keep learning

[All errors](/errors)

[Learn Cloudflare error 522: connection timed out CDN and hosting errors](/errors/http/522) [Related 5xx server errors Status codes and links](/seo-issues/server-errors-5xx) [Read next Cloudflare 504 Gateway Timeout CDN and hosting errors](/errors/cdn/cloudflare-504) [Do Run a free site audit Free, about two minutes](/site-audit)

More in CDN and hosting errors
[Cloudflare error 521: web server is down](/errors/http/521) [Cloudflare error 522: connection timed out](/errors/http/522) [Cloudflare error 523: origin is unreachable](/errors/http/523) [Cloudflare error 524: a timeout occurred](/errors/http/524) [Cloudflare error 525: SSL handshake failed](/errors/http/525) [Cloudflare error 526: invalid SSL certificate](/errors/http/526) [Cloudflare error 530](/errors/http/530)

Terms on this page
[HTTP status codes](/glossary/http-status-codes)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

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

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
