# 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.

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

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](https://www.rfc-editor.org/rfc/rfc9110.html#section-15.6.1) |
| Class | 5xx Server 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 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](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 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.
