No. This is a false absolute in both directions. Google’s own Search Central guidance on handling discontinued and out-of-stock products explicitly lays out multiple acceptable approaches, and which one is correct depends on context: whether the product is likely to come back in stock, and whether the page still has value beyond the specific SKU it represents. There is no universal rule that says “never 404 a product page,” and there is equally no rule that says “404ing out-of-stock pages always hurts rankings.”
The actual answer: it’s conditional, not universal
Google’s guidance on out-of-stock and discontinued products gives site owners a decision tree, not a single mandate. The core distinction is temporary unavailability versus permanent discontinuation.
If a product is temporarily out of stock and restock is likely, Google recommends keeping the page live. Return a normal 200 status, clearly mark the item as out of stock, and ideally offer a restock notification option, alternative products, or related items. This preserves the URL’s accumulated signals (backlinks, historical ranking, indexing) for a page that will have renewed value once inventory returns. 404ing a page in this scenario is the actual mistake, not because 404s are inherently harmful, but because you’d be discarding a URL you’re going to want again shortly.
If a product is permanently discontinued and has no realistic path back, Google explicitly sanctions returning a 404 or 410 status. Google’s documentation says a well-handled “not found” page, one that clearly communicates the product is gone and offers a path to related products or categories, is a legitimate and expected outcome. There’s no penalty framing attached to this in Google’s guidance. A 410 (Gone) is slightly more explicit than a 404 (Not Found) in signaling permanence, and Google has said both are treated similarly for removal from the index, with 410 sometimes processed a touch faster, though this isn’t a meaningful ranking lever either way.
Why “preserve every URL forever” isn’t the right universal rule
The instinct behind “never delete a page” usually comes from a legitimate concern: URLs accumulate backlinks, internal link equity, and historical relevance signals, and losing that seems wasteful. That concern is valid when the page in question retains some ongoing utility, informational value, category relevance, or realistic restock prospects.
But it stops being valid when the page represents a product that will never exist on the site again and has no substitute content to serve. Keeping a stale, permanently dead product page alive with a 200 status doesn’t preserve value, it accumulates a poor user experience (visitors landing on a page for something they can’t buy, with no clear next step) and can contribute to the kind of thin, non-useful content Google’s helpful content guidance discourages when done at scale across a catalog. Google engineers, including John Mueller, have repeatedly pushed back publicly on the idea that “more indexed URLs” or “never removing pages” is inherently good for a site; the emphasis is consistently on whether a page serves a real purpose right now.
There’s also a practical crawl-budget and index-bloat angle for larger catalogs. A site with tens of thousands of permanently dead product URLs left live at 200 status is asking Google to keep crawling and evaluating pages that offer nothing, which is a worse use of crawl attention than for a smaller, cleaner set of pages that are genuinely live or cleanly retired.
Why “always 404 out-of-stock” isn’t right either
The opposite blanket policy, 404 or remove any page the moment inventory hits zero, is also wrong under Google’s own guidance, and it’s a more common mistake in practice because it’s operationally simpler to automate (“if stock = 0, unpublish”). The problem is that most out-of-stock situations are temporary. Seasonal items, supply-chain delays, and popular items awaiting restock are the norm in most catalogs, not the exception.
404ing these pages throws away:
- Accumulated backlinks pointing at that specific product URL
- Historical ranking signals and click-through data tied to that URL
- Internal link equity flowing from category and related-product pages
- The ability for a returning customer or a bookmark/share link to land on a working page
When the page comes back in stock later (or the same URL is reused for a near-identical restocked SKU), you’re rebuilding from zero instead of resuming from an established baseline. This is the scenario Google’s guidance is most directly warning against: don’t 404 something you’re going to want back.
What to do about it in practice
Segment your catalog decision by expected outcome rather than applying one rule everywhere:
Likely to restock, or uncertain: Keep the page at a 200 status. Clearly label it out of stock in the visible content (not just via schema), and where possible offer a restock notification signup, comparable in-stock alternatives, or a link to the parent category. This keeps the page useful to visitors and preserves its accumulated signals.
Permanently discontinued, no successor product: Let it return a 404 or 410. Make sure your 404 page itself is genuinely useful, site search, links to relevant categories, maybe a short note on why the item isn’t available, rather than a generic dead end. This is explicitly fine per Google’s own documentation.
Discontinued but replaced by a near-equivalent successor product: This is the one case where a 301 redirect to the closest matching live product or category page usually beats both a live stale page and a 404, since it routes both users and link equity to something that still serves the same intent.
The decision variable that should drive your catalog policy is restock likelihood and ongoing page value, not a fixed rule in either direction. Treating “preserve everything” or “404 immediately on stock-out” as universal policy will produce worse outcomes than actually segmenting by these criteria, and it’s not what Google’s own documentation recommends.
Why this misconception is so persistent
Part of why “never 404 a product page” spreads as SEO folk wisdom is that it’s a reasonable overcorrection against a real, common mistake: sites that thoughtlessly delete pages the moment stock hits zero, without considering restock likelihood, genuinely do lose valuable signals unnecessarily. The overcorrection then hardens into an absolute rule that gets repeated without the original context attached. The same pattern shows up with a lot of SEO guidance that started as a reasonable response to a specific failure mode and then got generalized past the point where the underlying reasoning still applies.
It’s also worth being clear that Google isn’t indifferent to how a site handles this at scale. A catalog with a very large share of dead-end product pages returning 200 status with no path forward for the visitor is a worse experience than a smaller, well-curated set of live pages plus cleanly handled 404s for genuinely gone products. The out-of-stock guidance isn’t a loophole for keeping bloated inventory of dead pages alive indefinitely “just in case”; it’s specifically scoped to pages that still have a plausible reason to exist.
Checking your own catalog against this
A useful audit exercise is to sample a set of out-of-stock product pages currently live on a site and ask, for each one, whether restock is genuinely plausible within a reasonable timeframe, and whether the page currently gives a visitor something useful to do (restock notification, alternatives, category link) if it isn’t back in stock yet. Pages that fail both tests, no realistic restock and no useful next step for the visitor, are strong 404/410 candidates regardless of how long they’ve been live or how many backlinks accumulated over time. Pages that pass either test are better served staying live with clear, honest out-of-stock messaging. This segmentation exercise, done deliberately rather than by blanket policy, is what actually aligns catalog management with what Google’s own guidance describes.
Hypothetically, picture an outdoor gear retailer, “Summit Ridge Outfitters,” that automated a blanket rule years ago: any SKU hitting zero inventory gets 404’d within 24 hours. A popular seasonal tent model that reliably restocks every spring would repeatedly lose its accumulated backlinks and ranking history each winter, only to start from zero again months later when the same model came back. Segmenting the catalog by restock likelihood would likely reveal that this SKU, and others like it with a predictable seasonal pattern, should stay live at a 200 status with a restock-notification signup, while a genuinely discontinued item with no successor product would still be a legitimate 404 candidate under the same audit.