Why is my IP address blocked or banned? Common causes and how to fix each one

Many IP blocks have nothing to do with anything you did. Your address is shared with other people, belongs to a VPN, or tripped a rate limit. How to read the error, work out which cause applies, and get access back, plus what site owners can do to stop blocking real users.

On this page First, find out which address is blocked

You open a site and get "Access denied", a game tells you your IP has been banned, or every page asks you to solve a puzzle. Usually the block is on the address, which other people use too.

Websites and games block IP addresses because it's the one thing every request carries. But many people can share one public IPv4 address, addresses get reassigned from one customer to the next, and a VPN server carries traffic for many strangers at once, so a block meant for someone else can land on you. The fix depends on which of the causes below applies, and the error you see is usually the best clue.

First, find out which address is blocked

Sites see your public IP, not the address in your computer's network settings (that one is private and only works inside your home network; see public vs private IP addresses). Open what is my IP on the device and network that's being blocked. It shows the address the site sees, and the ISP or organization that network belongs to.

Many connections have both an IPv4 and an IPv6 address, and a site may block one but not the other. What is my IPv6 shows whether your connection has IPv6. What is my IPv4 shows your IPv4 address only when your browser reaches it over IPv4; browsers usually prefer IPv6 when both work, so on such a connection it may say your IPv4 address isn't visible. Write down each address you find with the date and time. You'll need them if you contact the site. If you're not sure how to find addresses on a particular device, how to find your IP address covers each operating system.

If the organization shown is a VPN or hosting company rather than your ISP, you're probably connected through a VPN or proxy, and that's the address being judged.

Read the error

What you seeLikely cause
"403 Forbidden", "Access denied", or a block page naming your IPThe site or its firewall refuses requests from your address or network
A challenge page or CAPTCHA on every visitYour address has a poor reputation or belongs to a VPN or hosting network
"429 Too Many Requests" or "slow down"A rate limit: too many requests from your address in a short time
"Not available in your country" or "451 Unavailable For Legal Reasons"A country or region block
"Your IP has been banned" in a game or appA ban on the address, sometimes left from a previous user or a neighbour on a shared address
An email bounce that names a blocklistThe sending server's IP is on an email blocklist

Each status code has a defined meaning, though a 403 leaves the reason to the site. A 403 means "the server understood the request but refuses to fulfill it" (RFC 9110 §15.5.4), for whatever reason the site chooses. A 429 means you sent too many requests in a given time, and the response may include a Retry-After header saying how long to wait (RFC 6585 §4). A 451 means the server is denying access "as a consequence of a legal demand" (RFC 7725), such as a court order. Many country blocks for licensing reasons use a 403 or a custom page instead.

Cause: you share the address

Shared addresses explain many of these blocks. One public IPv4 address can be shared by:

  • everyone on the same office, school, hotel or café network;
  • every customer behind your ISP's carrier-grade NAT (CGNAT), which puts many subscribers behind one public address;
  • many phones on the same mobile carrier, which often share IPv4 addresses the same way.

When one person on a shared address sends spam, attacks a login page or cheats in a game, the site sees the address and blocks it, and the block falls on everyone else using it. RFC 6269, which describes the problems of address sharing, notes that one user who fails a number of login attempts may block out others who have not made any attempts, and "in the presence of widespread large-scale address sharing, penalty box solutions to service abuse simply will not work."

A sign of CGNAT: your router's WAN (internet) address starts with 100.64. to 100.127., the range RFC 6598 reserves for it. No public address starts that way, so the address websites see must be a different one, shared with other customers. A private WAN address (10.x, 172.16.x to 172.31.x or 192.168.x) also means the router doesn't hold your public IP: either the ISP translates again, or there's another router in front of yours.

Addresses also get reassigned. With a dynamic address, the IP you have today may have belonged to another customer last week, along with any ban it collected.

Cause: VPN, proxy or Tor exit

VPN and proxy servers carry traffic for many users from a small set of addresses, usually in hosting networks. Some of that traffic is abusive, so many sites challenge or block those addresses, and services that license content by region often restrict them. A site can see that an address belongs to a hosting company from its ASN and organization, which is one reason VPN addresses are easy to treat differently.

Tor exit relays are easier still to block, because the Tor Project publishes the list of exit addresses. Some sites block all of them.

If you're on a VPN, disconnect and try again. If the site works without it, the VPN server's address was the problem. Picking another server location sometimes helps.

Cause: rate limits

Sites limit how many requests one address can make per minute or hour, to stop scrapers and password guessing. You can hit a limit by refreshing a page many times, by running a script, by an extension that prefetches pages, or because many people behind the same shared address are using the site at once.

