Free auditStart free
GuideError · CDN and hosting errors

Heroku 503 Service Unavailable

A Heroku 503 is one of about 17 router codes, from H10 to H99. Read the code in the router log, then use this map to the right fix, or to a Heroku-side wait.

5 min
read
4
sources
Oct 31, 2026
updated
Scaplet Editorial Team
author
In one line

Heroku's router returns 503 for many different failures, and each one logs an H code: H10 crashed app, H11 backlog, H12 timeout, H14 no web dynos, H19 and H21 connection problems, H80 maintenance mode, H82 dyno hours used up, H99 platform error. The browser page looks the same for all of them. Read code=H.. in heroku logs --dyno router, then follow the map below.

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 withChatGPTClaudePerplexityGoogleAI Mode
01Explained

A 503 is a symptom, the H code is the diagnosis

Heroku's router answers on behalf of your app, so a 503 can mean the app crashed, is overloaded, is under maintenance, or that Heroku itself has a problem. The Heroku Error Codes article gives every one of these a code, and in its sample log lines the routing codes below all show status=503. The one that does not is H81 (Blank app), which logs status=502.
503-producing router codes in the Heroku docs
CodeMeaning in Heroku's wordsWho actsWhere to go
H10App crashedYouH10: App crashed
H12Request timeoutYouH12: Request timeout
H13Connection closed without responseYouH13
H14No web processes runningYouH14
H11, H22Backlog too deep, connection limit reachedYou (capacity)Capacity section below
H19, H21, H34Backend connection timeout, refused, all up dynos quarantinedYou (usually load)Capacity section below
H20App boot timeoutYouBoot section below
H15, H17, H18Idle connection, poorly formatted response, server request interruptedYouHeroku error codes article
H80, H82, H83Maintenance mode, dyno hour pool used up, planned service degradationYou, you, HerokuNot-a-fault section below
H99Platform errorHerokuTry again in a minute, check the status site
02Fix it on your stack

Read the code in 2 minutes

The commands need the Heroku CLI and your app. The log filter was run on sample router lines copied from Heroku's error-code article, so it shows the output shape you should expect.
Your app: stream router log lines and keep only the code (needs the Heroku CLI)
heroku logs --dyno router --tail \
  | grep --line-buffered -o 'code=H[0-9]* desc="[^"]*"'
Observed on four sample lines, with the count command: grep -o ... | sort | uniq -c | sort -rn
   2 code=H12 desc="Request timeout"
   1 code=H80 desc="Maintenance mode"
   1 code=H10 desc="App crashed"
Public test endpoint: confirm your client reports a 503
curl -sS -o /dev/null -w "%{http_code}\n" https://httpbin.org/status/503
# observed: 503

If one code dominates, go straight to its row above. If several appear, start with the one that shows up first in the log, since later codes can be a consequence.

04Which boot clock fired

Boot and start-up: H20 against R10

A new or restarted web dyno gets two different clocks. Heroku's router enqueues requests for 75 seconds while it waits for starting processes to reach up, and logs H20 if none do. R10 is narrower: the web process must bind to its assigned $PORT within 60 seconds, or the dyno is killed and counts as crashed.
Signal

H20 App boot timeout

Limit
75 seconds
What it covers
Platform work as well: internal state propagation, slug download, unpacking and container preparation, plus your start-up
Signal

R10 Boot timeout

Limit
60 seconds
What it covers
Only your application's start-up tasks. Java buildpack, Gradle buildpack, heroku-deploy toolbelt plugin and Heroku Maven plugin apps get 90 seconds

Heroku's documented causes are an app that cannot reach an external resource such as a database at start-up, an app doing too much work at start-up, and the Rails asset pipeline running at boot instead of at git push. The boot timeout tool can raise the limit for Cedar apps but is not available for Fir, and Heroku calls it a temporary solution because slow boots slow deploys and recovery. The H10 page covers the $PORT binding itself.

05Your call

When it is not a fault: H80, H82, H83 and H99

Four codes need a decision or patience rather than a debugging session. Heroku itself says H80 is not an error and gives it a code for completeness.
If this fits

You can act on

  • H80: maintenance mode is on. Run heroku maintenance to check it and heroku maintenance:off to end it
  • H82: the account used up its monthly Eco dyno hours and apps on those dynos are sleeping. Usage is in the Heroku dashboard
Or

Wait for Heroku on

  • H99: an internal Heroku platform error that needs no action from you. Try again in a minute or check the status site
  • H83: planned service degradation while Heroku retires a feature. The Heroku Changelog and status page carry the timeline
Maintenance mode commands from the Heroku Dev Center (needs the Heroku CLI)
heroku maintenance:on
heroku maintenance
heroku maintenance:off
Questions

Asked a lot.

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

01Why does Heroku show Application Error with a 503?

The router could not get a valid answer from your web dyno, and each cause logs an H code such as H10, H12 or H14. Run heroku logs --dyno router and read the code= value, because the page shown to visitors is the same for all of them.

02Is H80 an error?

No. Heroku's error-code article says H80 is not an error and gives it a code for completeness. It means maintenance mode is on, and the router logs at=info with status=503.

03What does H99 mean and what do I do?

H99 is a Heroku platform error. The docs say it is one of only two codes, with R99, that represent errors in the platform, and that it needs no action from you. Try again in a minute or check the Heroku status site.

Sources · 4

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • heroku.com
  • google.com
  1. 01Heroku Dev Center: Heroku Error Codesdevcenter.heroku.com · checked 2026-11-01
  2. 02Heroku Dev Center: Maintenance Modedevcenter.heroku.com · checked 2026-11-01
  3. 03Heroku Dev Center: HTTP Routingdevcenter.heroku.com · checked 2026-11-01
  4. 04How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-11-01
Free · 2 minutes

Tools point. Agencies advise. This one ships.

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

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane