Website Errors

How to Fix Cloudflare Error 1009 (Country or Region Blocked)

Error 1009Plain English: the website's owner told Cloudflare to block visitors from your country or region — so the site refuses to load for you until the owner allows your location, no matter how many times you reload.
Quick answer: Error 1009 is a geo-block set by the site owner: your IP address geolocates to a country or region their Cloudflare security rules ban. As a visitor, try a network in an allowed country (disconnect a VPN, switch to mobile data, or change the VPN server to your home country), then contact the site owner with the Ray ID and IP from the error page and ask them to allow your IP or country. As the site owner, log in to the Cloudflare dashboard, find the blocked request under Security, then Events, and add an Allow rule for the country or IP — or soften the rule to a Managed Challenge so real people can still get through. The full steps are below.

What Error 1009 means

Cloudflare's 1xxx error family covers DNS, proxy, and security-configuration problems, and Error 1009 sits in the security corner. The page reads "Access Denied" and says your country or region is banned, with a Ray ID printed at the bottom. That wording is the whole story: the owner of the website has banned the country or region your IP address appears to come from, and Cloudflare is simply enforcing their rule. The ban is not about you personally — it is about where your connection looks like it comes from.

It helps to keep 1009 straight from its neighbors, because they look similar but need different fixes. Error 1010 bans your browser's signature (Browser Integrity Check), Error 1015 rate-limits you for too many requests, Error 1020 matches a custom WAF rule the owner wrote, and Errors 1005 or 1006 through 1008 ban your network or IP address. Only 1009 is a country-wide ban. If your page says your country or region is banned, these are the right steps; if it says anything else, look up that exact code instead.

Common causes

How to fix Error 1009 — step by step

Steps 1 through 4 are for visitors. Steps 5 and 6 are for site owners.

  1. Confirm the page is a country or region ban, not a different block. Cloudflare's Error 1009 page reads Access Denied and states that your country or region is banned — sometimes shown as Errors 1009 Access Denied: Country or region banned, with a Ray ID at the bottom. This wording matters because neighboring codes look similar: 1010 bans your browser's signature, 1015 rate-limits you, 1020 matches a custom WAF rule, and 1005 or 1006 through 1008 ban your network or IP address. If your page says your country or region is banned, you are dealing with a geo-block and the steps below apply. If it says something else, look up that exact code instead.
  2. Visitor: test whether your location is the trigger. The 1009 block is keyed to the country Cloudflare geolocates from your IP address, so check whether the site loads from a different place. Switch from Wi-Fi to mobile data, try the site in an incognito or private window with extensions off, or open it on a different device. If the site loads on mobile data but not on Wi-Fi, the blocked country is tied to one of your networks — for example a work VPN exiting in another country or a carrier whose IPs geolocate abroad. If the site fails everywhere, your whole country may be on the owner's banned list.
  3. Visitor: switch to a network in an allowed country. If you are traveling, or your VPN exits in a country the owner banned, that is the most common everyday cause. Disconnect the VPN and reload, or change the VPN server to a country you know the site allows — your home country is the safest bet. Keep the same server location for the whole session, since hopping countries mid-session can trigger fresh blocks. If you suspect your IP is geolocated incorrectly (your carrier assigns you a foreign IP), test on another network and report the wrong geolocation to your internet provider.
  4. Visitor: contact the site owner and ask to be allowed. Only the site owner can remove a 1009 block — Cloudflare support cannot override a customer's own security settings. Copy the Ray ID and the IP address shown at the bottom of the error page, then reach the owner through their contact email, social accounts, or support form. Tell them you are seeing Cloudflare Error 1009 (country or region banned), include your IP and Ray ID, and ask them to allow your IP address or your country. The Ray ID lets them find the exact blocked request in their Security Events log, which makes their job much faster.
  5. Site owner: allow the visitor's country or IP under Security rules. Log in to the Cloudflare dashboard, select the domain, and go to Security, then Events to find the blocked request by its Ray ID — this shows which rule fired and the country Cloudflare detected. Then go to Security, then IP Access Rules (or your WAF custom rules, depending on your plan) and add an Allow rule: by country for everyone in that country, or by the specific IP address for a single visitor. Save the rule, then have the visitor reload — the block lifts immediately since the evaluation happens on the next request.
  6. Site owner: replace blanket country blocks with lighter checks. Country-wide bans often catch legitimate visitors — travelers, VPN users, mis-geolocated carrier IPs, and search engine crawlers. Instead of a hard block, change the rule's action to Managed Challenge so real people in the country can still pass by completing a verification, and reserve blocking for patterns that actually look abusive. If you must block whole countries, review the Security Events log periodically for spikes of 1009 responses and keep an allowlist for known good traffic like payment gateways, certificate authorities, and search crawlers.

Did this fix it? Quick checklist

If you are the owner and a visitor still reports 1009 after you allowed their country, double-check which rule is firing: look up their Ray ID under Security, then Events, because a second, more specific rule (for example a custom WAF rule or a lingering country entry) may be blocking them before the allow rule is evaluated. Also confirm Cloudflare's detected country matches reality — occasionally the geolocation data for an IP is stale, and the fix is to allow the actual country on the block instead of the one the visitor claims to be in.

Frequently asked questions

What does Cloudflare Error 1009 mean?

Error 1009 means access is denied because the site owner's Cloudflare security settings ban your country or region. The page reads Access Denied, lists a Ray ID, and explains that the ban is on the country or region your IP address appears to come from. The decision to block was made by the website owner, not by Cloudflare itself.

Can I fix Error 1009 myself as a visitor?

You can only work around it, not fix the rule itself. If a VPN, travel, or a mis-geolocated IP put you in a banned country, switching to a network in an allowed country makes the error disappear. But only the site owner can change the rule: contact them with the Ray ID and IP from the error page and ask them to allow your IP or country. Cloudflare support cannot override the owner's settings.

Why do I only see Error 1009 when I travel or use a VPN?

Because the block is keyed to the country Cloudflare geolocates from your IP address. At home your IP geolocates to an allowed country, so the site loads; abroad, or on a VPN server in a banned country, the same site returns 1009. Carrier networks can also geolocate incorrectly, making it look like you are in a country you have never visited.

How is Error 1009 different from Error 1020 or Error 1015?

Error 1009 bans the visitor's country or region outright, while Error 1020 means a custom WAF rule the owner wrote matched your request (it could match a path, header, or bot pattern rather than a country), and Error 1015 means you are being rate-limited for sending too many requests. The wording on the error page tells you which one you have, and the fixes are different: country blocks need an allow rule from the owner, 1020 needs the rule adjusted, and 1015 needs you to slow down.

How long does it take for an Error 1009 block to be lifted?

For a visitor switching to a network in an allowed country, the error disappears on the next page load. When the site owner adds an Allow rule for your country or IP, it takes effect on the very next request — there is no propagation delay. So once the owner confirms the rule is saved, reload the page and the site should load immediately.