How do I solve a 524 timeout error?

You can do 2 things to fix the 524 error: Optimize your WordPress installation or Increase the Max Execution time. Read more in this article

Max avatar
Written by Max
Updated over a week ago

In this article we will explain what a 524 timeout error is and how to fix this issue.

What is a 524 timeout error?

Error 524 error indicates that Cloudflare made a successful TCP connection to the origin web server, but the origin did not reply with an HTTP response before the connection timed out. Typically, Cloudflare waits 100 seconds for an HTTP response. If the origin doesn’t respond in that time, Cloudflare closes the connection and you’ll see “Error 524: A timeout occurred”.

How do I fix a 524 timeout error?

You can do 2 things to fix the 524 error:

  1. Optimize your WordPress install.
    That’s what you should absolutely do. Make sure you use the latest version of PHP (or at least PHP 7.3+). Then, check the plugins currently active on your WordPress and try to disable the ones you don’t absolutely need.
    Please use this article to update your php version and use this troubleshooting guide to disable plugins

  2. Increase the Max Execution Time.
    There are many ways to do this. However, you might not be able to do this by yourself if it’s not your own server. It’s usually better to contact your hosting service to do this. But just in case, let’s see two ways of extending the maximum execution time. You can use this article for this: Increase PHP time limit.


Can’t figure it out? You can always send a message to the support team via the chat bubble at the bottom right 🎈 Support to the rescue 👨‍💻 👩‍💻

Did this answer your question?