How to Enable or Disable Closing Warnings in Windows Terminal
Windows Terminal closing warnings are safety prompts that stop you from accidentally shutting down a window while multiple tabs are open. Starting with version 1.19, Windows Terminal shows this confirmation message whenever you close a window with more than one active tab.
Turning off this warning lets you close windows instantly, while keeping it on protects your work from sudden data loss.
To control closing warnings in Windows Terminal, go to Settings, then Interaction, and toggle “Warn when closing more than one tab.” You can also edit the settings .json file and change “confirmCloseAllTabs” to true or false.
Single-Tab vs. Multi-Tab Warning Distinction
Windows Terminal suppresses warnings when closing a single tab. The confirmCloseAllTabs setting only triggers when a window contains multiple active tabs.
Method 1Using the Settings Menu
Turning the closing warning on or off for multiple tabs is managed within the Windows Terminal settings menu. Open the app, click the down arrow, navigate to Settings, and then select the Interaction tab.Method 2Using the JSON Configuration File
Windows Terminal closing warnings can be turned off or on by editing the settings .json file directly. You can find this file in the bottom left corner of the settings menu and change the setting using a simple text editor. This approach lets you bypass the standard settings menu if you prefer working with code.
- Open the Windows Terminal settings.
- Click the Open JSON file button in the bottom left corner.

- Locate the
"confirmCloseAllTabs"property within the file.

"confirmCloseAllTabs": true
- To disable the warning, set the value to
false. To enable it, set it totrue. - Save the file to apply your changes.

Troubleshooting and Configuration Context
Persistent closing warning settings require checking for the latest application updates. Verifying version numbers resolves most configuration issues.
Consult the official Microsoft Windows Terminal documentation or the GitHub repository for comprehensive troubleshooting details and known issues.
Summary
Managing multiple tab closing warnings in Windows Terminal is possible through either the graphical settings menu or the configuration file. While single-tab closures bypass this check, these configuration methods safeguard critical working sessions.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!