Out-of-Stock Products and SEO: Keep, Redirect or Remove?
What to do with out-of-stock, seasonal and discontinued products so you keep rankings and customers: keep, redirect, remove or noindex, case by case.
- Keep temporarily out-of-stock products live, marked as out of stock, with alternatives and a back-in-stock option.
- Redirect permanently discontinued products to the closest replacement or category with a 301.
- Only let a page return 404 or 410 when there is no useful replacement and the page has no links or traffic worth keeping.
- Update availability in structured data and your product feed so search results and ads show the truth.
On this page5 sections
Keep temporarily out-of-stock products live and clearly marked, redirect permanently discontinued ones to the closest alternative, and only remove pages that have no traffic, links or replacement. Getting this right protects rankings you have already earned and keeps shoppers from hitting dead ends.
What should you do in each case?
| Situation | What to do | Why |
|---|---|---|
| Out of stock, coming back | Keep live, mark out of stock, show alternatives and a back-in-stock alert | Keeps rankings and captures demand |
| Seasonal, returns next year | Keep live with “back in [season]” and related products | The page keeps its history for next season |
| Discontinued, with a replacement | 301 redirect to the replacement | Passes signals and sends shoppers somewhere useful |
| Discontinued, no replacement | 301 redirect to the closest category | Keeps shoppers in the store |
| Discontinued, no traffic or links | Let it return 404 or 410 | Nothing worth keeping |
How do you mark a product as out of stock?
Three places need to agree:
- On the page: a clear “out of stock” message, not a broken add-to-cart button.
- In structured data:
availabilityset tohttps://schema.org/OutOfStock(orPreOrder/BackOrderwhere that is true). - In your product feed: availability updated in Merchant Center so Shopping results and ads are accurate.
If the page says “out of stock” but the markup still says “in stock”, Google can flag the mismatch and you may lose rich results or Shopping visibility.
Why not just delete or noindex out-of-stock pages?
- Deleting throws away rankings, links and reviews. When the product returns, the new page starts from zero.
- Noindexing removes the page from search. When stock returns, it can take weeks to be indexed and ranked again.
- Soft 404s: a page that says “product not found” but returns a 200 status confuses search engines. Use a real 404 or a redirect instead.
What about category pages?
Out-of-stock products can clutter categories. Move them to the end of the grid, or hide them from the grid while keeping the product URL live. Avoid emptying a category completely. If a whole category is out of season, keep the page with seasonal copy and links to related categories.
How do you handle this at scale?
For large catalogues, set rules in your platform or with your developers:
- Out of stock for less than a set number of days: keep live, move down the grid
- Marked discontinued with a replacement SKU: automatic 301 to the replacement
- Discontinued with no replacement: 301 to the parent category
- Review old 404s monthly in Search Console for pages with links worth recovering
Stock handling is one of the checks in every ecommerce SEO audit we run. For the wider picture, read our product page SEO guide or see our ecommerce SEO services.
Frequently asked questions
Should out-of-stock products be removed from my store?
Not if they are coming back. Keep the page live, mark it as out of stock, show alternatives and offer a back-in-stock alert. Removing and re-adding pages throws away rankings.
Should I noindex out-of-stock products?
Usually not for temporary stock-outs. Noindexing removes the page from search, and it can take time to come back. Keep it indexed and mark availability correctly.
What should I do with discontinued products?
Redirect them with a 301 to the closest replacement product or, if there is none, to the most relevant category. If the page has no traffic, links or replacement, a 404 or 410 is fine.
Should out-of-stock products appear on category pages?
Move them to the end of the listing or hide them from the grid while keeping the product page live. That keeps the category useful for shoppers.
