Skip to main content

How to Use Google Maps API Free in 2026

Is the Google Maps API free? Yes, up to a monthly allowance per SKU. The free limits, what needs billing, and how to set up and restrict your key.

Yes, up to a monthly allowance, but you must still create a billing-enabled Google Cloud project to use it. Google gives free monthly calls per SKU: 10,000 for Essentials SKUs such as Dynamic Maps, Geocoding and Autocomplete Requests, 5,000 for Pro and 1,000 for Enterprise.

The short answer

  • Free means free up to the allowance. Each SKU has its own, so using up Dynamic Maps loads does not touch your Geocoding allowance.
  • New customers get a $300 trial credit, per Google's pricing page.
  • Billing must be enabled on the project. Google's setup guide says to create a billing-enabled Cloud project before you start.
  • Restrict your key by website and by API before the site goes live. An unrestricted key can run up charges on your account.
  • Set a budget alert and API quotas. Alerts email you; quotas are what stop calls.
  • If you use StoreRocket, you will still need this key later. During the free trial StoreRocket supplies the map. After you subscribe you connect your own Google Maps or Mapbox key and pay that provider directly.

Related: What is geocoding? | Google Maps vs Mapbox | How to add a Google Maps store locator

Understanding Google Maps API Pricing in 2026

Before we dive into the technical setup, let's talk money. Google's pricing can be confusing, so here's the breakdown:

SKU-Specific Free Monthly Usage (Since March 2025)

In March 2025, Google replaced the old flat $200 monthly credit with free monthly usage for each SKU. Most Essentials SKUs include 10,000 free monthly billable events, but allowances vary by SKU. For a typical store locator:

  • Dynamic Maps (JavaScript API): 10,000 free loads/month, then $7 per 1,000
  • Static Maps: 10,000 free requests/month, then $2 per 1,000
  • Geocoding (address to coordinates): 10,000 free requests/month, then $5 per 1,000
  • Autocomplete Requests: 10,000 free requests/month, then $2.83 per 1,000

Each SKU's free monthly allowance is independent. Using 10,000 Dynamic Maps loads doesn't affect your Geocoding allowance.

When You'll Start Paying

You exceed the free tier when:

  • A SKU exceeds its own monthly free allowance
  • High-traffic pages push Dynamic Maps loads past 10,000 in a month
  • Autocomplete Requests exceed 10,000 monthly requests; terminating Place Details calls are billed separately

The catch? You must still set up billing. Google's setup guide says you must create a billing-enabled Cloud project, even when usage stays within the free allowance. If you go over, charges apply automatically.

Step-by-Step: Setting Up Google Maps API

Ready to wade through Google's setup process? Here we go.

Step 1: Create a Google Cloud Account

  1. Navigate to Google Cloud Console
  2. Sign in with your Google account (or create one)
  3. Accept the terms of service
  4. You'll land on the Cloud Console dashboard

Step 2: Create a New Project

  1. Click the project dropdown at the top of the page
  2. Click New Project
  3. Enter a project name (e.g., "My Store Locator")
  4. Select your organization (if applicable)
  5. Click Create
  6. Wait for the project to be created (this can take 30-60 seconds)

Step 3: Enable Billing (Required!)

This is the part most tutorials skip, and it's why your API key won't work.

  1. Navigate to Billing in the left sidebar
  2. Click Link a billing account
  3. If you don't have a billing account:
    • Click Create billing account
    • Enter your country and accept terms
    • Choose account type (Individual or Business)
    • Add a supported payment method
    • Complete verification

Important: You won't be charged until you exceed the free tier limits, but you MUST complete this step for the API to work.

Step 4: Enable the Maps JavaScript API

  1. Go to APIs & Services > Library
  2. Search for "Maps JavaScript API"
  3. Click on it and press Enable
  4. Also enable these related APIs if needed:
    • Geocoding API (for address search)
    • Places API (for autocomplete)
    • Routes API (for routing; the older Directions API is now labelled Legacy)

Step 5: Create Your API Key

  1. Go to APIs & Services > Credentials
  2. Click Create Credentials > API Key
  3. Your API key appears in a popup, copy it somewhere safe
  4. Click Restrict Key (critical for security!)

