User Agents

Web browsers and everyday web tech, explained

How to Get Firefox Out of Kiosk Mode

· 5 min read · Browsers

In this article
  1. What Kiosk Mode Actually Is
  2. Quick Fixes: Try These First
  3. How to Exit Kiosk Mode Set by Command-Line Flags
  4. Exiting Kiosk Mode Set by Enterprise Policies
  5. What to Do If Third-Party Kiosk Software Is Involved
  6. Common Misconceptions and Pitfalls
  7. How to Prevent Accidental Kiosk Mode in the Future
  8. Frequently Asked Questions

To get Firefox out of kiosk mode, press F11 to exit fullscreen, or press Alt+F4 to close the browser window entirely. If those don't work, the kiosk mode was likely set by a startup flag or an enterprise policy—in that case, you'll need to remove the flag or policy as described below.

What Kiosk Mode Actually Is

Kiosk mode is a restricted browsing state that hides the browser's UI (toolbar, address bar, tabs) and locks the user into a single page or app. Firefox doesn't have a built-in "kiosk mode" button like some dedicated kiosk software; instead, it's triggered by one of several mechanisms:

  • Fullscreen mode – the simplest, toggled by F11, which hides the UI but is not truly locked.
  • Command-line flags – launched with -kiosk or --kiosk to start in a locked state.
  • Enterprise policies – managed via the policies.json file or Windows Group Policy, forcing kiosk behavior.
  • Third-party kiosk software – external programs that wrap Firefox and disable closing or navigation.

Knowing which one you're dealing with is the key to getting out.

Quick Fixes: Try These First

  1. Press F11 – toggles fullscreen mode on/off. Works for the most common case.
  2. Press Esc – sometimes exits a fullscreen video or a page-enforced fullscreen.
  3. Press Alt+F4 – closes the Firefox window entirely. If you can't see a taskbar, use Alt+Tab to switch to another window first.
  4. Press Ctrl+Shift+W – closes all Firefox windows (same as quitting).
  5. Right-click on the taskbar icon – choose "Close window" or "Close all windows" if available.

If none of these work, the kiosk mode is enforced at a deeper level.

How to Exit Kiosk Mode Set by Command-Line Flags

If Firefox was started with a kiosk flag (e.g., firefox -kiosk or firefox --kiosk), the flag is only active for that session. Closing the browser and reopening it normally should clear it. However, if the flag is embedded in a shortcut or a startup script, you'll need to edit that shortcut:

  1. Right-click the Firefox shortcut (desktop, taskbar, or Start menu) and select Properties.
  2. Look at the Target field. If it ends with -kiosk or --kiosk, remove that part.
  3. Click OK and relaunch Firefox.

If the flag is in a script (like a .bat file), open the script in a text editor and remove the flag.

Exiting Kiosk Mode Set by Enterprise Policies

Administrators can force kiosk mode via Firefox's enterprise policy engine. This is common on school or work computers. To check if a policy is active:

  1. Type about:policies in the address bar and press Enter.
  2. Look for a policy named KioskMode or FullScreen under "Active Policies".
  3. If you see it, the policy must be removed by an administrator.

Removing a policy requires editing the policies.json file in the Firefox installation directory (usually C:\Program Files\Mozilla Firefox\distribution on Windows, or /usr/lib/firefox/distribution on Linux) or removing a registry key on Windows. This typically requires admin rights. If you don't have them, contact your IT department.

What to Do If Third-Party Kiosk Software Is Involved

Some kiosk setups use external software (like Kiosk Pro, Porteus Kiosk, or a custom script) that relaunches Firefox even if you close it. In that case, you're not really in Firefox's kiosk mode—you're in a locked-down operating environment. Common escape attempts:

  • Try Ctrl+Alt+Delete – on Windows, this may give you access to Task Manager to end the kiosk process.
  • Try Alt+Tab – to see if other applications are accessible.
  • Try pressing the Windows key – if the Start menu appears, you can search for "cmd" or "task manager".

If these are blocked, the kiosk software is doing its job—you'll need to reboot the machine or contact the person who set it up. There's no legitimate way to bypass a properly configured kiosk lockout.

Common Misconceptions and Pitfalls

Many people confuse kiosk mode with fullscreen mode. Fullscreen (F11) is just a UI toggle—you can still press F11 to exit. True kiosk mode disables F11 and often disables Alt+F4. If F11 doesn't work, it's not simple fullscreen.

Another misconception: pressing Esc will always exit. Esc only exits fullscreen if the page itself requested it (e.g., a video player). It won't exit a kiosk flag.

Also, note that Firefox for Android has a separate "kiosk mode" in its settings, but that's for Android devices and is different from desktop. On Android, you can exit by tapping the home button or swiping up from the bottom, depending on the device.

How to Prevent Accidental Kiosk Mode in the Future

To avoid getting stuck again:

  • Don't add -kiosk to your Firefox shortcut unless you intend to.
  • Be careful when using kiosk scripts for public displays—make sure you have a way to exit (like a hidden admin account).
  • If you're an admin, test kiosk mode in a VM before deploying.

Frequently Asked Questions

Why won't F11 exit kiosk mode?

F11 only toggles fullscreen. True kiosk mode disables that key. If F11 doesn't work, the kiosk is enforced by a flag or policy, not just fullscreen.

Can I exit kiosk mode without closing Firefox?

Usually no—kiosk mode is designed to prevent that. The only reliable way is to close the browser or remove the flag/policy.

Does Ctrl+Alt+Delete work in kiosk mode?

On Windows, Ctrl+Alt+Delete often opens a security screen that may give you access to Task Manager, but kiosk software can block it. It's worth trying.

Is there a keyboard shortcut to exit kiosk mode?

There's no universal shortcut. F11, Esc, Alt+F4, and Ctrl+Shift+W are the only ones that might work, depending on the setup.

How do I get Firefox out of kiosk mode on a Mac?

On macOS, press Cmd+Shift+W to close windows, or Cmd+Q to quit. Fullscreen is toggled with Ctrl+Cmd+F. If those don't work, check for launch flags or a managed policy.

What if the kiosk mode is from a website using the Fullscreen API?

That's not kiosk mode—it's a website requesting fullscreen. Press Esc or F11 to leave. The browser UI returns immediately.