511

HTTP 511 Network Authentication Required

5xx Server Error

  1. Home
  2. > HTTP Status Codes >
  3. > 5xx >
  4. 511
5xx Server Error RFC 6585, Section 6

What is HTTP 511 Network Authentication Required?

The 511 (Network Authentication Required) status code indicates that the client needs to authenticate to gain network access. This is typically used by captive portals — public Wi-Fi networks that require login or acceptance of terms before granting internet access. The response should include a link to the authentication portal.

Common Use Cases

  • Captive portal authentication (Wi-Fi hotspots)
  • Corporate network authentication
  • Hotel or airport Wi-Fi login pages
Help2Code Logo
Menu