# 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.

Canonical: https://scaplet.com/errors/http/523

Guide Error · CDN and hosting

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

523 5xx · Server error

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](#what-error-523-means-and-who-causes-it)
2. [The AWS route table trap](#the-aws-route-table-trap)
3. [How to get past a 523 as a visitor](#how-to-get-past-a-523-as-a-visitor)
4. [How to fix a 523 as a site owner](#how-to-fix-a-523-as-a-site-owner)
5. [What it does to SEO](#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 with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F523%20(%22Cloudflare%20error%20523%3A%20origin%20is%20unreachable%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F523%20(%22Cloudflare%20error%20523%3A%20origin%20is%20unreachable%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F523%20(%22Cloudflare%20error%20523%3A%20origin%20is%20unreachable%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F523%20(%22Cloudflare%20error%20523%3A%20origin%20is%20unreachable%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

_01_Explained

## 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](/errors/http/521), where the origin refuses the connection, or a [522](/errors/http/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.

_02_Check 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
```

_03_How it works

## How to get past a 523 as a visitor

Cloudflare says that when most [5xx errors](/errors/http/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.

_04_Causes of a 523, where to look and the fix

## How to fix a 523 as a site owner

Cause

### Wrong origin IP

Where to look

A and AAAA records in Cloudflare DNS

Fix

Confirm the correct origin IP address is listed

Cause

### No route from a network device to the origin

Where to look

Routers, firewalls and cloud route tables between Cloudflare and origin

Fix

Troubleshoot internet routing between your origin and Cloudflare, or with the origin itself

Cause

### Overly broad private route in AWS

Where to look

VPC route tables

Fix

Add a more specific 172.64.0.0/13 route to the Internet Gateway

If none of that fixes it, Cloudflare asks your host or administrator for an MTR or traceroute from the origin web server to a Cloudflare IP address that most commonly connected to the origin before the issue, plus the connecting Cloudflare IP taken from the origin's logs. See [Cloudflare IP addresses](https://developers.cloudflare.com/fundamentals/concepts/cloudflare-ip-addresses/) for the published ranges.

If the hostname does not resolve at all, Cloudflare returns a [530](/errors/http/530) with a 1xxx code in the body instead.

_05_Explained

## 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](/seo-issues/server-errors-5xx) for how to trace the pattern and confirm recovery, and Google's documentation on how [HTTP status codes](/glossary/http-status-codes) affect its crawlers.

Questions

## Asked a lot.

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

_01_ How 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.

_02_ What 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.

_03_ What 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.

_04_ What 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. 01 [Error 523 - Cloudflare Support docs](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-523/) developers.cloudflare.com · checked 2026-10-25
2. 02 [Cloudflare 5xx errors - Cloudflare Support docs](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/) developers.cloudflare.com · checked 2026-10-25
3. 03 [Cloudflare IP addresses - Cloudflare Fundamentals docs](https://developers.cloudflare.com/fundamentals/concepts/cloudflare-ip-addresses/) developers.cloudflare.com · checked 2026-10-25
4. 04 [IANA: Hypertext Transfer Protocol (HTTP) Status Code Registry](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) iana.org · checked 2026-10-25
5. 05 [How HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) developers.google.com · checked 2026-10-25

## Keep learning

[All errors](/errors)

[Learn Cloudflare error 521: web server is down CDN and hosting errors](/errors/http/521) [Related 5xx server errors Status codes and links](/seo-issues/server-errors-5xx) [Read next Cloudflare error 522: connection timed out CDN and hosting errors](/errors/http/522) [Do Run a free site audit Free, about two minutes](/site-audit)

More in CDN and hosting errors
[Cloudflare error 521: web server is down](/errors/http/521) [Cloudflare error 522: connection timed out](/errors/http/522) [Cloudflare error 523: origin is unreachable](/errors/http/523) [Cloudflare error 524: a timeout occurred](/errors/http/524) [Cloudflare error 525: SSL handshake failed](/errors/http/525) [Cloudflare error 526: invalid SSL certificate](/errors/http/526) [Cloudflare error 530](/errors/http/530)

Terms on this page
[HTTP status codes](/glossary/http-status-codes)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

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

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
