---
title: Create Rate Limiting rules (beta) · Cloudflare Magic Firewall docs
description: Rate limiting rules (beta) allow you to manage incoming traffic to
  your network for specific locations.
lastUpdated: 2025-09-09T15:44:21.000Z
chatbotDeprioritize: false
source_url:
  html: https://developers.cloudflare.com/magic-firewall/how-to/create-rate-limiting-rules/
  md: https://developers.cloudflare.com/magic-firewall/how-to/create-rate-limiting-rules/index.md
---

Rate limiting rules (beta) allow you to manage incoming traffic to your network for specific locations.

This guide will teach you how to create a rule for when incoming packets match, and in cases where your rate exceeds a certain value (in packets or bits).

Note

For Advanced Magic Firewall customers, rate limiting (beta) is available by request through the account team.

## Add a rule

To add a rule:

1. In the Cloudflare dashboard, go to the **Magic Firewall** page.

   [Go to **Magic Firewall**](https://dash.cloudflare.com/?to=/:account/network-security/magic_firewall)

2. On the sidebar, select **Rate limiting**.

3. Fill out the information for your new rule:

   * Select the **Field**: At the moment, you can only choose a [colo name](https://developers.cloudflare.com/ruleset-engine/rules-language/fields/magic-firewall/).
   * Select the **Operator**: Choose among **equals** or **is in**.
   * Select the **Value**.

4. When you are done, select **Add new rule**.

## Edit an existing rule

To edit a rule:

1. In the Cloudflare dashboard, go to the **Magic Firewall** page.

   [Go to **Magic Firewall**](https://dash.cloudflare.com/?to=/:account/network-security/magic_firewall)

2. On the sidebar, select **Rate limiting**.

3. Locate the rule you want to edit in the list and select **View**.

4. Edit the rule with your changes and select **Add new rule**.

## Delete an existing rule

To delete an existing rule:

1. In the Cloudflare dashboard, go to the **Magic Firewall** page.

   [Go to **Magic Firewall**](https://dash.cloudflare.com/?to=/:account/network-security/magic_firewall)

2. On the sidebar, select **Rate limiting**.

3. Locate the rule you want to delete from the list.

4. From the end of the row, select **Delete**.

5. Select **Delete** again to confirm deletion.
