Skip to content
5xx · Server Error

511 Network Authentication Required

The client must authenticate to the network — typically a captive portal — to gain access.

What it means

HTTP 511 Network Authentication Required means the client needs to authenticate to gain network access, rather than to access the server itself. It is meant to be returned by captive portals — the login pages on public Wi-Fi — so that software, not just humans, can recognise that a network sign-in is blocking access.

When it happens

It happens on public Wi-Fi at cafes, hotels, and airports, where a captive portal intercepts traffic until the user accepts terms or logs in.

How to fix it

  • Complete the network's sign-in or captive-portal page, then retry the request.
  • If you operate the portal, return 511 so clients can detect the captive state correctly.
  • Confirm the device has actually joined and authenticated to the network.

SEO impact

None for your site. It comes from the network layer, not your server, so it does not affect how search engines crawl your pages.

Check it with Sitewell

Find out which of your URLs return 511

Paste a list of URLs and Sitewell checks the status code of every one at once — free and without signup.

Related codes

Related guides