Feedback

Google Maps: impact on page speed

Category: Map embed

An interactive Google Map loads the Maps JavaScript and map tiles as soon as it is rendered. On many sites it sits in the footer or on a contact page where most visitors never interact with it.

On 2.8 % of the 41458 homepages measured, Google Maps is among the five heaviest third parties. Where it is, it takes a median of 157 ms of main-thread time; on the heaviest quarter of those sites it takes 233 ms or more.

2.8 %

of homepages: among the five heaviest third parties

157 ms

median main-thread time

233 ms

main-thread time on the heaviest quarter (p75)

355 KB

median transfer size

Distribution across homepages

Percentiles across 1159 homepages with Google Maps.

Percentile Main-thread time Transfer size
p25
97 ms
213 KB
Median
157 ms
355 KB
p75
233 ms
448 KB
p90
312 ms
484 KB

In context

On 21 % of the homepages where it appears, Google Maps alone uses 250 milliseconds of main-thread time or more, the mark from which Lighthouse flags third-party code.

On a typical homepage Google Maps makes up 4.9 % of the page weight.

Often loaded together with

Share of homepages with Google Maps where the other tool is also among the five heaviest third parties.

How to spot Google Maps on your page

The Maps JavaScript API loads from maps.googleapis.com, on some sites through the older maps.google.com address, and fetches the map data from there. Store locators that need search and markers justify the interactive map; a single address in the footer usually does not. A static image of the location with a link to Google Maps gives visitors the same information without loading the map engine.

How long Google Maps blocks the main thread on your own page is shown by the Total Blocking Time test.

How to reduce the impact of Google Maps

Frequently asked questions

How can I load Google Maps with less impact?

Show a static map image that links to Google Maps, or load the interactive map only on click. Load maps further down the page only when they scroll into view.

Does Google Maps affect Core Web Vitals?

An embedded Google Map is heavy for its size: the interactive map loads tiles, fonts and a large JavaScript bundle. On a contact or location page where the map is visible without scrolling it can delay LCP, and its scripts weigh on INP. A map container without a fixed height shifts everything below it once the map renders.

Method and sample: Third-Party Benchmark.

Run a free test Create a free account All third parties in the benchmark