500 Internal Server Error

HTTP 500 Internal Server Error: the IANA registry entry, its reference and class, what it means and what usually causes it.

Updated

HTTP 500 Internal Server Error is a registered status code in the 5xx Server Error class.

IANA registration

Field Value
Code 500
Description, as registered Internal Server Error
Reference RFC 9110, Section 15.6.1
Class 5xx Server Error

Source: IANA Hypertext Transfer Protocol (HTTP) Status Code Registry, as downloaded on December 5, 2026. The registry changes over time; the linked page is the authority.

The 5xx class

The first digit of a status code gives its class. A 5xx (Server Error) code means the server failed to fulfil an apparently valid request. 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.

What it means in practice

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

The server met an unexpected condition that stopped it from fulfilling the request. It is the general-purpose server error, used when no more specific code fits.

What usually causes it. Typical causes are an unhandled exception in application code, a syntax error in server configuration (such as an .htaccess file), a script that cannot be executed because of permissions, and a failing dependency such as a database. The response rarely says what went wrong; the server's error log does.