Cloudflare Error 524: A Timeout Occurred

Share
Workaround available All Updated November 13, 2026Based on 3 user reportsHow we research

Quick answer

Error 524 means the origin accepted the connection but did not answer within about 125 seconds. Speed up the slow request, run it in the background, or bypass the proxy for it.

Most likely fix: Find and speed up the slow request

How to fix it

Try these in order — the most common fix is first.

  1. 1. Find and speed up the slow request

    1. Log response times on the origin
    2. Use Origin Analytics > Top endpoints to see paths near the timeout
    3. Optimise the query or add caching
    Did this fix it?
  2. 2. Make long jobs asynchronous

    1. Return immediately and poll for the job status instead of one long request
    2. Use a queue or background worker for exports and imports
    Did this fix it?
  3. 3. Serve long requests on a DNS-only subdomain

    1. In DNS, create a subdomain such as admin.example.com
    2. Set it to DNS only (grey cloud)
    3. Use it for the long-running tool
    Did this fix it?
  4. 4. Enterprise only: raise the timeout

    1. Use a Cache Rule with Proxy Read Timeout, or the proxy_read_timeout zone setting via API
    2. Values up to 6,000 seconds are allowed; set 1 second higher than needed
    Did this fix it?

Symptoms

'Error 524: A timeout occurred' appears after a long wait, typically on exports, imports, backups or heavy admin pages.

Why it happens

  • Origin takes longer than the 125-second Proxy Read Timeout
  • Large database query or overloaded server
  • Write to the origin not finishing in 30 seconds (cannot be changed)

This guide also covers

  • cloudflare error 524
  • a timeout occurred cloudflare
  • cloudflare 524 wordpress

Still not working?

If Cloudflare keeps failing, you're not alone. See every Cloudflare problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other Cloudflare errors

All 15 Cloudflare errors and fixes →