HTTP 501 Not Implemented — What It Means

What HTTP status code 501 Not Implemented means, when servers return it, and how to handle it correctly.

Published September 26, 2026

HTTP 501 Not Implemented means the server does not support the functionality needed to fulfil the request, such as an unknown HTTP method.

What it means

It differs from 405: the server does not recognise the method at all.

Common causes: Unsupported HTTP method; Feature not built yet; Stubbed API endpoints.

On the wire

PURGE /cache HTTP/1.1
HTTP/1.1 501 Not Implemented
Content-Type: text/plain
A typical 501 exchange.

Practical examples

Test it from the shell

curl -i https://example.com/path   # look for HTTP 501

Handling 501 in code or config

res.status(501).json({ error: 'Not implemented' })

How to fix it

Use a supported method; Implement the feature; Check API availability.

1. Reproduce: curl -i <url>
2. Confirm the status is 501
3. Apply the fix above and re-test

Common mistakes

  • Use a supported method
  • Implement the feature
  • Ignoring the response headers that explain the details.

Key takeaways

  • 501 means Not Implemented.
  • HTTP 501 Not Implemented means the server does not support the functionality needed to fulfil the request, such as an unknown HTTP method.
  • Read the response headers and logs for the exact cause.

FAQ

501 vs 405?

405 means the method is known but not allowed here; 501 means it is not supported at all.

Is 501 a client or server error?

It is a server error status code, in the 5xx class.

More HTTP articles