---
title: "Getting started with geofences"
description: "Learn how to create geofences in Klaviyo so that you can message profiles that are near your stores and drive in-store engagement. This article walks you through creating your first geofence."
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/45194892526747"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/45194892526747.md"
locale: "en-us"
category: "Audience"
section: "Geofences"
updated: "2026-10-28"
---

# Getting started with geofences

## **You will learn**

Learn how to create geofences in Klaviyo so that you can message profiles that are near your stores and drive in-store engagement. This article walks you through creating your first geofence.

**📝 Note:** Only accounts with a mobile app can use geofencing. Your app must be on one of the following versions of the Klaviyo mobile SDKs.

| iOS SDK | v 5.2.0 or later |
| --- | --- |
| Android SDK | v 4.2.0 or later |
| React Native SDK | v 2.2.0 or later |

Additionally, your app must request that users share their location to track when they enter or exit a geofence. Klaviyo will not create geofence events for profiles who do not share their location.

## **What are geofences?**

A **geofence** is a virtual boundary, defined by a center point and radius, around a real-world physical location. Geofences allow you to track when profiles enter or exit a specific area and then message those profiles with timely, relevant, location-based messages. 

For example, you can set up a geofence with a 500 meter radius around your store. Then you can create a flow that triggers when a mobile app user enters the geofence and sends a text message with an enticing offer to visit the store. 

You can use geofences for a variety of purposes, including: 

- Triggering a flow to send real-time, location-based messages,

- Building segments of profiles that have entered geofences around your stores and sending those profiles campaigns about store-specific promotions or events,

- Creating reports and dashboards based on geofencing events to measure in-store engagement.



## **Before you begin**

1. If you have not already, confirm with your mobile app development team that your app is using the latest version of the [Klaviyo mobile SDKs](https://developers.klaviyo.com/en/docs/sdk_overview#mobile-sdks) and that it is able to track users' locations. 

2. In addition, read through our [guide to flows](https://help.klaviyo.com/hc/en-us/articles/115002774932.md) and [guide to segments](https://help.klaviyo.com/hc/en-us/articles/115005237908.md) to ensure that you are familiar with how to leverage geofencing events across Klaviyo.



## **How geofencing works in Klaviyo**

1. You create one or more geofences in the **Audience > Geofences** tab.

2. Profiles download your mobile app and share their location.

3. When a profile opens your mobile app, Klaviyo retrieves the closest 20 geofences to the profile’s current location, stores them on the device, and begins monitoring for interactions with those geofences.

4. When the device enters or exits a geofence, Klaviyo generates an event – Entered Geofence or Exited Geofence, respectively.

5. You use those events in flows, segments, and reporting to drive in-store conversion and analyze your locations' performance.



## **How to create a geofence**

**📝 Note:** Geofencing is subject to regional privacy and location-data regulations. Some regions require a minimum geofence radius or place restrictions on how location data can be used. Make sure your geofence settings comply with all applicable local laws.

To create a geofence:

1. Navigate to **Audience > Geofences.**



![Menu showing the Geofences tab under Audience](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/f5df4cab1a40f7d27fbc227900449d251a216b3d-225x159.png?auto=format)

2. Click **Create a geofence**. If you already have geofences, click **Create Geofence**.



![Geofences page showing the create geofence button](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/fb3f0e6dc5b0c2d43ce5d8604e391317581201a9-1123x213.png?auto=format)

3. Add a geofence **Name**.

4. Search for the address of your desired location in the map search bar to automatically populate the address, latitude, and longitude fields. You may also manually enter the latitude and longitude coordinates if your location does not have a defined address.

5. Define the **Radius** in meters. Values may range from 50 meters to 10,000 meters. While Klaviyo allows any value in this range, note that local regulations may require a minimum geofence radius.



![Map and form where you add the name, address, latitude, longitude, and radius for a geofence](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/19b5281a3832f0c5fe4761b9f182edcd5aa72b01-1119x731.jpg?auto=format)

6. Select which events – enter and/or exit – you would like to track for the geofence. If you select only **Enter**, Klaviyo will not generate Exited Geofence events when devices leave a geofence.



![Field where you select the events to create](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/f6666a92b2e18f62a24a1d60b5219539b883fbc8-1164x458.jpg?auto=format)

7. Click **Save**.



Once saved, the geofence will appear in both the list and map views. You can create up to 5,000 geofences in Klaviyo.

## **View and manage geofences**

You can view your geofences in two different views within the **Geofences** tab.

### **List view**

- In the **List view**, you may view a table with all of your geofences, including their name, address, and radius. Additionally, you may search or sort the table based on the geofence name.

- To edit a geofence, click on the name of the geofence OR open the three-dot menu and click **Edit**. Make your changes, then click **Save**.



![List of an account's geofences](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/33377040135a2e2c53b2d7ecc4a2aaca629db42f-1124x318.png?auto=format)

### **Map view**

- In the **Map view**, you may visualize all of your geofences on an interactive map. You can pan and zoom the map to find a specific area, or you can search for a specific address.

- To edit a geofence, click on a geofence on the map and then click **Edit** in the drawer that appears on the right. Make your changes, then click **Save**.



![Map of an account's geofences](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/8f099deec7c681594e34a733defd63a4aeebfa88-1134x755.png?auto=format)

## **Disable geofences**

On occasion, you may want to stop generating events for a specific geofence. For example, if a store closes for renovation or if an annual event ends, you likely want to turn off the geofence without fully deleting it from Klaviyo so that you do not need to recreate it in the future. 

To disable a geofence, click its name in the list view. On the edit screen, turn off **Enable geofence**, then click **Save**. To start tracking events for the geofence again, turn on **Enable geofence** and click **Save**.

![The Enable geofence toggle in the Geofence Details panel, shown in the on position.](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/437215831a2214e2fa480d097bdf3529398ebb7f-320x138.png?auto=format)

## **Geofence events** 

Depending on your geofences’ settings, Klaviyo will generate the following events when a device that is sharing its location interacts with a geofence:

- Entered Geofence - created when a device crosses into the geofence.

- Exited Geofence - created when a device leaves the geofence.



Each event includes metadata such as:

- Geofence name

- Latitude and longitude

- Radius



You then can use these events in segments, flows, or reporting, just like any other event in Klaviyo.

## **Use geofencing in flows and segments**

### **Trigger flows**

Use geofence events to send messages when customers are near your store. A few example use cases are:

- Trigger a flow off of the Entered Geofence event to send a welcome offer or in-store only deals when a profile enters the geofence around your store.

- If your in-store purchase events sync to Klaviyo, trigger a flow using the Exited Geofence event and add a profile filter to exclude purchasers. Wait a few hours and then send a message encouraging the profile to purchase online.



### **Build segments**

Create segments of profiles that have entered your geofences to identify people who have been near your retail stores. Entering a geofence does not confirm a store visit. Then use these segments to send location-specific offers to profiles.

For example, build a segment of profiles that have entered the geofence for your New York City location in the last 90 days. Then send a campaign highlighting store specific news, like upcoming events or promotions.

## Additional Resources

- [Getting started with flows](https://help.klaviyo.com/hc/en-us/articles/115002774932.md)
  Learn how to use flows, also known as automations or drip campaigns, in Klaviyo for personalized and automated communications to your customers, and learn how to set your first flow live.
- [Getting started with segments](https://help.klaviyo.com/hc/en-us/articles/115005237908.md)
  Learn how to create and use segments in Klaviyo, which are a powerful tool for understanding your audience and sending targeted messages. 