Step 6: Restrict Your API Key (Don't Skip This!)

Anyone who finds an unrestricted API key can run up charges on your account.

Application restrictions:

  1. Select Websites (older docs call it "HTTP referrers")
  2. Add your website domains:
     1https://yourwebsite.com/*
     2https://www.yourwebsite.com/*
    
    Test on localhost with a separate development key, so the production key never has to allow it.

API restrictions:

  1. Select Restrict key

  2. Check only the APIs you're using:

    • Maps JavaScript API
    • Geocoding API
    • Places API
  3. Click Save

Step 7: Add the Map to Your Website

Now for the actual code. Here's a basic implementation:

 1<!DOCTYPE html>
 2<html>
 3<head>
 4  <title>Store Locator</title>
 5  <style>
 6    #map {
 7      height: 500px;
 8      width: 100%;
 9    }
10  </style>
11</head>
12<body>
13  <div id="map"></div>
14
15  <script>
16    function initMap() {
17      // Create the map centered on your location
18      const map = new google.maps.Map(document.getElementById('map'), {
19        center: { lat: 40.7128, lng: -74.0060 }, // New York
20        zoom: 12
21      });
22
23      // Add a marker
24      const marker = new google.maps.Marker({
25        position: { lat: 40.7128, lng: -74.0060 },
26        map: map,
27        title: 'Our Store'
28      });
29    }
30  </script>
31
32  <script async defer
33    src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap">
34  </script>
35</body>
36</html>

Replace YOUR_API_KEY with your actual API key. Google deprecated google.maps.Marker in 2024 in favour of AdvancedMarkerElement, which needs a Map ID; the older marker still works for a simple map like this one.

Building a Store Locator on Top of the Key

A map with one marker is the easy part. A working store locator also needs address search, a location database, distance sorting, info windows and ongoing upkeep. Our guide to building a store locator with AI lists the parts and the checks. We make StoreRocket, so weigh our view with that in mind: a hosted locator such as StoreRocket covers those parts, and you only add your own Google Maps or Mapbox key after the free trial. Not sure which suits you? Contact us.

Common Gotchas and Problems

After all that setup, here's what typically goes wrong:

"This page can't load Google Maps correctly"

Causes:

  • Billing not enabled (most common)
  • API key restrictions too strict
  • Wrong API not enabled
  • Exceeded quotas

Fix: Check the browser console for specific error messages, then verify your Cloud Console settings.

"Google Maps JavaScript API error: RefererNotAllowedMapError"

Your domain isn't in the allowed referrer list. Add it to your API key restrictions, including both www and non-www versions.

Map loads but markers don't appear

Check that your latitude/longitude values are numbers, not strings:

 1// Wrong
 2{ lat: "40.7128", lng: "-74.0060" }
 3
 4// Right
 5{ lat: 40.7128, lng: -74.0060 }

Billing alerts and unexpected charges

Set up budget alerts in Google Cloud Console:

  1. Go to Billing > Budgets & alerts
  2. Create a budget based on your expected usage
  3. Set alert thresholds at 50%, 90%, and 100%
  4. In APIs & Services, set per-API quotas. Google has no automatic spending cap and alerts do not stop charges; quotas do.

StoreRocket gives businesses with several locations a store locator for their own website: import your locations from a spreadsheet, match it to your brand and paste one embed code. Create your locator with a free trial, no credit card needed.

Frequently Asked Questions

Is Google Maps API really free?

Up to an allowance, yes. Free monthly usage is set per SKU. Dynamic Maps, for example, includes 10,000 free monthly map loads. You must create a billing-enabled Cloud project, and you won't be charged unless you exceed the applicable allowance.

Can I use Google Maps without an API key?

Not for the Maps JavaScript API, which needs an API key. A basic embed copied from google.com/maps (Share, then Embed a map) works without one, but it shows a fixed map with no search or styling.

What happens if I exceed the free tier?

Google charges the billing account's payment method automatically. Budget alerts warn you but do not stop charges; set per-API quotas if you need a hard limit.

How do I know if I'll exceed the free tier?

Monitor usage in Google Cloud Console under APIs & Services > Dashboard. Each Dynamic Maps load is a billable event, and the SKU includes 10,000 free monthly loads.

Can I use Google Maps on multiple websites?

Yes, but each domain needs to be added to your API key's allowed referrers. All usage counts against your free tier limits for each API.

Put a store locator on your site today

Import your locations, make the locator match your website, and add it to a page the way you would add a video. No developer required.

Create your locator

7 days free · No card · No automatic charge · see a live locator first

Related Articles