HTTP 501 Not Implemented
HTTP 501 Not Implemented means the server does not support the functionality needed to fulfil the request, most often an HTTP method it does not recognise at…
Quick answer
HTTP 501 Not Implemented means the server does not support the functionality needed to fulfil the request, most often an HTTP method it does not recognise at all. It differs from 405, which means the method exists but is not allowed on that URL.
Last updated · Maintained by FreeAIToolz · How we test
What does HTTP 501 Not Implemented mean?
Servers return 501 for unknown methods (for example a custom verb) or features they do not implement. Some APIs also use it for endpoints that are planned but not built yet.
| Status code | 501 |
|---|---|
| Name | Not Implemented |
| Class | 5xx Server Error |
| Defined in | RFC 9110 §15.6.2 |
| Cacheable by default | Yes (heuristically cacheable) |
| Safe to retry automatically? | No: change the request first |
What causes HTTP 501?
- An unsupported or custom HTTP method.
- A placeholder endpoint that is not implemented.
How do I fix HTTP 501?
- Use a standard method the server supports.
- Return 405 instead if the method is known but not allowed on that route.
What should a client do after HTTP 501?
Do not retry; the server cannot do this.
Does HTTP 501 affect SEO?
Rare on public pages; affected URLs will not be indexed.
Example 501 response
HTTP/1.1 501 Not Implemented
Date: Mon, 01 Dec 2026 12:00:00 GMT
Content-Type: application/json
{"error":{"status":501,"message":"Not Implemented"}} How to return 501 Not Implemented in code
Express (Node.js)
res.status(501).json({ error: 'Not Implemented' }); Next.js route handler
return Response.json({ error: 'Not Implemented' }, { status: 501 }); FastAPI (Python)
raise HTTPException(status_code=501, detail="Not Implemented") PHP
http_response_code(501); Nginx
location = /example {
return 501;
} Other 5xx status codes
The server failed to fulfil a valid request. Retrying later, with backoff, is usually reasonable.
- 500 Internal Server Error
- 502 Bad Gateway
- 503 Service Unavailable
- 504 Gateway Timeout
- 505 HTTP Version Not Supported
- 507 Insufficient Storage
- 508 Loop Detected
- 511 Network Authentication Required
- 520 Web Server Returned an Unknown Error
- 521 Web Server Is Down
- 522 Connection Timed Out
- 523 Origin Is Unreachable
- 524 A Timeout Occurred
- 525 SSL Handshake Failed
- 526 Invalid SSL Certificate
Frequently asked questions
501 vs 405?
Is 501 temporary?
Is 501 a client or server error?
Related
- 405 Method Not Allowed HTTP 405 Method Not Allowed means the URL exists but does not support the HTTP method used, for example a POST.
- 500 Internal Server Error HTTP 500 Internal Server Error is a generic server-side failure: something went wrong in the application or se.
- 505 HTTP Version Not Supported HTTP 505 HTTP Version Not Supported means the server does not support the HTTP protocol version used in the re.
- Open the HTTP Status Codes Reference → Free, no signup.