WebmasterID logoWebmasterID
Robots & crawl control

The unavailable_after robots directive explained

unavailable_after is a Google robots directive that tells Google to stop showing a page in search results after a given date and time. This page explains the date format, where to set it, and how it differs from noindex and from removing the page.

Verified against primary sources

What unavailable_after does

unavailable_after tells Google not to show the page in search results after a date and time you specify. Before that moment the page behaves normally; after it, Google treats the page as if it were noindexed. The page itself remains on your server unless you also remove it.

It is useful for content with a known expiry, letting search visibility lapse on schedule rather than requiring you to add a noindex manually later.

How to set it

Provide a date in a supported format such as RFC 822, RFC 850, or ISO 8601. In a meta robots tag:

<meta name="robots" content="unavailable_after: 2026-12-31T23:59:59-00:00">

Or via the X-Robots-Tag header:

X-Robots-Tag: unavailable_after: 2026-12-31T23:59:59-00:00

Google must recrawl the page to pick up the directive, so set it with enough lead time. It is a Google directive; do not assume other engines honour it.

How it appears in analytics and logs

unavailable_after is an indexing directive read from your meta robots tag or X-Robots-Tag header. It does not appear in logs; its effect is that Google stops showing the page after the specified moment.

Diagnostic use case

Schedule time-limited pages — such as event listings, limited offers, or expiring articles — to drop out of search results automatically after a set date without manual cleanup.

What WebmasterID can help detect

WebmasterID reports crawler traffic rather than scheduled deindexing, so unavailable_after is context that keeps expiry-policy decisions separate from crawler-traffic analysis.

Common mistakes

Privacy and accuracy notes

unavailable_after schedules visibility of your own page. It involves no visitor data and is not an access-control mechanism.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.