Google Maps “For development purposes only”: what it means and how to fix it
A dark, washed-out map with “for development purposes only” repeated across it means Google Maps did not accept your page's request. The watermark itself is never the problem. It is Google's fallback display, and the actual reason is written in the browser console.
What you are looking at
Google's error documentation describes this state as a darkened map, or a “negative” Street View image, watermarked with the text “for development purposes only”. Google says it typically indicates a problem with either the API key or billing.
You will usually see some of these together:
- The map tiles are dimmed or greyed out, with the watermark text tiled across the whole map.
- A dialog appeared first, saying “This page can't load Google Maps correctly.” with a “Do you own this website?” link and an OK button. See what that dialog means.
- The map still pans and zooms, so it looks half-working. Markers may still appear.
- Street View, if the page uses it, shows inverted colours.
- Every visitor sees the same thing. It isn't tied to one browser, device or network.
Because the map still draws something, this is easy to miss on a contact page nobody on your team visits. Customers often notice it first.
Why it happens
Every time the Maps JavaScript API loads, Google checks the request: is there a key, does the key exist, is it allowed on this website, is the Maps JavaScript API enabled for it, and does the project behind it have working billing. If any check fails, the API logs a specific error code to the browser console and shows the degraded map instead of a normal one.
So the watermark tells you that a check failed. It doesn't tell you which one. Two sites with identical watermarks can need completely different fixes, which is why changing settings at random rarely works.
Common triggers, roughly in the order we see them:
- Billing. No billing account is linked to the Cloud project, or the linked account was closed or suspended after a failed payment.
- No key at all. A theme or plugin update dropped the key, or the key field was never filled in.
- Key restrictions. The key's website restrictions don't include the domain serving the page, often after a move to a new domain, www change or staging copy.
- API not enabled. The key exists, but the Maps JavaScript API isn't enabled on its project, or the key's API restrictions leave it out.
- A bad or old key. The key was deleted, expired, mistyped or mangled by a CMS field.
Step 1: read the console error
- 01Open the page with the broken map in Chrome, Edge or Firefox.
- 02Open the developer tools. On Windows and Linux press F12. In Chrome on a Mac press Cmd + Option + J.
- 03Select the Console tab and reload the page.
- 04Look for a red line that starts with Google Maps JavaScript API error:. The word after the colon is the error code.
It looks like this, with the code changing from site to site:
If you have never used the console before, our guide to reading Google Maps errors in the browser console walks through it step by step. If you can't open developer tools, for example on a phone, run a free scan of the page instead. It loads the page in a real browser and lists every Maps console error it records, each linked to its fix.
Step 2: match the code to the fix
| Console code | What it means | Fix guide |
|---|---|---|
| BillingNotEnabledMapError | The project has no active billing account | Re-enable billing on the project |
| MissingKeyMapError | The loader has no key parameter | Add the missing key |
| InvalidKeyMapError | Google doesn't recognise the key string | Find the key your page actually sends |
| RefererNotAllowedMapError | The key isn't allowed on this page's URL | Add the right website restriction |
| ApiNotActivatedMapError | The Maps JavaScript API isn't enabled on the project | Enable the API |
| ApiTargetBlockedMapError | The key's API restrictions exclude the Maps JavaScript API | Fix the key's API list |
| ExpiredKeyMapError | The key expired or isn't recognised yet | Replace the key |
| DeletedApiProjectMapError | The project that owned the key may have been deleted | Restore or rebuild the project |
| ProjectDeniedMapError | Google denied the request for the whole project | Check the project's status |
| OverQuotaMapError | A usage limit was exceeded | Find which limit was hit |
The full list, including the rarer client ID and App Check errors, is in the error library.
Fix the first one listed, then reload. Google checks the key before restrictions and billing, so clearing one error often reveals the next. Moving from InvalidKeyMapError to RefererNotAllowedMapError means the key is now recognised, which is progress.
If there is no console error
A watermarked map with a clean console is unusual. Check these before anything else:
- You are looking at a cached page. A page cache or CDN may still serve HTML with an old key. Clear it and test in a private window.
- The console is filtered. Make sure the level filter includes errors and the search box is empty.
- The map is an iframe embed. Errors inside a google.com/maps/embed iframe don't always show in the parent page's console. See fixing broken iframe embeds.
Website builders and plugins
On WordPress, Wix, Squarespace and Shopify, the key is usually stored in a theme setting, a maps plugin or a page builder widget, and more than one of these can load Google Maps on the same page. If you fixed the key in one place and the watermark stayed, another component is probably still loading its own copy with the old key. Our guides to page builder key fields and duplicate loaders cover where to look.
If you use the platform's built-in map block, the fix depends on whether the block asks for your own key. See platform map blocks.
Confirm it is fixed
- 01Clear any page, plugin or CDN cache.
- 02Open the page in a private window with the console open and reload.
- 03Check that the map shows full colour with no watermark, and that no Google Maps JavaScript API error lines appear.
- 04Test from a second network or device, since a key restriction fix only shows up for the domains you added.
Billing and restriction changes can take a few minutes to apply. If the watermark is still there after that, re-read the console. The error code has probably changed, and the new one points to the next fix.
Common questions
Why does Google Maps say “for development purposes only”?
Google shows the watermarked, darkened map when it rejects the page's request, typically because of a problem with the API key or billing. The browser console names the exact error, such as BillingNotEnabledMapError or RefererNotAllowedMapError.
Do I have to pay to remove the watermark?
Google Maps Platform requires a billing account linked to the project, even if your usage stays within what Google doesn't charge for. If the console shows BillingNotEnabledMapError, linking a valid billing account is the fix. If it shows a different code, billing isn't your problem.
The map was fine yesterday. What changed?
Usually one of three things: the card on the billing account failed, a plugin or theme update removed or replaced the key, or the site moved to a domain the key isn't restricted to. The console error tells you which.
Can visitors fix this on their end?
No. The error comes from the site's own Google Cloud setup. Visitors can only let the site owner know.
A scan tells you in about twelve seconds, from a clean session.