E-commerce SEO
Out-of-Stock and Discontinued Products: SEO Handling
Temporary and permanent are different problems. Treat them differently.
Stock changes are constant in e-commerce. Handled badly, they lead to lost rankings, frustrated shoppers and Merchant Center issues.
The right approach depends on whether the product is coming back.
Short answer: For temporarily out-of-stock products, keep the page live, show availability clearly, update structured data and your Merchant Center feed to out of stock, and offer alternatives or a back-in-stock option. For permanently discontinued products, redirect to a close replacement or the most relevant category if one genuinely exists; if not, return 404 or 410. Avoid redirecting everything to the home page, and remove discontinued URLs from sitemaps.
Key Takeaways
- Temporarily out of stock: keep the page, update availability everywhere.
- Discontinued with a true replacement: 301 redirect to it.
- Discontinued with no replacement: 404 or 410, or keep as an information page if it’s still useful.
- Don’t redirect everything to the home page.
- Keep structured data, feeds and visible availability consistent.
Decision table
| Situation | What to do |
|---|---|
| Temporarily out of stock | Keep the page; show availability; update markup and feed; link alternatives |
| Discontinued, direct replacement exists | 301 redirect to the replacement |
| Discontinued, similar products exist | Redirect to the most relevant category, or keep the page with clear alternatives |
| Discontinued, page still useful (manuals, specs) | Keep as an information page, clearly marked as discontinued |
| Discontinued, no value left | Return 404 or 410 and remove from sitemaps and internal links |
Keep data consistent
- Update the visible availability on the page.
- Update availability in Product structured data (merchant listing offers support an availability property).
- Update your Merchant Center feed; see out-of-stock products in Merchant Center.
- Mismatches can cause disapprovals; see availability mismatch.
Redirects: do it right
Google treats 301 and 308 redirects as strong signals that the target should be canonical. Redirect only to a page that genuinely serves the same need; Google’s site-move guidance warns against irrelevant redirects like sending everything to the home page. See canonicals and our migration checklist for redirect basics.
Categories that empty out
Google suggests noindex for categories with no items, or a 404 if the site removes the category automatically.
Frequently asked questions
Should I delete out-of-stock product pages?
Not if the product is coming back. Keep the page and show availability.
Is 404 or 410 better for discontinued products?
Both tell Google the page is gone. Use whichever your platform supports cleanly.
Can I redirect discontinued products to the home page?
Google advises against irrelevant redirects. Redirect to a genuine replacement or relevant category, or let the page 404.
Want more of your products found in search?
We fix crawling and indexing on store sites, improve category and product pages, and connect structured data with your Merchant Center feed.
Sources
- Google Search Central: Designing a URL structure for ecommerce sites
- Google Search Central: Merchant listing structured data
- Google Search Central: Redirects and Google Search
Last reviewed October 14, 2026.