A 429 response is temporary. If it includes Retry-After, wait that long. If you're writing code against an API, slow down, follow Retry-After, and add backoff between retries instead of retrying straight away.

Cause: country or region blocks

Some sites only serve certain countries, usually for licensing, legal or fraud reasons. They decide your country from your IP address with geolocation, which is usually right about the country but not always. A VPN, a corporate network that routes traffic through another country, or a satellite or mobile network with a gateway abroad can all make you appear to be somewhere else. How accurate is IP geolocation explains when this happens.

If the location shown on what is my IP is in the wrong country and you're not using a VPN, tell your ISP. If the country is right and the site still blocks it, the block is deliberate and only the site can change it.

Cause: the address is on a blocklist

Some blocklists are public. Email blocklists (DNSBLs) list addresses that sent spam, were infected with malware, or belong to home connections that shouldn't send mail directly. Mail servers and some websites check them. If a bounce message names a list, check the address with the IP blacklist check and follow the delisting process on that list's own website. IP blacklist removal walks through the main lists. Fix the cause first, such as an infected device or a misconfigured mail server, or the address will be listed again.

Most website and game bans aren't on any public list. They're the site's own decision, kept in its own systems, and only the site can lift them.

How to get unblocked

Work through these in order. Steps 1-4 are things you can try yourself; 5 and 6 need the site or your ISP.

  1. Test from another network. Switch your phone from Wi-Fi to mobile data, or the other way round, and try again. If it works, the block is on the address, not on your account or device.
  2. Turn off any VPN, proxy or privacy relay, and disable browser extensions that change your traffic.
  3. Wait, if it's a rate limit. Rate limits clear on their own, and a 429 response may say how long in its Retry-After header.
  4. Try for a new address. If your ISP uses dynamic addresses, restarting the router can get you a different one, though some ISPs hand the same address back. This won't help with a static IP, and on CGNAT you'll still share an address with others. How to change your IP address covers the other options.
  5. Contact the site's support with your public IPv4 and IPv6 addresses, the exact time, and the error or reference number on the block page. Without the time, they can't find the event in their logs.
  6. Ask your ISP if the address itself is the problem: if it's listed on a blocklist, if it keeps getting banned, or if you need an address you don't share. Some ISPs will move you off CGNAT or give you a static address, sometimes for a fee.

If you run the site: how to avoid blocking real people

Blocking a single IPv4 address is a blunt tool, because the address may stand for one person or a whole network of them. A few practices reduce the damage:

  • Challenge before you ban. A CAPTCHA or proof-of-work check lets a real person through while stopping a script.
  • Put an expiry on every ban. Addresses are reassigned, so a permanent ban eventually lands on someone else.
  • Rate-limit with the right key. For IPv6, limit per /64 prefix, since one device can rotate through many addresses inside its /64. For logged-in users, limit per account. See rate limiting by IP in Express and Nginx.
  • Use network data for decisions about whole networks. The ASN and organization tell you whether an address belongs to a home ISP, a mobile carrier or a hosting provider. ASN lookup by IP shows how to get them, and IPAPI.GR returns both fields on every plan.
  • Return 429 with Retry-After for rate limits, and a clear message with a reference ID for blocks, so users can tell you what happened.
  • Make sure you're blocking the right address. Behind a load balancer or CDN, the address your app sees may be the proxy's, and a spoofed X-Forwarded-For header can make you block an innocent address. See X-Forwarded-For security.
  • If you block by country, show a page that says so. Geo-blocking a website by country covers how.

FAQ

How long does an IP ban last?

It's up to the site, and few sites say. Rate limits are meant to clear on their own, automatic bans usually expire after a set time, and bans a person applied by hand can be permanent. Public blocklists have their own removal rules. If a block doesn't clear after a day or two, contact the site.

Will a new router give me a new IP?

Sometimes. Your public address comes from your ISP, not the router. But DHCP servers identify a client by its client identifier or hardware address (RFC 2131), so a different router can be treated as a new client and given a different address. With a static IP or CGNAT, a new router doesn't change what websites see.

Note

This isn't legal advice. Rules differ between countries and services.

Using a VPN or another network is legal in most countries, but a site's terms of service may forbid getting around a ban, and the site can close your account for it. If you think the ban is a mistake, asking the site to lift it is usually faster and safer.

Why am I blocked only on mobile data?

On mobile data your phone uses your carrier's addresses, which are often shared between many subscribers. If someone else on the same shared address was blocked, you inherit it. Switching to Wi-Fi, or turning airplane mode on and off to reconnect, may give you a different address.

Check the address a site sees from your connection: what is my IP.

Look up an IP address now

Free IP lookup: location, network and bot flags, no account needed.