Crawling and indexing
What is lastmod in a sitemap?
lastmod is the date in an XML sitemap entry that says when a page's content last changed. Google uses it to plan recrawls only if it is consistently accurate, so change it when the main content changes, not on every deploy or for a footer tweak.
How to read it
A lastmod that changes on every build teaches search engines to ignore it. A lastmod that moves only when a page's text really changes tells them which pages are worth fetching again.
Use a full date, or a date and time with a time zone. The changefreq and priority fields are ignored by Google.
Example from rankecho.io
Dated by content, read by AI crawlers
Each rankecho.io page's lastmod is the date its own content last changed, not the deploy date. On 16 November 2026 the new crawler pages carried that date while older guides kept theirs.
In 30 days Googlebot read the sitemaps 15 times, Bingbot 101 times, and OpenAI's GPTBot 92 times. The sitemap is read by AI crawlers as well as search engines, so an honest lastmod helps both.
Source: rankecho.io's Cloudflare logs, verified requests only, 17 October to 15 November 2026.
Questions people ask
What is lastmod in a sitemap?
lastmod is the date in an XML sitemap entry that says when a page's content last changed. Google uses it to plan recrawls only if it is consistently accurate, so change it when the main content changes, not on every deploy or for a footer tweak.
Should lastmod change when I edit the footer?
No. Change it when the page's main content changes.
Does Google use changefreq and priority?
No. Google ignores both and uses lastmod when it is reliable.
Related terms
Read more on rankecho.io
See it on your own site
RankEcho reads your Search Console data and asks AI assistants whether they cite you, then shows each of these numbers for your pages. The audit is free.
Definition and example checked 2026-11-16.
