504 Gateway Timeout: what it means and will it fix itself?
Updated 17 November 2026
The server didn't respond in time.
What it means: the website took too long to build your page, so one of its servers gave up waiting.
It's usually the website's problem: it's slow or overloaded. It normally sorts itself out within minutes. Less often, your own network or VPN is slowing things down.
Don't worry: you haven't broken anything.
Step 1: Is it down for everyone?
Type the website. We'll load it from our server, away from your device and Wi-Fi.
The website is too slow for everyone right now. Try again in a few minutes.
The website is answering us. Try the quick fixes below in case your connection is the slow part.
Step 2: Quick things to try
- Wait a couple of minutes, then reload Easy · 2 minutesMost 504 errors clear up on their own once the website catches up.
- Turn off your VPN or proxy Easy · 1 minuteThey add an extra stop on the way, which can push a slow page over the time limit.
- Restart your Wi-Fi router Easy · 2 minutesIf lots of websites are slow, your connection may be the problem.
- Try a simpler request EasyIf it happens when you upload, search or export something big, try a smaller file or fewer results. Big jobs take longer and are more likely to time out.
Why does this happen?
Websites often have a "front door" server that waits for another server to build your page. If the page takes too long, often 30 to 60 seconds, the front door gives up and shows a 504. Common reasons are:
- The website is overloaded or its database is slow.
- A big task, like a large upload, report or search, takes longer than the time limit.
- A service the website relies on isn't responding.
- Network problems between the website's servers, or occasionally on your side.
Common questions
What does 504 Gateway Timeout mean?
It means one of the website's servers waited for another server to respond and gave up because it took too long. It's usually a sign the website is slow or overloaded.
Will a 504 Gateway Timeout fix itself?
Usually, yes. Most 504 errors last a few minutes while the website catches up. If it keeps happening for hours, the website has a bigger problem that its team needs to fix.
Is a 504 error my fault?
Almost never. It's nearly always the website being slow. If every site you visit is slow or timing out, though, restart your router and turn off any VPN.
Why do I get 504 errors when uploading or submitting a form?
Big uploads and form submissions take longer to process, so they're more likely to hit the website's time limit. Try a smaller file, a faster connection, or try again later when the website is less busy.
Is it your own website?
A 504 means your proxy or load balancer (Nginx, a CDN, a cloud load balancer) timed out waiting for your application. Look for slow database queries, long-running scripts or external API calls, and check the timeout settings on both the proxy and the application.
Related help
Got another site that won't load?
Check any website