How to Fix “Page is blocked from indexing” in Lighthouse
When Lighthouse's SEO section shows "Page is blocked from indexing" (in the Japanese report, the title is shown as "the page cannot be indexed"), open the audit and look at the "Blocking Directive Source" column. Remove whichever meta tag, HTTP response header, or robots.txt line is listed there, and the audit will pass.
This audit means the page is set to block indexing. The Chrome for Developers explanation of this audit states that search engines can only show pages in search results if those pages do not block indexing. If you added noindex on a pre-launch site or a development server and forgot to remove it in production, this audit will fail.
In my test environment, I prepared 14 pages with different ways of writing and placing noindex, ran Lighthouse on each, and checked which ones failed and which ones passed without being flagged.
The test environment was Ubuntu 24.04, Node.js 22.23.4, and Lighthouse 13.6.0 (CLI installed with npm). The browser was headless Google Chrome for Testing 153. I ran only the SEO category (--only-categories=seo) with the default mobile settings. The pages were served from 127.0.0.1 by a small Node.js server in the test environment. I did not test the Lighthouse panel in Chrome DevTools, PageSpeed Insights, or whether actual search engines index the pages.
The cause is shown in the report table
I tested with a page that had the following line in <head>:
<meta name="robots" content="noindex">
I ran Lighthouse as shown below. To get the Japanese report, add --locale=ja.
npx lighthouse http://127.0.0.1:8201/meta-noindex/ \
--only-categories=seo --locale=ja \
--output=json --output=html --output-path=./out/meta-noindex-ja \
--chrome-flags="--headless=new --no-sandbox" --quiet
The SEO score dropped from 100, when there was no noindex, to 60. When I opened the audit in the report, the meta tag causing the problem appeared directly in the table.

A single audit lowered the score by 40 points because Lighthouse 13.6.0's default configuration file gives this audit (is-crawlable) a large weight of 93/23.
How to fix each cause
Before you make changes, confirm whether you actually want this page to appear in search results. The explanation lists deciding which pages should be indexed as the first step. If you don't want the page in search results, it's fine to leave the audit failing.
The table shows one of three kinds of cause, depending on where the directive is set. Here are the cases that failed in my tests and what the table showed for each.
| Cause | Shown in the table | SEO score |
|---|---|---|
meta tag (content="noindex") |
<meta name="robots" content="noindex" /> |
60 |
meta tag (content="none") |
<meta name="robots" content="none" /> |
60 |
meta tag (uppercase NOINDEX, FOLLOW) |
<meta name="robots" content="NOINDEX, FOLLOW" /> |
60 |
meta tag (past date in unavailable_after) |
<meta name="robots" content="unavailable_after: 2025-06-30" /> |
60 |
| Response header | X-Robots-Tag: noindex |
60 |
robots.txt Disallow: / |
The robots.txt location and line | 63 |
If the table shows a <meta …> tag, remove that tag from the HTML <head>. If the tag is output by a template or CMS setting, fix the setting where it is output. none was treated the same as noindex and failed. MDN's explanation of the robots meta tag says none has the same meaning as noindex, nofollow. Values are case-insensitive, so NOINDEX also fails.
For the unavailable_after: date form, the source code of this audit in Lighthouse 13.6.0 fails the page only when the date is earlier than the time Lighthouse runs. In my tests, a page with 2025-06-30 failed, and a page with 2030-06-30 passed. A page can pass today and then start failing suddenly once the date has passed. Check whether any page, such as a time-limited campaign page, uses this directive.
If the table shows X-Robots-Tag: noindex, the cause is a header sent by the server, not the HTML. You will not find it by searching the HTML. You can confirm it by checking the headers with curl -I.
$ curl -sI http://127.0.0.1:8201/header-noindex/
HTTP/1.1 200 OK
content-type: text/html; charset=utf-8
X-Robots-Tag: noindex
Date: Tue, 17 Nov 2026 10:50:37 GMT
Connection: keep-alive
Keep-Alive: timeout=5
This header can be set by the web server, hosting settings, or application middleware. Find where it is set, and make sure it is not sent in production.
If the table shows a robots.txt location, a Disallow rule in robots.txt is blocking crawling of the page. Remove that Disallow rule, or change it so it no longer covers this page's path. For fixing syntax errors in robots.txt, see the separate article "How to Fix 'robots.txt is invalid' in Lighthouse."
The score is 63 in this case only because the robots.txt syntax audit is also included. For a page without a robots.txt (where the server returns 404), this audit was marked "not applicable" and excluded from the score. A robots.txt with Disallow: / is valid syntax, so it counts as a pass.
On the same page without any of the directives above, the audit passed and the SEO score was 100.
A pass can still hide a block on Googlebot
This audit only fails when all search engines are blocked. In the source code, it checks four bots: Googlebot, bingbot, DuckDuckBot, and archive.org_bot, in addition to the directive that does not name a bot. It only fails if all four are blocked. If only some bots are blocked, it passes and shows a warning.
On a page where I used <meta name="googlebot" content="noindex"> in place of <meta name="robots">, the SEO score stayed at 100. The audit passed, but opening it showed a warning.

Even in the Japanese report, the warning text stayed in English. In the report, this audit appeared under the group for audits that passed with warnings. Even when the score is 100, open the audit and check for this warning. The explanation also says that bot-specific directives do not fail the audit, but they can make the page harder to find, so use them with care.
When I included both <meta name="robots" content="noindex"> and <meta name="googlebot" content="index, follow">, the audit passed with a score of 100. Lighthouse gives priority to a bot-specific meta tag if one exists, so it judged Googlebot as not blocked. Instead, it showed a warning that bingbot, DuckDuckBot, and archive.org_bot were blocked.
With response headers, the result changed depending on how the bot name was written in X-Robots-Tag: googlebot: noindex.
| Header | Audit result |
|---|---|
X-Robots-Tag: googlebot: noindex |
Pass. No warning |
X-Robots-Tag: Googlebot: noindex |
Pass. Warning that Googlebot is blocked |
In the source code, the bot name at the start of the header is compared with the name in the list (Googlebot), and the comparison is case-sensitive. So a lowercase googlebot: is not treated as a directive for Googlebot, and no warning appeared. If your site specifies bots in headers, do not rely on the Lighthouse warning. Check the headers directly with curl -I.
noindex removed by JavaScript is missed
Lighthouse checks the meta tags after loading the page and running its JavaScript.
A page that adds <meta name="robots" content="noindex"> with JavaScript failed (score 60) even when the HTML it served had no noindex. Conversely, a page that included noindex in the served HTML and removed it with JavaScript passed (score 100). The served HTML still contained noindex.
$ curl -s http://127.0.0.1:8201/js-removes-noindex/ | grep -n robots
8:<meta name="robots" content="noindex">
9:<script>document.querySelector('meta[name="robots"]').remove();</script>
So a noindex in the served HTML is not reported if JavaScript removes it before the check. On sites such as SPAs that rewrite meta tags with JavaScript after loading, check the HTML served to curl as well.
Directives that do not fail the audit
With the following directives, the audit passed and no warning appeared.
<meta name="robots" content="nofollow">(per MDN, a directive asking crawlers not to follow links on the page)unavailable_afterwith a future dateX-Robots-Tag: googlebot: noindex(as noted above, Lighthouse does not treat this as targeting Googlebot)
In the source code, only noindex, none, a past-dated unavailable_after, and blocking through robots.txt cause a failure. This audit does not check other directives such as nofollow or noarchive.





