
You click a link and instead of the website, a stark Cloudflare page appears: “Error 1020 — Access Denied.” A Cloudflare error 1020 fix starts with one key fact: this block was not triggered by Cloudflare itself, but by a firewall rule the site owner created. Cloudflare’s Web Application Firewall (WAF) inspected your request, decided it matched a rule designed to stop bots or abuse, and denied it before it ever reached the website’s server. This 2026 guide covers what you can do as a visitor — and what the site owner should check on their end.
This is what makes 1020 different from its neighbours. Errors like 522 or 523 mean Cloudflare could not reach a struggling origin server; 1020 means the security layer chose to refuse you. The request was judged suspicious against a specific rule — too many requests, a flagged IP, a blocked country, or bot-like behaviour. Because the rule belongs to the site owner, the permanent fix usually lives in their Cloudflare dashboard, but visitors have several proven workarounds.
What Causes Cloudflare Error 1020
- Custom WAF rules: the site owner created firewall rules that your request matched — blocking certain countries, user agents, or request patterns.
- Flagged IP reputation: your IP address appears on a blocklist, often because of previous abuse by someone else on the same network.
- VPN or proxy use: shared VPN and datacentre IP ranges are routinely flagged, since scrapers and attackers use them heavily.
- Bot-like behaviour: too many requests too fast, headless browsers, automation tools, or missing browser headers.
- Blocked cookies: Cloudflare uses cookies to distinguish humans from bots; blocking them can trigger the denial.
- Geographic restrictions: the site owner may block your country or region outright.
How to Fix Cloudflare Error 1020: 7 Steps
Step 1: Reload and rule out a glitch
Press Ctrl + R (or Cmd + R on Mac) and try once more. Occasionally a transient rule evaluation or a stale challenge token causes a one-off denial. If the error persists on the second load, move on — repeated hammering can actually extend IP-based restrictions.
Step 2: Clear cookies and cache for the site
Corrupted or stale Cloudflare cookies are a surprisingly common trigger. Press Ctrl + Shift + Delete, set the range to All time, tick cookies and cached files, and clear. Close the browser completely, reopen it, and retry. This forces a fresh verification handshake.
Step 3: Allow cookies for the site
Cloudflare needs cookies to verify you are human. In Chrome go to chrome://settings/cookies and make sure the site is allowed to save cookies; in Firefox check Settings → Privacy & Security. Also test with extensions disabled — privacy extensions sometimes block these cookies silently.

Step 4: Disable your VPN or proxy
VPN exit IPs are shared by thousands of users, and Cloudflare maintains reputation lists for them. Turn your VPN off completely and retry. If the site loads, the VPN’s IP was the problem — try a different server location with a cleaner history, or browse without the VPN for that site.
Step 5: Try a different network or browser
Switch to mobile data or another Wi-Fi network. If the error disappears, your original IP is flagged rather than your device. Likewise, test another browser to rule out an extension or a niche user-agent string tripping a rule.
Step 6: Contact the website owner
If nothing above works, the block is deliberate on their end. Send them the Ray ID shown at the bottom of the error page plus the time it happened. That lets them find your exact request in their logs. There is no visitor-side way around a rule the owner intends to keep.
Step 7 (site owners): Find the firing rule in Security Events
Open the Cloudflare dashboard → Security → Events and filter by the visitor’s Ray ID or IP. The log names the exact rule that fired. Options: narrow an over-broad rule, add an IP Access Rule allowlist entry for the legitimate visitor, or convert a hard block into a managed challenge. Our Cloudflare 520/525/526 guide covers the neighbouring error family.
How to Prevent Error 1020
Visitors: avoid free VPNs whose IPs are widely abused, keep cookies enabled for sites you trust, and do not run aggressive auto-refresh or scraping tools against protected sites. Site owners: review WAF rules quarterly — overly generic rules create false positives that cost real customers. Prefer rate limiting over hard blocks for ambiguous traffic, and monitor the Security Events log after every rule change. A quick health pass with a free website security tool helps spot misconfigurations before visitors do.
Conclusion
Error 1020 is Cloudflare doing exactly what the site owner asked: refusing a request that matched a security rule. Visitors should clear cookies, drop the VPN, and try another network; if the block stands, only the owner can lift it — and the Ray ID is the key they need. For more Cloudflare errors decoded in plain language, keep reading the KamiWeb blog.
