# 405 Method Not Allowed

> HTTP 405 Method Not Allowed: the IANA registry entry, its reference and class, what it means and what usually causes it.

Source: https://networkutility.org/http-status/405/  
Section: HTTP status codes  
Updated: 2026-12-05

HTTP 405 Method Not Allowed is a registered status code in the 4xx Client Error class.

## IANA registration

| Field | Value |
| --- | --- |
| Code | 405 |
| Description, as registered | Method Not Allowed |
| Reference | [RFC 9110, Section 15.5.6](https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.6) |
| Class | 4xx Client Error |

Source: [IANA Hypertext Transfer Protocol (HTTP) Status Code Registry](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml), as downloaded on December 5, 2026. The registry changes over time; the linked page is the authority.

## The 4xx class

The first digit of a status code gives its class. A 4xx (Client Error) code means the request contains bad syntax or cannot be fulfilled. A client that does not recognize a particular code can treat it as the x00 code of its class. The classes are defined in [RFC 9110, Section 15](https://www.rfc-editor.org/rfc/rfc9110.html#section-15).

## What it means in practice

*This section is written by Network Utility. It is not part of the IANA registry.*

The server knows the request method, but the target resource does not support it. The response must include an Allow header listing the methods that are supported.

**What usually causes it.** Typical causes are sending POST to a URL that only serves GET (such as a static file), calling an API endpoint with the wrong verb, and a web server or proxy configured to reject methods such as PUT or DELETE.
