← Glossary

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.

Crawls your whole site, then keeps watching

Find broken links on your website

Detect dead links, missing images, and redirect loops before they hurt your SEO. Free, no signup required.

Check for broken links