Sooner or later, everyone meets a page that says "404 Not Found." It is one of the most familiar messages on the internet, often dressed up with an apology or a cartoon. But what is actually going on when you see one, and is there anything you can do about it?

Here is what a 404 error means and how to handle it.

What it is

A 404 error means that the website's server was reached successfully but could not find the specific page or file you asked for.

The important detail is that the server itself answered. Your device connected to the website, the request went through, and the server replied. Its reply was simply "I could not find what you asked for." The connection worked; the particular page did not exist at that address.

This is why a 404 usually affects one page rather than a whole site. The server is up and running; it just cannot locate the one thing you requested.

Where the number comes from

The 404 is an HTTP status code, part of a system that web servers use to describe how a request went. Every time your browser asks for a page, the server sends back a short numeric code along with the content. You normally never see these codes, because a successful request quietly returns 200, meaning "OK, here you go."

The codes are grouped into families by their first digit, and that grouping tells you the kind of result:

  • 2xx means success, such as 200 OK.
  • 3xx means redirection, such as a page that has moved. See our guide to URL redirects.
  • 4xx means a problem with the request, such as 404 Not Found or 403 Forbidden.
  • 5xx means a problem on the server, such as 500 Internal Server Error.

Because 404 sits in the 4xx family, it points to an issue with the request, typically the address asked for, rather than a breakdown of the server. These codes travel over the same web protocols that also include secure connections; if you are curious how the secure version works, see what HTTPS is.

Why 404 errors happen

A 404 can be triggered by either side of the conversation. The common causes include:

  • A mistyped address. A single wrong character in a web address points to a page that does not exist, and the server reports a 404.
  • An out-of-date link or bookmark. Links elsewhere on the web, or your own saved bookmarks, may point to a page that has since been removed.
  • A moved or renamed page. Websites are reorganised over time. If a page is moved without setting up a redirect, its old address stops working.
  • A deleted page. Content is sometimes taken down entirely, leaving nothing at that address.
  • A broken link on the site itself. Even well-run sites occasionally link to their own pages incorrectly.

In short, a 404 simply means "there is nothing here." It does not, by itself, tell you whether the fault lies with you or with the website.

What to do when you hit a 404

Hitting a 404 is rarely a dead end. A few quick checks usually get you where you wanted to go:

  1. Check the address. Look carefully for typos, extra characters or missing parts. Correct it and try again.
  2. Reload the page. Occasionally a glitch causes a temporary 404. A refresh sometimes clears it.
  3. Go up a level. Trim the address back to the main site, or click through to the homepage, then navigate to what you wanted from there.
  4. Search the site. Many websites have a search box; use it to find the page under its new location.
  5. Use a search engine. Searching for the page title or topic often surfaces the current address if the page has simply moved.

If a link on another website led you to the 404, the problem almost certainly lies with that site, not your device or connection. There is little you can do except find the content another way.

A 404 is the web's way of saying "that page is not here." It is informative, not a sign that something on your end is broken.

Why custom 404 pages exist

In its raw form, a 404 is a plain, stark message. To soften the experience, most well-designed sites replace it with a custom 404 page. These often include the site's branding, a friendly note, a search box and links back to popular sections, so a visitor who hits a missing page is not left stranded.

A helpful 404 page turns a dead end into a signpost. It still reports the same underlying status code to your browser, but it guides you onward instead of leaving you stuck. The presence of a tidy 404 page is often a sign of a thoughtfully run website.

404 and the health of a website

For the people who run websites, 404 errors matter. A scattering of them is normal and unavoidable on any large site, but lots of them can signal problems: broken navigation, content removed carelessly, or links from other sites pointing to addresses that no longer work.

This is why site owners monitor their 404s and often set up redirects so that old addresses quietly send visitors to the right new page rather than a dead end. Search engines also take note, because too many broken links can frustrate users and waste the effort spent crawling a site. A well-maintained site keeps its 404s to a minimum and handles the unavoidable ones gracefully.

The bottom line

A 404 error means the server was reached but could not find the page you asked for. It is an HTTP status code in the 4xx family, which points to a problem with the request, usually a wrong, moved or deleted address, rather than a server breakdown. That is why the rest of the site normally keeps working.

When you meet one, check the address, reload, head to the homepage or search for what you wanted. And if a broken link sent you there, the fault almost always lies with that website. Far from a disaster, a 404 is simply the internet politely telling you that the page you wanted is not at that address.