Close all open tabs at once in Notepad++

Use a single keyboard shortcut to close every open tab in Notepad++ and be prompted to save any unsaved files before they close.

What the video covers

Windows / Notepad++

Watch the video on YouTube

Step-by-step instructions

  1. Activate Notepad++
    Make sure Notepad++ is the active application and you can see your open tabs.
  2. Use the shortcut
    Press Ctrl + Shift + W on your keyboard to close all open tabs at once.
  3. Respond to save prompts
    If any open files have unsaved changes, Notepad++ will prompt you to save them. Choose whether to save or discard changes for each file as needed.
  4. Confirm tabs are closed
    After confirming save dialogs (if any), verify that all tabs have been closed and the editor is clear.

Watch the video

Video thumbnail for Close all open tabs at once in Notepad++ Play tutorial

Watch on YouTube

Why it matters

When you have many files open in Notepad++, closing them one by one can be slow. Using the built-in keyboard shortcut closes all open tabs quickly and will prompt to save any unsaved files, saving time while protecting your work.

Check your result

All tabs in the editor are closed. If any files had unsaved changes, you were shown a save prompt before they closed.

Troubleshooting

If the shortcut does nothing, verify Notepad++ is the active window and that your keyboard modifiers are working. If you rely on plugin shortcuts or custom key mappings, confirm Ctrl+Shift+W hasn't been remapped in Notepad++ settings.