What is a 500 Internal Server Error? Causes & Fixes
Definition
A 500 Internal Server Error is an HTTP status code that indicates something went wrong on the server while processing a request, but the server cannot be more specific about the problem. Unlike a 404, which says the page doesn't exist, a 500 says the server tried but failed to deliver it.
Common causes
- Application bugs — unhandled exceptions in the application code.
- Database errors — connection timeouts, query failures, exhausted connection pools.
- Misconfigured server — broken .htaccess, syntax errors in nginx/Apache configs.
- Memory or PHP/Node limits exceeded by a single request.
- Third-party API failures bubbling up as unhandled errors.
SEO impact
- Repeated 500s on the same URL cause Google to crawl less frequently and eventually drop the page from the index.
- Site-wide 500s during a Googlebot crawl can hurt overall rankings and indexing health.
- Server logs and monitoring tools should alert on 5xx spikes — they signal real problems users are also hitting.
500 errors are server-side and require developer attention — they will not resolve themselves. Scan your site to identify which URLs are returning 5xx responses, then check application logs for the root cause.
Related terms
Broken Link
A hyperlink that no longer leads to its intended destination.
HTTP Status Codes
Three-digit server response codes that indicate the result of an HTTP request.
404 Error
What happens when a page can't be found — and how it affects SEO.
301 Redirect
The permanent redirect that preserves link equity and guides users.
Crawl Budget
How search engines allocate resources to crawl your site — and why broken links waste it.
Redirect Chain
Multiple redirects in sequence that slow down pages and dilute SEO value.