Notepad is a simple text editor that has been part of the Windows operating system since its inception. Unfortunately, even after years of improvements and updates, Notepad is not immune to occasional crashes.

If the Notepad app is constantly closing or crashing on your Windows 10 or 11 PC, don’t fret. Here are some tips that should help fix the problem.

This may sound odd, but several users onMicrosoft Communityreported fixing Notepad crashes by simply resizing the app window.

To resize the Notepad window, click theRestore Downbutton in the top right corner. Then, move your mouse cursor over the edge of the window and click and hold the left mouse button. Drag the window to the desired size and see if that resolves the issue.

Note that this is just a temporary fix that you may use if you don’t have time to figure out what’s causing the problem. To resolve the underlying issue for good, it’s time to dive into the potential root causes of this problem.

Both Windows 10 and 11 include a repair feature that can help fix problems with your apps and programs without affecting your data. you may try using this feature to repair the Notepad app and see if it resolves the abrupt crashes.

To repair the Notepad app:

Once you have repaired the Notepad app, try using it again. If Notepad continues to close automatically, you can consider resetting it on your PC. Check outhow to reset an app on Windowsand follow the steps outlined there.

Another thing you can do is uninstall the Notepad app and reinstall it on your PC. This should resolve any issues caused by corrupted data and also update the app to its most recent version.

To uninstall Notepad from your Windows PC:

Once the app is removed, head over tothe Notepad app on the Microsoft Storeto download and install Notepad again. Following this, the app should work smoothly.

4. Try Generic Fixes

In most cases, one of the above suggestions should prevent Notepad from crashing on your Windows PC. If not, you can try some generic solutions to fix the problem.

Notepad is a handy app for jotting down notes and editing text files on your Windows computer. However, your experience while using it may not always be without problems. Hopefully, one of the above suggestions has helped you fix Notepad crashes on Windows, and things are back to normal.