The “invalid notebook name” error in OneNote on Windows 10 appears when you try to create, open, or rename a notebook and the app rejects the name you entered. The fix is to remove any of the forbidden characters ( \ / : * ? ” < > | ) from the notebook name, shorten it if it exceeds 240 characters, or clear the OneNote cache if the error persists with a perfectly valid name.
Why OneNote Rejects Certain Notebook Names
OneNote stores every notebook as a folder on your local drive or in your OneDrive cloud storage. Because Windows and most cloud file systems have strict naming rules for folders, OneNote inherits those same restrictions. If you try to use a character that Windows does not allow in a folder name, OneNote shows the invalid notebook name error instead of creating the file.
The forbidden characters are exactly the ones Windows reserves for its own use:
- Backslash
\ - Forward slash
/ - Colon
: - Asterisk
* - Question mark
? - Double quote
" - Less than
< - Greater than
> - Vertical bar or pipe
|
Additionally, Windows does not allow a folder name to end with a period or a space, and it does not allow reserved device names like CON, PRN, AUX, NUL, COM1 through COM9, and LPT1 through LPT9. A notebook named “CON” or “My Notebook.” will trigger the same error.
How to Fix the Invalid Notebook Name Error
Follow these steps in order. Most people only need step 1.
- Rename the notebook using only safe characters. Open OneNote, right-click the notebook tab on the left side, choose “Rename,” and enter a name with letters, numbers, spaces, hyphens, underscores, and parentheses. Avoid all nine forbidden characters listed above.
- Shorten the name. Even with safe characters, a notebook name longer than 240 characters will fail because the full file path (folder path plus notebook name) exceeds Windows’ 260-character limit. Keep the name under 200 characters to be safe.
- Check for a trailing period or space. Windows silently strips trailing periods and spaces from folder names. If your notebook name ends with either, OneNote may show the error even though the name looks fine. Remove them and retry.
- Clear the OneNote cache. Sometimes the error persists with a valid name because the local cache is corrupted. Close OneNote, press
Windows + R, type%localappdata%\Microsoft\OneNote, and press Enter. Delete the contents of the folder named after your OneNote version (for example, “16.0”). Restart OneNote and try again. This does not delete your notebooks, only temporary cached data. - Reset OneNote from Settings. Go to Settings > Apps > Apps & features, find OneNote, click Advanced options, then click Reset. This reinstalls the app without removing your notebooks.
- Create the notebook in a different location. If you are trying to create a notebook on a network drive or a USB drive with a different file system (like FAT32), that drive may have its own naming restrictions. Create it in your default OneDrive or Documents folder instead.
Where OneNote Stores Notebooks and Why It Matters
OneNote for Windows 10 (the UWP version) stores notebooks by default in your OneDrive account under Documents/OneNote Notebooks. The desktop version (OneNote 2016 or Microsoft 365) can store notebooks anywhere, including local folders, network shares, and SharePoint sites. The storage location determines which naming rules apply. OneDrive uses the same forbidden character list as Windows, but SharePoint has additional restrictions, such as not allowing names that start with a tilde (~) or that contain certain encoded characters.
If you are moving a notebook from one location to another and the error appears, the destination file system may be more restrictive than the source. For example, a notebook name with a colon works on a Mac’s APFS drive but fails when moved to a Windows NTFS drive.
Common Misconception: The Error Is Not About the Section or Page Name
Many users see the “invalid notebook name” error but are actually trying to rename a section or a page. Sections and pages have their own naming rules, but they are less strict than notebook names because sections are stored as files with a .one extension and pages are stored inside section files. If you get the error while renaming a section, the same forbidden characters apply, but the limit is shorter because the section file name includes the extension. Pages allow almost any character except the same nine forbidden ones, but they do not have the same length limit because they are not separate files.
How to Avoid the Error When Creating a New Notebook
When you click “New Notebook” in OneNote, the dialog box asks for a name. The error appears immediately after you click “Create” if the name is invalid. To avoid it:
- Use letters, numbers, spaces, hyphens, and underscores only.
- Do not start the name with a period.
- Do not use any of the nine forbidden characters.
- Keep the name under 200 characters.
- Avoid reserved device names like CON, PRN, AUX.
If you need a name that contains a colon, such as “Project: Q3,” replace the colon with a hyphen or an em dash (—) which is allowed.
What to Do If the Error Still Appears With a Valid Name
If you have verified that the name uses only safe characters, is short, and has no trailing period or space, but the error persists, the problem is likely not the name itself. Possible causes and fixes:
- Corrupted OneNote cache: Clear the cache as described in step 4 above.
- OneDrive sync conflict: If OneDrive is having trouble syncing, close OneNote, right-click the OneDrive icon in the system tray, choose “Pause syncing,” wait a minute, then resume. Try creating the notebook again.
- Antivirus or security software: Some security tools block OneNote from creating folders with certain patterns. Temporarily disable your antivirus and test. If it works, add OneNote to the allowed list.
- Windows file system corruption: Run
chkdsk /fon the drive where the notebook is stored. This requires an administrator command prompt and may require a restart. - OneNote version bug: Check for Windows Updates and OneNote updates. Microsoft periodically fixes naming-related bugs in OneNote.
Frequently Asked Questions
Can I use a colon in a OneNote notebook name?
No. The colon is one of the nine characters Windows forbids in folder names. OneNote will show the invalid notebook name error if you include it. Use a hyphen, an em dash, or the word “to” instead, such as “Project Q3” or “Project — Q3.”
Why does OneNote say invalid name when I use a valid Windows folder name?
If the name is valid for Windows, the error may come from OneDrive or SharePoint restrictions, a corrupted cache, or a trailing space that you cannot see. Try shortening the name, clearing the OneNote cache, or creating the notebook in a different location.
Does the error affect existing notebooks?
No. The error only appears when creating, renaming, or opening a notebook whose name violates the rules. Existing notebooks with valid names continue to work normally. If an existing notebook suddenly shows the error, it is usually a sync or cache issue, not a naming problem.
What is the maximum length for a OneNote notebook name?
Windows limits the full file path to 260 characters. Since the notebook is stored in a folder path like C:\Users\YourName\OneDrive\Documents\OneNote Notebooks\, which is often 60-80 characters, the notebook name itself should stay under 180 characters to be safe. OneNote itself does not enforce a separate name length limit.
Can I rename a notebook that was created on a Mac or iPhone?
Yes, but the name must comply with Windows rules after the rename. If the Mac-created name contains a colon or slash (which macOS allows in some cases), Windows will reject it. Rename it on the Mac first using safe characters, or rename it in the OneNote web app at onenote.com, which uses the same restrictions as Windows.
Will clearing the OneNote cache delete my notes?
No. The cache folder contains temporary copies of page content for faster loading. Deleting it forces OneNote to re-download the content from the source (OneDrive or local file), but your actual notes remain untouched. It is safe to clear the cache.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Hogwarts Legacy Microsoft Visual C Runtime Error Fix
- Set Up UPI Payments Through WhatsApp
- Pair Oppo Enco Earbuds with Android, iPhone & Windows
- Fix Administrator Account Disabled Error in Windows 11
- How to Play Kodi on Smart TV from PC
- Factory Reset on Samsung Galaxy: What It Erases