Are your Excel files opening in Notepad instead of Microsoft Excel? Don’t worry—this article will show you exactly how to fix file association issues in Windows. Whether it’s Excel or other apps like Word, PDF viewers, or image editors, we’ll walk you through step-by-step solutions to ensure your files open in the correct programs.
By following this guide, you’ll restore your file associations and get your documents to open in their intended formats without frustration. Let’s dive into the most effective methods to fix Excel opening in Notepad and make sure your files launch exactly where they should.
✅ Method 1: Fix Excel Opening in Notepad Using the “Open With” Option
If your Excel files keep opening in Notepad on Windows 11, you can manually fix the file association using the “Open with” option. Follow these simple steps to resolve the issue:
- Navigate to the folder where your Excel file is saved.
- Right-click on the file you want to open.
- From the context menu, select “Open with” > “Choose another app”.

- In the pop-up window titled “How do you want to open this file?”, look for Microsoft Excel in the list.
- If Excel is not listed, click “More apps”.
- Scroll down and select “Look for another app on this PC”.

- A file explorer window will open. Go to the default installation directory for Excel:
C:\Program Files\Microsoft Office\root\Office16\
- Find and double-click
EXCEL.EXE
to open the file.
Once completed, your Excel file will now open in Microsoft Excel. Going forward, Excel should appear as a suggested app whenever you use the “Open with” option for .xlsx
or .xls
files.
💡 Note: While this method works, it’s a temporary fix. You’ll need to repeat these steps for each file unless you set Excel as the default app for opening spreadsheet files. We’ll cover how to do that in the next method.
🔧 Method 2: Set Excel as the Default App for Excel File Types in Windows 11
If your Excel files are opening in Notepad, the most effective long-term fix is to set Microsoft Excel as the default app for .xlsx
and .xls
files. Follow these steps to configure your file associations properly in Windows 11:
- Press
Windows + I
to open the Windows Settings. - In the left menu, click on “Apps”.
- Select “Default apps” from the list. !
- On the right pane, scroll down and click on “Set defaults by app”.

- Look for Excel in the list of applications and click on it.
- Click the “Manage” button that appears next to Excel.

- In the new window, you’ll see a list of file extensions (like
.xlsx
,.xls
, etc.) and the current default apps assigned to them.- If you see Notepad as the default, click on its icon.
- Choose Microsoft Excel from the list.
- If Excel isn’t listed, click on “More apps”, then scroll down and select “Look for another app on this PC.”
- Navigate to Excel’s installation path:
C:\Program Files\Microsoft Office\root\Office16\
- Select the
EXCEL.EXE
file and double-click to confirm.
✅ Pro Tip: Setting Excel as the default app ensures all your spreadsheet files open in Excel automatically, permanently solving the issue of them launching in Notepad or other incorrect programs.
🔍 Method 3: Check and Correct the File Extension of Excel Files
Sometimes, the reason your Excel files open in Notepad is due to an incorrect or missing file extension. Ensuring that your files have the proper “.xlsx” or “.xls” extension can help Windows recognize and open them with Microsoft Excel.
Follow these simple steps to check and fix the file extension:
- Press
Windows + E
to open File Explorer. - Click on the “View” tab at the top of the File Explorer window.

- In the dropdown menu, enable “File name extensions” by checking the box next to it.
✔️ This will allow you to view and edit the extensions of all files. - Locate the Excel file that’s opening in Notepad.
- Check its extension:
- Valid extensions for Excel files are
.xlsx
and.xls
. - If the extension is incorrect (e.g.,
.txt
or missing), rename the file and change the extension to.xlsx
.
- Valid extensions for Excel files are
⚠️ Important: When renaming the extension, Windows may warn you that changing file extensions could make files unusable. Click “Yes” to confirm if you’re sure the file is an Excel spreadsheet.
By making sure your Excel files have the correct extensions, you ensure they are properly identified and opened by Microsoft Excel, avoiding the issue of them launching in Notepad or other apps.
⚠️ Common Reasons Why Excel Files Open in Notepad
If your Excel files are opening in Notepad instead of Microsoft Excel, several underlying issues might be the cause. Understanding these problems can help you apply the right fix. Below are the most common reasons:
📁 1. Incorrect File Extensions
One of the top reasons for this issue is having an incorrect file extension.
Excel files should end with “.xls” or “.xlsx”. If the extension is missing or mistakenly changed (e.g., to “.txt”), Windows may treat the file as a text document and open it in Notepad instead of Excel.
✅ Solution:
Make sure the file has the correct extension. You can do this by enabling file name extensions in File Explorer and renaming the file appropriately.
⚙️ 2. Misconfigured Default App Settings
Another frequent issue is misconfigured default application settings.
If Microsoft Excel is not set as the default program to open .xlsx
or .xls
files, Windows may default to opening them with Notepad or another incorrect app.
✅ Solution:
Set Excel as the default app for spreadsheet file types in your Windows settings to ensure all Excel files open correctly every time.
🛠️ 3. File Corruption
In some cases, the file itself might be corrupted or damaged.
When Excel cannot properly read a file, Windows may try to open it in Notepad as a fallback.
✅ Solution:
Try to repair the Excel file using Excel’s built-in repair feature, or restore a backup copy of the file if available.
By addressing these common causes—file extension errors, default app misconfigurations, and file corruption—you can stop Excel files from opening in Notepad and restore proper functionality to your system.
One more thing
If you’re in search of a software company that embodies integrity and upholds honest business practices, your quest ends here at Ecomkeys.com. As a Microsoft Certified Partner, we prioritize the trust and satisfaction of our customers. Our commitment to delivering reliable software products is unwavering, and our dedication to your experience extends far beyond the point of sale. At Ecomkeys.com, we provide a comprehensive 360-degree support system that accompanies you throughout your software journey. Your trust is our foundation, and we’re here to ensure that every interaction with us is a positive and trustworthy one.