Skip to content
Nullgen AI Blocker

How to block Grok

How to block Grok on every device

Grok is xAI’s chat assistant, available at grok.com and through its own iPhone and Android apps. Below: how to block Grok in the browser, on phones and tablets, on your home or school network, and on managed devices.

Start a free trial

AI blocker suite for browsers, desktop, and mobile

  • Blocks prompts and AI apps
  • 100% on-device processing

Grok

AI assistants

grok.comBlocked

4 hostnames in the Nullgen catalog

Every entry also covers its subdomains, so the Grok app and API are blocked too.

What Grok connects to

These are the hostnames Grok uses for its website, its apps, and its API. Each entry is matched as a suffix — blocking grok.com also blocks every subdomain of it — so the Grok app cannot slip through on a hostname that is not listed. Shared hosts that other products need are deliberately left out.

Hostnames blocked for Grok
HostnameRole
grok.comMain website
api.x.aiApp, API, or content host
grok.x.aiApp, API, or content host
x.aiApp, API, or content host

Block Grok in the browser

Free: Nullgen browser extension

The Nullgen extension stops typing and pasting into the Grok prompt box — and into AI prompt fields on any website, including new tools that launched last week. Everything else on the page keeps working. It runs right in Chrome, Edge, Firefox, and Safari, with no DNS or policy setup.

Managed browsers: block the sites by policy

On a school or company fleet, push the hosts above as a browser policy to block the whole Grok site. These snippets use the official Chrome, Edge, and Firefox policy names.

{
    "URLBlocklist": [
        "api.x.ai",
        "grok.com",
        "grok.x.ai",
        "x.ai"
    ]
}

Chrome and Edge treat a bare hostname as the host plus every subdomain.

Need every AI tool in one file, or a .reg or macOS profile?

Open the free policy generator

Block the Grok app on phones and tablets

Nullgen mobile app

The Nullgen app blocks Grok and 100+ other AI apps and sites on the whole device with an on-device filter — the app, the website, and the API, on any network, with no DNS server to run. Included with Nullgen Pro.

Without Nullgen: Screen Time on iPhone and iPad

  1. 1Open Settings → Screen Time → Content & Privacy Restrictions and turn restrictions on. This covers Grok in Safari and in apps that use Apple’s web filter.
  2. 2Under Web Content, choose Limit Adult Websites — the setting that lets you deny grok.com by name.
  3. 3Under Never Allow, add grok.com. Safari and apps that use Apple’s web filter will refuse it.
  4. 4To keep the Grok app off the device entirely, delete it and set Installing Apps to Don’t Allow, or use Ask to Buy on a child’s Apple Account.

Without Nullgen: Family Link on Android

  1. 1Open Family Link, choose the child, then Controls → Content restrictions → Google Chrome — where Grok can be blocked by site.
  2. 2Choose Only allow approved sites, or add grok.com under Blocked sites.
  3. 3Under Controls → App limits, block the Grok app, or require approval for new installs from Google Play.

Block Grok on your home or school network

A DNS blocker such as Pi-hole, AdGuard Home, NextDNS, or pfBlockerNG blocks Grok for every device on the network — laptops, phones, consoles, and the Grok app — without installing anything on them. Subscribe to the Grok file from the public blocklist, or paste the rules directly.

AdGuard Home, uBlock Origin, and Brave rules

||api.x.ai^
||grok.com^
||grok.x.ai^
||x.ai^

DNS blocking cannot see inside a VPN or a phone on mobile data. For a block that follows the device, use the Nullgen apps or an MDM profile.

Block Grok on managed devices

Schools and companies can block Grok on every managed iPhone, iPad, laptop, and Chromebook from the MDM they already run — Intune, Jamf, Kandji, or Google Workspace — with per-person policies and an approval flow for legitimate use. Nullgen Pro provides the profiles and the dashboard; these guides walk through the setup.

About Grok

How people use Grok

Grok is xAI’s assistant. It runs as a website at grok.com and as the Grok app for iPhone and iPad. Developers can call the same models through the xAI API at api.x.ai, and the company has started shipping agent products under the Grok name. The grok.com website works without an X account, and the Grok app signs in with Google, Apple, or an email address.

What makes Grok hard to block

The standalone product is straightforward to block: grok.com, the x.ai API hosts, and the older grok.x.ai name are all here, and the Grok app uses them. The hard part is X. Grok comes from the same company family as the X social network, and x.com is not on this list because blocking it means blocking X entirely. Any Grok entry point reached from inside the X app or website uses X’s hosts rather than the ones listed here.

Whether to accept that depends on whether X is allowed on the device at all; where it is not, a separate rule for x.com (or removing the X app) closes the gap. Where X is allowed, that path stays open, and it is a trade-off this list cannot make for you.

The grok.com surface is covered by all three controls on this page: the browser extension stops typing into Grok’s prompt box, a DNS blocker stops the site and the app, and the Nullgen apps or an MDM profile follow the device. Grok’s image generation runs on the same hosts and is blocked with the chat. Because the Grok app accepts Google and Apple sign-in, there is no account to remove; blocking the hosts is the control.

Questions about blocking Grok

  • Does blocking grok.com stop Grok inside the X app?

    Not if it is reached from inside X. That path runs on X’s own hosts, which are not on this list because they are the social network itself. To remove it, block or uninstall X as well. This page covers the Grok website, the Grok app, and the xAI API. On a child’s phone, removing the X app with Screen Time or Family Link is the same step that removes that path.

  • Is the xAI API included in the Grok block?

    Yes. api.x.ai and the x.ai apex are listed, so third-party apps and scripts that call xAI’s models directly are blocked alongside the chat. Allow api.x.ai by policy if your organization has an approved integration. Developers who use the xAI API from a server are unaffected; only calls from the blocked device fail.

  • Why is grok.x.ai still on the list?

    It is the address Grok used before grok.com existed, and it still resolves. Keeping it blocked prevents a cached link or an older client from reaching the service on a hostname nobody is watching. It also still appears in older documentation and bookmarks, which is reason enough to keep it.

  • Does the free Nullgen extension block Grok?

    Yes. The free extension blocks the prompt box on Grok and on any other site where it recognizes an AI prompt, in Chrome, Edge, Firefox, and Safari. It works on the page itself, so it needs no policy and no DNS change.

  • Does this block the Grok app, not just the website?

    A DNS or device-level block does. The app talks to the same hostnames listed above, and every entry covers its subdomains, so the app cannot slip through on a hostname that is not listed. A browser policy or extension only covers the browser.

  • What happens when Grok adds a new hostname?

    The catalog is updated as vendors change, and the Nullgen apps, the extension, and the public blocklist all read from it, so a new hostname reaches every device without anyone editing a list by hand.

Block Grok today

Start with the free browser extension. Add Nullgen Pro when you need the Grok app blocked on phones, tablets, and desktops, with approvals for the people who really need it.