Follow
Windows

How to Make Notepad++ Default in Windows 11

Richard
Written by
Richard
Nov 6, 2021 Updated Mar 19, 2026 4 min read
How to Control Windows Copilot Startup Settings
How to Control Windows Copilot Startup Settings

Want to ditch the default Windows Notepad for something more powerful? You can make Notepad++ your go-to text editor in Windows 11.

Notepad++ is a popular, free editor designed for writing code, and it works as a replacement for Windows Notepad. It supports over 50 programming languages and includes many advanced features you won’t find in the standard Windows Notepad. It’s a significant upgrade for anyone working with code or needing more text editing power.

This means that whenever you open a .txt file or other text documents, Notepad++ will launch automatically instead of the standard Windows Notepad.

⚡ Quick Answer

Change your default app settings for plain text files. Go to Settings > Apps > Default Apps, find Notepad, and switch the default app for .txt and other text files to Notepad++.

How to install Notepad++ on 🪟 Windows 11

As mentioned earlier, you can use Notepad++ to replace Windows Notepad and enjoy its great features and multi-language support, which aren’t available in Notepad.

First, go to the link below to download Notepad++

Once downloaded, go to your Downloads folder and run the executable. Follow the installation wizard to complete the setup.

Notepad++ installation screen on Windows 11
install notepad on windows 11

By default, Notepad++ will install in the C:Program FilesNotepad++ folder. To install in a different folder, click Browse and select another folder.

Default installation folder for Notepad++ on Windows 11
notepad default installation folder

Next, check the components you want to install and uncheck the ones you don’t want. The default selections should work well in most situations. Click Next to continue.

Components selection for installing Notepad++
notepad components to install

Next, click Install to finish the installation wizard.

Install button for Notepad++ on Windows 11
notepad install button

How to make Notepad++ default text editor in 🪟 Windows 11

Now that Notepad++ is installed, let’s get it set as your default text editor.

Windows 11 keeps most of its settings in one place, the System Settings. Here, you can manage everything from system configurations to creating new users and updating Windows.

To get to System Settings, you can use the Windows key + I shortcut or click on Start ==> Settings, as shown in the image below:

windows 11 settings button
windows 11 settings button

Alternatively, you can use the search box on the taskbar and search for Settings. Then select to open it.

Your Windows Settings pane should look similar to the image below. In Windows Settings, click Apps, and select Default Apps on the right pane of your screen.

windows 11 default apps
windows 11 default apps

Once the Default Apps settings are open, you can use the search box to find the default app for applications. Type ‘Edge’ here.

Microsoft Edge will appear in the result below. Click on Notepad.

Windows 11 default apps settings showing Notepad
windows 11 default apps notepad

The next screen shows all the file types that currently open with Notepad. You’ll need to select each one and change it to open with Notepad++.

Switching default app from Notepad to Notepad++
windows 11 switch notepad

When you select Notepad, a pop-out window will prompt you to choose the app you want to always open this file type.

Click on the More apps link as highlighted below.

Selecting more apps to set as default in Windows 11
windows 11 switch more app notepad

Next, select Look for another app on this PC.

Finding another app on this PC for default editor
windows 11 look for another app on this PC

By default, this will open the C:Program Files directory. Open the Notepad++ folder and select the Notepad++ app

Opening Notepad in Windows 11
windows 11 notepad open

Select the Notepad++ app and click Open to always open this file with Notepad++.

Using 'Open with' option for Notepad in Windows 11
open with notepad app windows 11

Repeat this process for each file type until Notepad++ is chosen as the default to open these files.

Alternative 'Open with' menu for Notepad in Windows 11
open with notepad windows 11 1

How to completely make Notepad++ default in 🪟 Windows 11

You can also make Notepad++ the default in Windows 11 by running the commands below as administrator.

First, open the command prompt as administrator. Click the Start menu, search for Command Prompt, right-click, and select Run as administrator.

Command Prompt opened as administrator in Windows 11
windows 11 command prompt administrator

Once the Command Prompt opens, run the commands below:

🗝️Registry
REG ADD “HKLMSOFTWAREMicrosoftWindows NTCurrentVersionImage File Execution Optionsnotepad.exe” /v “Debugger” /t REG_SZ /d “”%ProgramFiles%Notepad++notepad++.exe” -notepadStyleCmdline -z” /f

To undo the commands above, run the commands below:

🗝️Registry
REG DELETE “HKLMSOFTWAREMicrosoftWindows NTCurrentVersionImage File Execution Optionsnotepad.exe” /v “Debugger” /f

That should do it!

Conclusion:

  • Notepad++ offers advanced features and support for multiple programming languages, making it an excellent alternative to the default Notepad application in Windows 11.
  • The installation process is straightforward, ensuring that users can quickly set up and configure Notepad++ to meet their needs.
  • Changing the default text editor to Notepad++ allows for a more efficient workflow, particularly for developers and users handling various file types.
  • By following the outlined steps, users can personalize their text editing experience and take full advantage of what Notepad++ has to offer.
  • Remember to apply the additional command line steps if you want to ensure Notepad++ fully replaces Notepad in all scenarios.

Enjoy your enhanced text editing experience with Notepad++!

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Add or Remove Apps from Windows 11 Start Menu
Windows How to Add or Remove Apps from Windows 11 Start Menu
How to Restart Start Menu Process in Windows 11
Windows How to Restart Start Menu Process in Windows 11
How to Switch Between Open Windows in Windows 11
Windows How to Switch Between Open Windows in Windows 11
How to Enable or Disable Browse with Copilot in Microsoft Edge on Windows 11
Browsers How to Enable or Disable Browse with Copilot in Microsoft Edge on Windows 11

0 Comments

  • Michael Hendrix

    Thanks for covering this. I have one issue – that last command if I copy/paste it in a admin window and go to execute it I get “ERROR: Invalid syntax. Type “REG ADD /?” for usage.

    I am running windows 11 Pro. Thanks…

    Reply

Leave a Comment

Your email address will not be published. Required fields are marked *