Out of Stock Product SEO: Keep, Redirect or 404
ecommerce guide, checked against Google docsA shelf-ready hello to you.
Out of stock product SEO comes down to one question: is the product coming back? If yes, keep the page and mark it out of stock. If no, redirect it to a close match or let it return a 404.
This guide gives you the rule for each case, the markup to use and the traps to avoid.
- rules come from Google documentation
- one clear choice per case
- no ranking promises
| product state | action | status |
|---|---|---|
| Back in two weeks | Keep page, mark OutOfStock | 200 |
| Ships later, orders open | Keep page, show ship date | 200 |
| Replaced by new model | 301 to new model | 301 |
| Gone, no match | Remove the page | 404 |
// example data for a made-up candle shop in Austin.
Out of Stock Product SEO in One Answer
The right move depends on one fact: whether the product will return. Everything else follows from that.
An out of stock page is a store page with no stock today. A discontinued page is a page for a product that will never come back. Those are two different jobs, and mixing them up is the most common mistake.
For a product that returns, Google says to keep the page and mark it out of stock. For a product that is gone, you choose between a 301 redirect to a close replacement and a 404 error. I walk through both below, with the markup and the checks.
One honest note first. Google publishes guidance on pausing a store, on product markup and on status codes. It does not publish one rule that covers every sold-out page. Where Google is silent, I say so and mark my view as my opinion.
Which Case Are You In?
Start with the product, not the page. Ask whether it will be on sale again, and follow the arrows.
Read the stops from left to right and stop at the first one that fits.
Will you sell it again?
yes: keep the page
Back soon?
mark OutOfStock, keep the page live
Orders open, ships later?
use BackOrder and show the date
Replaced by a new model?
301 to the new product page
Gone, but a close match exists?
301 to that match or its category
Gone, nothing close?
return a 404 or 410
// decision order is mine, built from Google Search Central pages on pausing a business, redirects and HTTP status codes and from Merchant Center Help on availability.
Most stores have far more temporary gaps than true discontinuations. A shoe size sells out, a supplier runs late, a seasonal item waits for spring. Those pages keep their history, so removing them throws away work you already did.
A real discontinuation is rarer. The supplier stops making it, the model is replaced or you drop a line. Only then do you redirect or remove.
Keep the Page When Stock Will Return
Google tells store owners to keep the page and mark the product out of stock. That is the safe default for a temporary gap.
Google’s page on pausing an online business says it is better to still allow the page and mark it out of stock. It also says not to remove out of stock products with the Removals tool. That tool hides URLs for a short time, and it is the wrong fix for a normal stock gap.
The same page says to update your structured data so it reflects current availability. If you use Merchant Center, it points you to the availability rules in that program. So the plan has three parts: keep the page, show the status to people, and tell Google through markup and your feed.
Why keep it? The page already has a URL, reviews, photos and links. A returning product then goes back on sale with all of that intact. A deleted page has to start again.
What a Good Sold-Out Page Shows
Clear status
- Say sold out or out of stock near the title
- Disable the buy button or replace it with a clear message
- Do not leave a live button that fails at checkout
A next step
- Offer an email alert for when it returns
- Show similar products in stock now
- Link up to the category
The usual content
- Keep the description, photos and specs
- Keep real reviews visible
- Keep price info only if it is still true
Honest dates
- Give a restock date only if you know it
- Say when you do not know
- Update the page when stock lands
// checklist is mine. The disabled button or sold-out text comes from Merchant Center Help on availability, and the keep-the-page advice from Google’s page on pausing a business.
Keep your product photos on the page too. A sold-out item still earns image traffic, and my guide to product image SEO covers how to name and describe those photos.
Reviews stay as well. They are real feedback about a real product, and product reviews SEO explains how to show and mark them up the right way.
Tell Google the Truth in Your Markup
Google lists the availability values you can use in Product markup. Pick the one that matches the page, and use only one.
In the merchant listing documentation, availability sits inside the Offer and is a recommended property. Google lists values such as InStock, OutOfStock, BackOrder, PreOrder and Discontinued. It adds that you should not specify more than one value.
Google’s structured data policies say the markup must be a true picture of the page. They also say not to mark up content visitors cannot see. So if the page says sold out, the markup says OutOfStock. If the page shows a buy button, the markup should not say OutOfStock.
| Page situation | Availability value | Visitor sees |
|---|---|---|
| Sold out, restock expected | OutOfStock | Sold out message |
| Orders open, ships later | BackOrder | Ship date shown |
| Not released yet | PreOrder | Release date shown |
| In stock, buy button works | InStock | Active buy button |
| Gone, page still online | Discontinued | Notice plus alternatives |
// values from Google Search Central, How To Add Merchant Listing Structured Data, checked 29 Nov 2026. The pairing with page text is my example data.
Update the markup when stock changes. Most store platforms do this on their own, but a cached page or a custom theme can leave old markup behind. Test one sold-out product after every theme change.
One more point on speed. Google’s pause page warns that slower crawling can delay Search from showing that products are unavailable. So you cannot count on instant updates. That is another reason to keep the visible page honest.
Keep Your Feed and Page Matching
If you sell through Google Shopping, the feed and the page must agree. A mismatch can get the product disapproved.
Merchant Center Help lists four availability values: in_stock, out_of_stock, preorder and backorder. For a temporary stop, it says to set out_of_stock. It also says not to delete the item to hide it. You use the pause attribute instead.
Three more rules from that page matter here. First, availability must match across the landing page, structured data, checkout and data source, because a mismatch in one of them triggers a disapproval. Second, an out of stock product should show text such as sold out, or a disabled buy button. Third, backorder and preorder items need an availability date.
The page also says not to use out_of_stock for a discontinued product. For those, you remove the product from your data source. That fits the plan above: stock gaps stay in the feed as out of stock, and dead products leave it.
Temporary gap
- Feed says out_of_stock
- Page says sold out
- Markup says OutOfStock
Discontinued
- Do not leave it as out_of_stock
- Remove it from the data source
- Then redirect or 404 the page
// from Merchant Center Help: Availability [availability], checked 29 Nov 2026.
The same advice shows up in my Black Friday SEO timeline: keep the feed, the markup and the page saying the same thing at all times.
301, 404 or 410 for Gone Products
When a product will never return, you either send visitors to a replacement or let the page end. Google gives rules for the codes, not for which one you pick.
| Option | Use it when | What Google says |
|---|---|---|
| 301 redirect | A close replacement exists | A 301 is a strong signal that the target should be processed |
| 404 error | Nothing close exists | Indexed URLs are removed, crawling slows over time |
| 410 error | You want to signal gone for good | Handled like other 4xx errors, no separate rule described |
| 302 or 307 | The move is temporary | Keeps the source page in results |
// from Google Search Central: HTTP status codes and network errors, and Redirects and Google Search, checked 29 Nov 2026.
Google’s status code page says all 4xx errors except 429 are treated the same. For Search, a previously indexed URL is removed from the index, and the crawl rate for it drops over time. The page describes no separate handling for 410.
Google’s redirect page says to use permanent redirects when you are sure the redirect will not be reverted, and temporary ones for a limited time. A discontinued product is the permanent case. A seasonal item that returns in spring is not, so do not redirect it.
Search Console help adds a calm note: a 404 is not necessarily a problem if you removed the page with no replacement. It suggests fixing only the 404s you link to yourself or list in a sitemap.
Which Redirect Target Is Right?
Google’s pages that I fetched do not say where a discontinued product should redirect. My opinion: send people to the closest equal, such as the new model, then to the tightest category that still makes sense.
Do not send everything to the home page. A shopper who wanted a blue kettle and lands on the home page has to start over. A 404 with helpful links is a more honest result than a redirect that goes nowhere useful.
Avoid the Soft 404 Trap
A soft 404 happens when a page looks like an error but returns a normal success code. Google flags it in Search Console.
Search Console help describes a soft 404 as a page that shows a not found message to users but returns a non-404 code. Google’s fix is to return a real 404 for truly missing pages, and to add more content to pages that do exist so they are not treated as not found.
This hits sold-out pages in two ways. One store shows a bare message that says not found but sends a 200 code. Another strips the page to a title and a grey button. Both look empty, so both risk the label.
Google’s pages I read give no time limit or rule for when a sold-out page turns into a soft 404. So I would not guess. Keep the page useful and you avoid the question.
Looks empty
- Title and a grey button only
- No description or photos
- No links to alternatives
- 200 code with a not found message
Still useful
- Full description, photos and specs
- Visible reviews
- Alert signup and similar products
- Link back to the category
// the checklists are mine, based on the soft 404 definition in Search Console Help: Page indexing report.
The Plan, Step by Step
Run these seven steps for any sold-out product. They take a few minutes each once you have the habit.
- Ask if it is coming back. Check with your supplier. If you do not know, treat it as temporary for now and set a review date.
- Show the status to people. Add a sold-out message and turn off or replace the buy button. Keep a way to join an alert list.
- Match the markup. Set availability to OutOfStock, BackOrder or PreOrder to match the page, and use only one value.
- Match the feed. Set the Merchant Center availability to the same state. Use the pause attribute instead of deleting the item.
- Keep the links. Leave the product in the category and in the sitemap while it is temporary. Add links to in-stock alternatives.
- Decide at your review date. If the product is not returning, move to a 301 or a 404.
- Clean up after a removal. Take it out of the sitemap, fix your own internal links and remove it from the feed.
The sitemap point deserves a line. Search Console help says to fix 404s that you link to yourself or list in a sitemap. So after a removal, update both places, or you keep sending Google to a page that is gone.
Protect Your Category Pages and Links
A sold-out product can leave a category thin or empty. That is a category problem as much as a product problem.
Google’s guide on ecommerce URL structure says that if a category has no items, use a noindex robots meta tag. For categories that are removed automatically when they empty, it suggests returning a 404. That advice is about categories, not products, but it shows how Google thinks about empty pages.
If one product in a category sells out, the category still has other items, so nothing changes. If every product is out, I would keep the category page for a short time and add a note. If the whole line is gone, redirect it to the closest parent category.
My guide to ecommerce category page SEO covers empty category pages in more detail. The plan for the whole store sits in my ecommerce site architecture guide, because a short chain of crawlable links makes any clean-up easier.
If old product URLs also earn links from other sites, read how I handle link reclamation. A 301 keeps the value of those links by pointing them somewhere useful.
One item sold out
Keep the product page and the category. Nothing else changes.
Whole category sold out
Keep it briefly with a note, then decide on a 301 or a noindex.
Line discontinued
301 to the nearest parent category, or let it end with a 404.
// cases are mine. The empty category rule is from Google Search Central: URL structure for ecommerce sites.
Mistakes That Cost You Traffic
These errors are easy to make and easy to fix.
Deleting every sold-out page
You lose reviews, links and history for a product that may return. Keep the page and mark it out of stock.
Redirecting everything to the home page
Shoppers land somewhere unrelated. Redirect to a close match or return a 404.
Leaving a live buy button
Visitors click, then hit an error at checkout. Disable the button or show a clear message.
Markup that says InStock
Old markup after a sell-out breaks the match rule. Test one sold-out page after each theme change.
Marking discontinued as out_of_stock
Merchant Center says to remove discontinued items from the data source instead.
A 200 page that says not found
That is the classic soft 404. Return a real 404, or add real content.
How to Check It Worked
You know it worked when the page, the markup and the feed all tell the same story.
- Open a sold-out product page and read it as a shopper would. Is the status clear?
- View the page source and find the availability value. Does it match the page?
- Run the URL Inspection tool in Search Console on one sold-out page and view the tested page.
- Check the Page indexing report for soft 404 and not found (404) rows.
- Check Merchant Center for availability mismatch warnings.
- Open a removed product URL. Does it return a 301 or a 404, not a 200?
Do this for a handful of products first. If those pass, roll the same pattern out to the rest. Google’s tools show what Google saw, not what a browser shows, so give them time after a change.
How Long It Takes and When to Get Help
Google gives no fixed time for a change in stock status to show in Search.
Google’s pause page says reduced crawling can delay Search from reflecting that products are unavailable. Larger, busy stores tend to be crawled more often than small ones, but Google gives no numbers for that. Expect days to weeks, and check Search Console rather than a calendar.
You can do most of this yourself with the checklist above. If your store has thousands of products, a theme that rewrites markup or a pile of old 404s, help can save time. My ecommerce SEO services cover product pages, markup and clean-up, and I do not promise rankings.
Out of Stock Questions
Should I delete an out of stock product page?
No, not if the product is coming back. Google says to keep the page and mark it out of stock. Delete or redirect only when the product is gone for good.
Does an out of stock page hurt my SEO?
Google’s pages I read do not say that stock status alone lowers rankings. What can hurt is a page that looks empty or broken, so Google treats it as a soft 404. Keep real content, a clear sold-out message and working links.
Should I use a 301 redirect or a 404 for a discontinued product?
Use a 301 when a close replacement exists, because Google treats a 301 as a strong signal that the target should be processed. Use a 404 or 410 when there is no replacement. Google treats all 4xx errors except 429 the same way.
Is 410 better than 404 for removed products?
Not according to Google’s page on HTTP status codes. It says all 4xx errors except 429 are treated the same, and it describes no separate handling for 410. Pick whichever your platform makes easy.
What availability value should I put in product markup?
Use the one value that matches the page, such as OutOfStock for a temporary gap or Discontinued for a product that is gone. Google says not to specify more than one value, and the markup must match what visitors see.
Can I redirect every sold-out product to the home page?
I would not. Google publishes no rule that bans it, but a redirect that sends people somewhere unrelated gives them nothing they came for. In my opinion, redirect only to a close match, or let the page return a 404.
Send Me Your Store Link. I’ll Tell You What I’d Check.
If sold-out pages are piling up as soft 404s, I can look at the cause. My cheap SEO services start from one WhatsApp message.
Sources and Last Check
- Google Search Central: Temporarily pause or disable a website (keep the page, mark out of stock, 503 warning)
- Google Search Central: Merchant listing structured data (availability values)
- Merchant Center Help: Availability (feed values and page matching)
- Google Search Central: HTTP status codes and network errors (404, 410, 301)
- Google Search Central: Redirects and Google Search (permanent and temporary redirects)
- Search Console Help: Page indexing report (soft 404 and not found)
// last checked 29 Nov 2026. Google can change these pages, so check the current wording before you act. The candle shop example is made up.