Free auditStart free
GuideError · CDN and hosting

Cloudflare error 523: origin is unreachable

Cloudflare error 523 means it has no route to your origin server. See the routing and DNS causes, including the AWS 172.64.0.0/13 trap, and fixes.

4 min
read
5
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
The short answer

Cloudflare error 523 means Cloudflare cannot contact your origin web server, usually because a network device between them has no route to the origin's IP address. It is a Cloudflare-defined status, not standard HTTP. Check the origin IP in your Cloudflare DNS records, then check routing, such as an overly broad AWS VPC route.

  1. What error 523 means and who causes it
  2. The AWS route table trap
  3. How to get past a 523 as a visitor
  4. How to fix a 523 as a site owner
  5. What it does to SEO
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

What error 523 means and who causes it

A 523 is a Cloudflare status, not a standard one: IANA lists 512 to 599 as unassigned. Cloudflare's documentation says it "occurs when Cloudflare cannot contact your origin web server." Unlike a 521, where the origin refuses the connection, or a 522, where it times out, a 523 says the way to the origin is missing.

Cloudflare says this typically occurs when a network device between Cloudflare and the origin does not have a route to the origin's IP address. That makes the cause a routing or address problem, which belongs to the site owner, the host or the network team. A visitor cannot change it.

02Check it

The AWS route table trap

In AWS, Cloudflare names a common cause. Cloudflare uses public IP ranges in 172.64.0.0/13, and a broad route such as 172.0.0.0/8 in a VPC route table can capture traffic meant for Cloudflare and send it to a private destination. 172.0.0.0/8 covers that public block, so a route aimed at private 172.x networks swallows it.

Cloudflare's fix is to review the VPC route tables and make sure 172.64.0.0/13 is not sent toward a private destination. If required, add a more specific route for 172.64.0.0/13 to your Internet Gateway.

Look for the broad route in a VPC route table
# List routes for a route table, then look for 172.0.0.0/8 or similar
aws ec2 describe-route-tables --route-table-ids rtb-0123456789abcdef0 \
  --query 'RouteTables[].Routes[].[DestinationCidrBlock,GatewayId]' --output table
03How it works

How to get past a 523 as a visitor

Cloudflare says that when most 5xx errors appear, the right first step is to contact the hosting provider or site administrator, and that Cloudflare Support only assists the domain owner. As a visitor you can do little beyond waiting and ruling out your own setup.
  1. 01

    Reload after a minute

    A reload costs nothing, but a 523 that persists needs the owner or host to fix the route.

  2. 02

    Try another network or device

    If the page loads on mobile data or on someone else's connection, the problem is local. If it fails everywhere, the site has the fault.

  3. 03

    Tell the site owner

    Send the exact URL, the time with your timezone and the error code. Cloudflare lists those details for owners to give a hosting provider. Add the Ray ID if the error page shows one, since Cloudflare's log tools can filter by it.

05Explained

What it does to SEO

Google treats 5xx responses as server errors: its crawlers slow down, content returned with them is ignored, and URLs already indexed are kept for a while but eventually dropped if the errors persist. A 523 reaches crawlers as a 5xx, so persistent routing faults can drop pages from the index. See 5xx server errors for how to trace the pattern and confirm recovery, and Google's documentation on how HTTP status codes affect its crawlers.

Questions

Asked a lot.

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

01How do I solve error code 523?

Confirm the origin IP in your Cloudflare A or AAAA records, then check routing between Cloudflare and the origin. In AWS, make sure no VPC route sends 172.64.0.0/13 to a private destination. Contact your host with an MTR if it persists.

02What is code 523?

A Cloudflare-specific status meaning origin is unreachable: Cloudflare cannot contact the origin web server. It is not defined in the HTTP standard.

03What is the difference between 523 and 521?

With a 521 the origin refuses Cloudflare's connection. A 523 means Cloudflare cannot contact the origin, typically because a network device has no route to its IP address.

04What is the difference between 523 and 522?

A 523 means Cloudflare cannot contact the origin, typically because a network device has no route to the origin's IP address. A 522 means Cloudflare timed out contacting it: no SYN+ACK within 19 seconds, or no acknowledgment of its request within 90 seconds after connecting.

Sources · 5

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • cloudflare.com
  • iana.org
  • google.com
  1. 01Error 523 - Cloudflare Support docsdevelopers.cloudflare.com · checked 2026-10-25
  2. 02Cloudflare 5xx errors - Cloudflare Support docsdevelopers.cloudflare.com · checked 2026-10-25
  3. 03Cloudflare IP addresses - Cloudflare Fundamentals docsdevelopers.cloudflare.com · checked 2026-10-25
  4. 04IANA: Hypertext Transfer Protocol (HTTP) Status Code Registryiana.org · checked 2026-10-25
  5. 05How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-10-25
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