lastmod: definition and why it proves little
99Visibility Research · Updated October 21, 2026 · 4 min read
Short answer
lastmod is the optional date a publisher puts in an XML sitemap entry to say when that URL last changed. The publisher writes it, nobody verifies it, and many CMSs stamp it automatically. So it proves little on its own. Treat it as a consistency check against the visible date, schema dateModified and the HTTP Last-Modified header. It is not a lever for getting cited by AI search.
Key takeaways
- lastmod is a publisher-declared date in a sitemap, not a measured fact about the page.
- Because anyone can set it to any value, a recent lastmod proves nothing about whether the content changed.
- No AI vendor states that a page's date influences which sources it selects, as of October 2026.
- The useful job for lastmod is checking it agrees with the visible date, dateModified and the Last-Modified header.
- Bumping lastmod without changing the page games your own measurement and fixes nothing.
What lastmod means
lastmod is a tag inside each <url> entry of an XML sitemap. It holds a date, and sometimes a time, that the site owner says marks the last change to that URL.
<url>
<loc>https://example.com/pricing</loc>
<lastmod>2026-10-14</lastmod>
</url>
The key word is declared. The crawler reading the sitemap has no way to confirm the date from the tag itself. It is a claim, in the same category as a visible "Updated on" line or a schema dateModified field.
How lastmod gets set
Most sites never type a lastmod by hand. A CMS or sitemap plugin writes it, usually from the database timestamp of the last save.
That creates three common patterns:
- Accurate: the date moves only when the content changes.
- Noisy: the date moves on every save, template change or plugin update, so every URL looks fresh.
- Stale or missing: the plugin never updates it, or omits it.
You can't tell which pattern a site follows from the tag. You can only tell by comparing it with other date signals on the same page.
Why lastmod matters for AI visibility
It matters less than most GEO advice claims. Anthropic's web search tool exposes a page_age field for each result, described as when the site was last updated. Exposure is not weighting. No vendor states that the date affects which pages get selected.
The best-known supporting study is observational. A Seer Interactive study (July 2026) found 75% of cited pages had been updated within a year. It had no control group of uncited pages and read dates from publisher-declared fields, including lastmod. If most of the web carries a recent CMS-generated date, that figure tells you nothing.
One lab result points the other way. The 252,000-trial factorial study found a recent timestamp helped, but only for documents already placed in the model's context. That says nothing about whether a page gets retrieved in the first place. Treat freshness as unresolved.
What lastmod can do is expose contradictions. If the sitemap says October, the page says March and the header says last year, something in your publishing pipeline is broken. The date consistency check playbook walks through that comparison step by step.
Common misconceptions
"Update lastmod and AI will cite you"
No evidence supports this. Changing a self-declared date without changing the content is indistinguishable from spoofing, and it corrupts your own records. The question page on changing the last updated date covers this in more depth.
"A fresh lastmod fixes outdated AI answers"
If ChatGPT or Claude describes old facts with search off, the cause is the model's knowledge cutoff. No sitemap date reaches a retrieval-off answer. For answers that retrieve live, the fix is publishing the correct fact on a page crawlers can fetch. See what to do when AI describes dropped features.
"Pinging IndexNow with lastmod speeds up AI citation"
The IndexNow specification never mentions AI, and a 200 response only confirms receipt. The comparison of IndexNow and XML sitemaps explains what each one actually does.
Frequently asked questions
Is lastmod required in an XML sitemap?
No. lastmod is optional. A sitemap can list URLs with no dates at all. Including it is useful only if it is accurate, because an inaccurate date tells crawlers and your own team the wrong thing. If your CMS cannot set it reliably, a missing lastmod is more honest than one that changes on every save.
Does Google use lastmod for AI Overviews?
Google's guidance for AI Overviews and AI Mode says a page must be indexed and eligible for a snippet, and that no special optimizations are needed. It does not name lastmod as a factor for its generative features. Eligibility depends on indexing and snippet controls, not on a sitemap date.
How do I check whether my lastmod dates are accurate?
Pick a sample of URLs. For each one, compare the sitemap lastmod, the visible updated date, the schema dateModified value and the HTTP Last-Modified header. Then compare all four with when the content really changed. If a URL's dates move without content edits, your CMS is stamping saves, not changes.
Should I remove lastmod if it is unreliable?
Fix it first if you can, so it updates only on real content changes. If your platform cannot do that, removing it is reasonable. Neither choice will change whether AI engines cite you. The goal is clean records you can trust when you debug indexing or stale answers.
Sources
This page is AI-assisted. It was written from a verified evidence base and checked against our editorial policy. Engine behaviour changes often; facts are as of October 21, 2026.