How to Handle Out-of-Stock Product Pages for SEO

Keep the page live and returning 200 OK. If the product is coming back, leave the URL up, mark it out of stock in your Product structured data, and offer alternatives. Only remove the page โ with a 404, a 410, or a redirect to a genuinely equivalent product โ when the item is gone for good.
The decision comes down to one question
Is it coming back? Everything else follows from that.
| Situation | What to do with the URL | Status code |
|---|---|---|
| Temporarily out of stock | Keep it, mark out of stock, show restock info | 200 |
| Seasonal (returns next year) | Keep the same URL year after year | 200 |
| Discontinued, direct replacement exists | Redirect to the replacement product | 301 |
| Discontinued, no replacement | Keep it live if it has links or traffic; otherwise remove | 200 or 410 |
| Never existed (typo, bad URL) | Remove | 404 / 410 |
The single most common mistake is treating "out of stock this week" the same as "discontinued forever." They call for opposite actions.
Why deleting the page is usually the expensive mistake
A product page that has been live for three years is not just a product page. It's an accumulated asset: backlinks people built to it, internal links from your blog and category pages, reviews, and a ranking history Google has learned to trust.
Delete it and every one of those is written off. When the product returns and you publish a fresh URL, you start from zero โ and the backlinks that used to point at the old page now point at a 404, where they're doing you no good at all. Recovering that position typically costs more time and more links than simply leaving the page up would have.
If you have already deleted pages that had links pointing at them, recovering lost backlinks with a 301 redirect to the closest live equivalent is the fastest repair.
What belongs on a temporarily out-of-stock page
The page needs to keep being a useful page, not become a tombstone. Include:
- A plain statement that it's out of stock, plus a restock date if you have one. Vagueness costs you trust.
- A back-in-stock email capture. This is the highest-value thing on the page โ it converts traffic that would otherwise bounce into a list you can sell to on restock day.
- Links to genuine alternatives โ the same product in another size or colour, or two or three comparable items. This helps users and it's also what stops Google classifying the page as empty.
- Everything that was already there: description, specs, images, reviews, Q&A. Do not strip the page down to a one-line notice.
And one explicit "don't," straight from Google's ecommerce launch guidance: don't disable add-to-cart functionality as a way of stopping users from purchasing, because Google may use add-to-cart as part of verifying final price details including tax and shipping.
Mark it up properly
This is the part most sites skip. Your Product structured data carries an availability field, and it should reflect reality:
https://schema.org/InStockhttps://schema.org/OutOfStockhttps://schema.org/BackOrderhttps://schema.org/PreOrderhttps://schema.org/SoldOuthttps://schema.org/Discontinued
Keep the price and priceCurrency in place while you're at it โ stripping them can invalidate the markup entirely. Accurate availability means Google can show the correct state in rich results, which is better for you than a shopper clicking through expecting stock and finding none. If structured data is new to you, start with what is schema markup.
Why out-of-stock pages get flagged as soft 404s
Here's the failure mode. A product sells out, the template swaps the buy box for "This product is no longer available," and the page loses its description, images and reviews in the process. What's left is a near-empty page returning 200 OK โ which is the textbook definition of a soft 404. Google decides the URL has no content, drops it from the index, and you lose the rankings you were trying to protect.
The fix is the same as the advice above: keep the substance on the page. A page with a full description, specs, images, 40 reviews and links to three alternatives doesn't look empty to anyone, no matter what the buy box says.
Seasonal products: stop churning URLs
Christmas trees, Halloween costumes, ski gear. The instinct is to unpublish in February and republish in October on a new URL. Don't โ use one permanent URL per seasonal product and let it sit quietly out of stock in the off-season. A URL that has survived four Christmases carries four years of links and ranking history into the fifth. A brand-new URL published in October has none, and will spend the whole season trying to catch up to the one you deleted.
Don't mass-redirect to the category page
A tempting shortcut: 301 every discontinued product to its parent category. Google generally treats redirects to a page that isn't a close equivalent as soft 404s, so you get the worst of both worlds โ the product URL is gone and the redirect doesn't consolidate anything.
Redirect only when there's a genuine one-to-one successor: the 2025 model to the 2026 model, the discontinued colourway to the replacement colourway. Otherwise, keep the page or remove it cleanly with a 410.
The link-building side of this
Product pages are the hardest pages on any site to earn links to โ which is exactly why throwing away the ones that already have links is so costly. If you're in the position of needing to build authority to commercial URLs, the tactics in how to build links to product and pricing pages are the place to start, and Backlinkster is built for that specific problem: 1-for-1 in-content swaps with real site owners, verified live by code, so a commercial page can earn links that outreach alone rarely gets.
Frequently asked questions
Should I 404 an out-of-stock product page? Not if the product is coming back. A 404 discards the page's rankings, backlinks and history. Reserve 404 or 410 for products that are permanently gone and have nothing pointing at them.
Does being out of stock hurt my rankings? Not directly. Google doesn't demote a page for having no inventory. What hurts is the secondary damage: pages stripped to nothing get treated as soft 404s, and users who bounce straight back to the SERP send a poor engagement signal.
Should I redirect out-of-stock products to the category page? Only if there is no better option and you accept it may be treated as a soft 404. A redirect to a genuinely equivalent product is fine; a blanket redirect of everything to a category is not.
How long should I keep a discontinued product page live? As long as it earns attention. If it still gets search traffic or holds backlinks, leave it up with clear "discontinued" messaging and links to successors. If it has had no traffic and no links for a year, remove it with a 410.
Does out-of-stock structured data remove my rich results? It changes them rather than removing them โ Google can show the out-of-stock state. Misreporting availability to keep a rich result is worse: it breaks trust with shoppers and risks your markup being ignored entirely.
Related: What is a soft 404? ยท What is a 301 redirect? ยท Do backlinks to a 404 page count? ยท How to recover lost backlinks ยท How to build links to product and pricing pages
