Monitory
← All guides

Guides

How to read and improve your Lighthouse score

What the four Lighthouse scores mean, why they move between runs, how to improve them and how to catch a regression after a deploy.

What a Lighthouse score is

Lighthouse is Google's audit tool. It tests a page in a lab and gives four scores from 0 to 100: Performance, Accessibility, Best practices and SEO. The report lists the biggest opportunities to speed up the page and the audits that failed in each category.

Read it the right way

  • It is a lab test, not real visitors. Core Web Vitals come from field data, and Lighthouse tests under controlled conditions. Use both.
  • Scores move by a few points between runs. Lighthouse runs on shared machines, so do not chase a one-point change. Watch the trend.
  • Mobile is the default test. A phone on a slow connection is a harder test than a desktop, and closer to what many visitors have.

Improve the score

  • Performance. Start with the opportunities listed in the report, sorted by the time they would save. Common fixes are compressing and resizing images, deferring scripts, and removing unused CSS and JavaScript.
  • Accessibility. The failed audits name the elements to fix: missing image alt text, low colour contrast, form fields without labels.
  • Best practices and SEO. Fix the failed audits one by one, from HTTPS issues to missing titles and descriptions.

Catch regressions

Most score drops come from a deploy, a new script or a heavier image, not from the code you were working on. Run Lighthouse every day, set a warning score, here 90 by default, and a failure score, here 50 by default. A drop of 10 points or more since the previous run warns you even while the score is still green, so a deploy that slows the site down does not go unnoticed.

Test more than the homepage

Test your monitored URL and a few key pages picked from your sitemap. The lowest score of all pages sets the status, so the page you forgot about cannot hide behind a good homepage.

Keep reading