503 means the website is temporarily unavailable: overloaded or in maintenance. Visitors: wait a few minutes and reload. Site owners: check maintenance mode, server resources and backend health, and restart stuck services.

What's going on

503 means the server is up but temporarily can't handle requests, generally because it's overloaded, in maintenance mode, or has no healthy backend servers to send traffic to.

503 is meant to be temporary. Well-configured sites send a Retry-After header during maintenance.

What you'll see

  • “503 Service Unavailable” or “Service Temporarily Unavailable.”
  • The whole site is down briefly, then recovers.
  • It coincides with traffic spikes or a scheduled job.

Common causes

  • The application is in maintenance mode (e.g. a framework’s “down” flag).
  • The backend pool has no healthy instances, or all workers are busy.
  • CPU, memory, or connection limits are exhausted.
  • A dependency (database, cache, queue) is unavailable.

How to fix it

  1. Check whether the app is in maintenance mode or the load balancer shows zero healthy targets, and bring instances back up.
  2. Inspect CPU, memory, worker count and connection limits; scale out or raise limits to match demand.
  3. Restart the service, clear any stuck queue or cache, and confirm dependencies are reachable.

Command

curl -o /dev/null -s -w "%{http_code} %{time_total}s\n" "https://example.com/"

Run it a few times to see whether 503s are constant or intermittent, and how response time behaves.

Check it's fixed: The site returns 200 steadily, including during the traffic pattern that triggered the 503.

Stop it happening again

Right-size autoscaling, add health checks, and use a real maintenance page with Retry-After for planned work.