DeftMerch
DeftMerch answers

Out of Stock? Keep the Page, Kill the 404

Short answer: A temporarily out-of-stock product should keep its page. Mark it OutOfStock in the schema, show the status clearly, and let Google keep it indexed. The 404 is for products that are never coming back.

Temporary versus permanent is the whole decision

The decision tree for an unavailable product has one fork, and it is time. If the product is temporarily out of stock and will return, keep the page live. Show a clear sold out message, disable the buy button or grey it out, and mark the product OutOfStock in the structured data. Google's own guidance for Merchant Center says the same thing: use the availability attribute to tell users and Google whether an item is ready to ship, temporarily out of stock, available for preorder, or backordered, and do not delete the item.

If the product is permanently gone, the answer flips. A 404 is the simplest choice, and a 410 is better because it explicitly tells search engines the page was intentionally removed, which helps Google deindex it faster than a standard 404. The one exception is a page with SEO value: organic traffic, quality inbound links, or both. That page gets a 301 redirect to the closest live product or category, because the redirect preserves link equity that a 404 would throw away.

What Google actually does with an out-of-stock page

Google can handle out-of-stock products fine, but it may treat the page as a soft 404 and drop it from search results. John Mueller has said exactly that: when Google sees something out of stock, it can assume the page is more like a soft 404 error, and drop the URL from results. That does not harm the ranking power of the whole store, only the product page itself, but a product page that drops out of results stops bringing in the demand that would have bought it when it restocked.

The defense is consistency. Merchant Center defines four availability values: in stock, out of stock, preorder, and backorder, and the schema.org mapping is InStock, OutOfStock, PreOrder, and BackOrder. The availability on the landing page, in the structured data, in the checkout, and in the Merchant Center feed all have to say the same thing. A mismatch gets the product disapproved in Merchant Center, and a disapproved product does not show in Shopping at all.

The revenue version of the same choice

Keeping the page is not just an SEO decision. A product page that stays live keeps its demand warm. Offer a back-in-stock email signup and you build a list of buyers who already decided to purchase, which is the cheapest demand a store can own. Show related products on the page and some of that demand converts today instead of waiting for the restock.

The mistake is the lazy 404: deleting the page because the product is gone this week, then rebuilding its rankings from zero when it returns. A temporarily unavailable product should live on like it was, with the user experience managed, the structured data updated, and the demand captured. The page is an asset. Treat the stockout as a pause in fulfillment, not as a reason to demolish the asset.

Keep reading: Free Shipping Thresholds: The Breakeven Math Most Stores Skip, Checkout Field Count: Cut to Eight and Stop Losing Orders.

Frequently asked questions

Should I 404 a product that is out of stock?

Only if the product is permanently discontinued. A temporarily out-of-stock product should keep its page live, marked as unavailable, so it stays indexed and can return to search and shopping results quickly when restocked. Deleting the page for a temporary stockout throws away rankings you will have to earn back.

What is the difference between 404 and 410?

A 404 means not found: the page might come back. A 410 means gone: the page was intentionally removed and will not return. Google deindexes a 410 faster than a 404, so 410 is the better choice for a product that is permanently discontinued and has no SEO value worth preserving.

What schema value marks a product out of stock?

Use the availability property in your Product schema. Set it to https://schema.org/OutOfStock for a product that is unavailable, BackOrder if you are still accepting orders for it, or PreOrder for an upcoming product. The value has to match what the page and the Merchant Center feed say, or Google will flag the mismatch.

Should I redirect a discontinued product page?

If the page has quality backlinks or organic traffic, yes. A 301 redirect to the closest live product or the parent category preserves that link equity. If the page has no SEO value, delete it and serve a 410. Check the backlink profile and the traffic in Search Console before you decide, because the redirect is for the page's value, not for sentiment.

© 2026 DeftMerch · 447 Broadway, 2nd Floor #796, New York, NY 10013 · llms.txt