Does deleting products hurt SEO?
Yes, usually. Deleting a product page leaves a 404, so any ranking that page held and any links pointing at it are lost, and Google eventually drops it entirely. The more traffic or links the page had, the more it hurts. A brand-new product nobody found yet is safe to delete; one that ranks or has been linked to is not.
The fix is almost never 'delete'. It's redirect if the product's gone for good, or keep-and-mark if it's coming back. Both hold onto the SEO value instead of binning it. The rest of this guide is how to decide which.
Why a sold-out page is still worth something
A product page that ranks has value even when the item's out of stock. It holds a position in Google, it may have links pointing at it, and it still catches people searching for that product. Bin it and all of that evaporates.
The question is never 'delete or keep'. It's 'how do I keep the value while being honest that the item's unavailable right now'.
The delete-it mistake
Deleting the product leaves a 404. Anyone who clicks your still-ranking result, or an old link, hits a dead end, and Google eventually drops the page and the equity with it. You've thrown away an asset to tidy up an admin screen.
If a product is genuinely gone forever, the move isn't delete-and-404, it's redirect. More on that below.
Temporary vs gone-for-good
Split out-of-stock into two cases. Temporarily out of stock (restocking soon): keep the page live, keep it indexed, add a clear 'back in stock soon' message and a notify-me signup. You hold the ranking and capture demand while you wait.
Discontinued for good: 301 redirect the page to the closest alternative product or its parent collection. That passes most of the link equity to a page that can still sell, instead of leaking it into a 404.
Don't orphan the ones you keep
A temporarily-out-of-stock page that you quietly unlink from every collection and menu starts to look abandoned to Google. Keep it linked from its collection while it's coming back, so it stays a normal, crawlable part of the site.
The 'notify me when back in stock' capture is the bonus here: you turn a dead-end moment into an email you can convert later.
What to do first
Pull your out-of-stock products and sort them: coming back, or gone. For the ones coming back, keep the page live and indexed with a notify-me. For the ones gone for good, 301 to the nearest relevant page. Never mass-delete into 404s.
It's ten minutes of decisions that protects rankings you already paid for in time and effort.