A 404 error occurs when a user tries to access a page that doesn’t exist. Custom 404 pages improve user experience and can guide users back to relevant content. However, too many broken links can harm SEO and crawlability.