Out-of-stock and discontinued product pages: keep or remove?
Short answer: If a product is temporarily out of stock and coming back, keep the page live, say so clearly, mark its availability as out of stock or back order, and offer alternatives or a restock alert. If it's discontinued but has a close successor, redirect permanently to that successor. If it's discontinued with no real replacement and the page has no lasting value, let it return 404 or 410; Google removes URLs returning 4xx codes from its index over time. Keep a discontinued page live only when it still helps customers, for example with manuals or spare parts.
Every online shop eventually faces the same tidy-up question: what to do with product pages for things you can't sell right now. Delete them and you lose any search visibility and links they built; keep them all and customers land on dead ends. The answer depends on two facts: is the product coming back, and is there a sensible replacement? The decision path below works through it.
Question 1: Will the product be available again?
Yes, within weeks or months → go to Question 2.
No, it's discontinued for good → go to Question 3.
Not sure → treat it as temporary for now and review in a set period, say 90 days. Undecided pages tend to stay in limbo for years.
Question 2: Temporarily out of stock: keep the page, but make it useful
Keep the URL live with a normal 200 status. Removing and re-adding the page every time stock runs out throws away its history and breaks links people have shared.
Make the page honest and helpful:
- State availability near the price and button, not only in small print: "Out of stock: expected back mid-December" if you know, or simply "Currently out of stock".
- Offer a back-in-stock email so the visit isn't wasted.
- Show close alternatives above the fold: same product in another size or colour, or a comparable item.
- Allow pre-orders or back orders only if you can actually fulfil them.
Update your structured data. Google's merchant listing documentation lists the availability values it supports, including InStock, OutOfStock, BackOrder, PreOrder, PreSale, SoldOut, LimitedAvailability, InStoreOnly, OnlineOnly and Discontinued, and says not to specify more than one. Most e-commerce platforms switch this automatically when stock hits zero; check that yours does, and that the value matches what the page says. "In stock" markup on an out-of-stock page leads to frustrated clicks.
Merchandise it in your own site sensibly. Many shops push out-of-stock items to the end of category listings or hide them from filters, while keeping the page reachable by its URL. That keeps browsing pleasant without deleting anything.
Question 3: Discontinued: is there a direct successor?
Yes, a newer model or near-identical replacement → redirect permanently (301 or 308) from the old product URL to the successor. Google's redirect documentation recommends permanent server-side redirects when a URL change should be reflected in search, and treats the redirect as a signal that the target is the canonical page. Customers following old links or bookmarks arrive at the product they were most likely after.
Make the destination explain itself: a short note like "This replaces the Model 200, now discontinued" stops visitors thinking they've landed in the wrong place.
Only loosely related products, or a category → go to Question 4.
Nothing comparable → go to Question 5.
Question 4: Redirect to a category, or keep a "discontinued" page?
Redirecting a specific product to a broad category can confuse people: they searched for one thing and see forty others. Two better options:
- Keep the old page as a discontinued page that says so plainly, mark availability as Discontinued, and link to the two or three closest alternatives and the category. This works well when people still search for the old product by name.
- Redirect to a narrower category or collection if it clearly matches what the old product was, such as "Waterproof walking boots" for a discontinued waterproof boot.
Avoid sending every discontinued product to the homepage. It rarely matches what the visitor wanted.
Question 5: No replacement: remove, or keep for support?
Keep it live if it still helps existing customers. Products with manuals, spare parts, compatible accessories, care instructions or warranty information keep attracting owners. A discontinued page with "No longer sold: here are the manual and spare parts" is genuinely useful.
Otherwise, remove it. Let the URL return 404 (not found) or 410 (gone). Google's HTTP status code documentation explains that all 4xx codes except 429 are treated the same way: Google is told the content doesn't exist, URLs already in the index are removed, and Google stops using the URL over time. In practice, 404 and 410 lead to the same result, so use whichever your platform supports more easily.
Make your 404 page helpful: search box, popular categories, and a short line acknowledging that some products are no longer sold.
Housekeeping after any change
- Remove dead products from internal links: menus, "related products" widgets, blog posts and email templates.
- Update the sitemap so it lists only live, indexable product URLs.
- Check Google Merchant Center or marketplace feeds if you use them, so ads and listings don't point to removed pages.
- Keep a simple log of discontinued URLs and where they went, so future migrations preserve the redirects.
A quick reference
| Situation | Status | Page content |
|---|---|---|
| Out of stock, returning | 200 | Availability note, alerts, alternatives |
| Discontinued, direct successor | 301/308 to successor | Note on successor page |
| Discontinued, people still search for it | 200 | Discontinued notice, alternatives |
| Discontinued, support value | 200 | Manuals, parts, accessories |
| Discontinued, no value | 404/410 | Helpful 404 page |
FAQ
Will out-of-stock pages hurt my rankings?
A page that clearly states availability and offers alternatives is still useful to visitors. Problems arise when markup says "in stock" but the page doesn't, or when shoppers hit dead ends.
Is 410 better than 404 for discontinued products?
Google's documentation treats all 4xx codes except 429 the same way, so either works.
Should I noindex out-of-stock products?
For short-term stock-outs, usually not; the page should be findable when the product returns. Consider it only for items that are out of stock indefinitely and offer nothing else.
What about seasonal products?
Keep the same URL year after year and mark it out of stock off-season, so the page builds history rather than starting fresh each season.
If your shop has a backlog of sold-out and discontinued products, send us an export of those URLs and we'll help you sort them into keep, redirect and remove.