Free auditStart free
GlossaryGlossary · Crawling and indexing

unavailable_after

The unavailable_after robots rule tells Google to stop showing a page after a set date and time. Accepted date formats, mistakes, and how to confirm it.

2 min
read
2
sources
Oct 31, 2026
updated
Scaplet Editorial Team
author
In one line

unavailable_after is a robots rule that sets a date and time after which Google should no longer show the page in search results. It takes a date in RFC 822, RFC 850 or ISO 8601 format. If the date is missing or invalid, Google ignores the rule.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode

At a glance

4 facts from the sources below
Page stops showing in results after the date
Effect
RFC 822, RFC 850, ISO 8601 (list not exhaustive)
Date formats
Rule is ignored
Bad or missing date
Meta tag or X-Robots-Tag header
Set as
01Check it

What the rule does

By default, content has no expiration date, so a page can appear in results indefinitely. unavailable_after adds one. Google's documentation says that after the specified date and time, the page should not be shown in search results. It also says Googlebot considerably reduces the URL's crawl rate after that point. The documentation doesn't describe a deletion or a removal process, only that the page stays out of results.
Header form, for PDFs and other files
X-Robots-Tag: unavailable_after: 2027-01-31T23:59:00Z
Meta tag form (ISO 8601)
<meta name="robots" content="unavailable_after: 2027-01-31T23:59:00Z">
02At a glance

Where it fits among your options

Situation

Content has a known end date (event, offer, listing)

Better tool
unavailable_after
Why
The expiry is set ahead of time and needs no action on the day
Situation

Page should leave results now

Better tool
noindex
Why
Keeps the page out of results, no date needed
Situation

Page is gone for good

Better tool
Remove it and return an error status
Why
The URL really no longer exists. See status codes
Situation

Page moved

Better tool
A redirect
Why
Sends users and signals to the new URL
Situation

Non-HTML file expires

Better tool
unavailable_after in X-Robots-Tag
Why
Files can't carry a meta tag
03Worth knowing

Mistakes that make it do nothing

Unparseable date

A missing or invalid date means the rule is ignored. Use ISO 8601 with an explicit timezone, such as the Z suffix.

Wrong directive spelling

The documented name uses an underscore: unavailable_after.

Expecting instant removal

The rule says when the page should stop being shown. Google has to crawl the page to read the tag, so publish it well before the date.

Forgetting to clean up

Once the date passes, decide the page's permanent fate: remove it or redirect it.

04How it works

Check it in 2 minutes

  1. 01

    Read the live tag

    Open the page, view source, and search for unavailable_after. For files, run curl -sI and look at X-Robots-Tag.

  2. 02

    Validate the date

    Confirm it parses as ISO 8601 and is in the future. A date in the past is a decision to expire the page now, so make sure that is intended.

  3. 03

    Inspect in Search Console

    Run the URL Inspection tool on the page and confirm Google can fetch it, which is required for the rule to be read.

  4. 04

    Re-check after the date

    Search for the URL with a site: query to see whether it still appears, and expect crawling to slow down.

Questions

Asked a lot.

1 questions people ask next, answered from the sources on this page.

01Does unavailable_after delete the page from my site?

No. It only tells Google when to stop showing the page in search results. The page still loads for anyone with the URL until you remove or redirect it yourself.

Sources · 2

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  1. 01Robots meta tag specifications (Google Search Central)developers.google.com · checked 2026-11-01
  2. 02Block search indexing with noindex (Google Search Central)developers.google.com · checked 2026-11-01
Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly