Where are notes stored on Mac?
The Notes app does not save each note as a file. It keeps all of them in one database, NoteStore.sqlite, in ~/Library/Group Containers/group.com.apple.notes/ inside your hidden Library folder, and notes in iCloud are also kept on Apple's servers. To get a note out as a file you can open elsewhere, export it from the app; this guide shows where the database is, which account a note lives in, and how to export.
1. The Notes database folder
- Click the desktop or a Finder window, then choose Go › Go to Folder (⇧ ⌘ G).
- Paste
~/Library/Group Containers/group.com.apple.notes/and press Return. - The file
NoteStore.sqliteis the database. The folders next to it hold other data the app keeps for your accounts.
The ~ is your home folder, so each user account on the Mac has its own notes (how to find your home folder on Mac). Finder hides the Library folder, which is why you will not get there by browsing; how to find the Library folder on Mac shows the other ways in.
You cannot read notes from this folder. The database is meant for the Notes app only, and Apple does not document it. Do not open, move, rename or delete anything here: the app could lose track of your notes, and with iCloud turned on, a damaged library can sync to your other devices. To keep a copy of a note, export it (section 3).
2. iCloud, On My Mac, or another account
Where a note really lives depends on the account it is in. The Notes sidebar groups folders under each account:
- iCloud: the notes are stored in iCloud and appear on every device signed in to the same Apple Account. The Mac keeps a copy in the database above. To check that syncing is on, open System Settings, click your name, click iCloud, then See All next to Saved to iCloud, and make sure Notes is turned on.
- On My Mac: the notes stay on this computer only and do not appear on your other devices or on iCloud.com. The account is off until you turn it on in Notes › Settings with Enable the On My Mac account.
- Google, Yahoo and other internet accounts: those notes are kept by the provider. Apple notes that if you remove the account from the Mac, the copies remain in the internet account.
Default account in Notes settings sets where new notes go. To move a note to another account, drag it onto a folder in that account in the sidebar.
Notes are not stored in iCloud Drive, so you will not find them as files there or in the Finder sidebar, even when they sync through iCloud.
3. Export notes as files
This is the way Apple documents, and it leaves the database untouched. Select the note, then:
| macOS | Menu | Formats |
|---|---|---|
| macOS 27 | File › Export To | PDF, Markdown, or Open in Pages |
| macOS 26 Tahoe | File › Export as | PDF or Markdown |
| macOS 15 Sequoia | File › Export as PDF, or File › Open in Pages | PDF, or a Pages document you save yourself |
In the save dialog you can change the file name and add Finder tags, which help you find the export later. The file is a copy: edits you make in Notes afterward do not reach it, and the other way around. A Pages document opened from a note works the same way.
Other ways to get text out:
- Edit › Copy as Markdown (macOS 26 and later) copies the selected part of a note with its headings and lists, ready to paste into a Markdown editor.
- File › Print, then PDF in the print dialog, also saves a PDF.
- The Share button sends a note to Mail, Messages or another app.
Going the other way, File › Import to Notes turns text, RTF, HTML and Evernote files into notes in an Imported Notes folder.
4. Deleted and locked notes
A deleted note does not go to the Mac's Trash. Notes moves it to the Recently Deleted folder of its account, for 30 days. To get it back, click Recently Deleted in the sidebar and drag the note to another folder. After 30 days the note is removed from your devices, and the app warns that permanent deletion from iCloud can take up to 40 more days. Recently Deleted appears only for iCloud and On My Mac notes. A Time Machine backup is the general way back for older losses; how to recover deleted files on Mac covers it.
A locked note is encrypted with the password you set (Notes › Settings › Set Password…), and its content cannot be read from the database without it. Unlock the note in the app before you export it.
5. Terminal
These commands only read. The backslash keeps the space in "Group Containers" from splitting the path:
# show the database file and its size
ls -l ~/Library/Group\ Containers/group.com.apple.notes/NoteStore.sqlite
# open the folder in a Finder window
open ~/Library/Group\ Containers/group.com.apple.notes/
Listing the whole folder with ls can fail with "Operation not permitted": macOS protects it, and Terminal can read it only after you give it Full Disk Access in System Settings › Privacy & Security. You do not need that to use Notes, and copying the database by hand is not a way to back up or move notes. Export them instead.
6. Find exported notes with Everything Locator
Once a note is exported, it is an ordinary file, and the question becomes where you saved it. Everything Locator (free to try) indexes your home folder, iCloud Drive and the external drives you add, and searches file names as you type. It does not look inside the Notes database. An export is an ordinary file, so the app finds it by name, type and date, and on the Mac content: asks Spotlight for a word in it once Spotlight has indexed it. Name the export after the note's title and it is easy to find.
| Search | Finds |
|---|---|
ext:md dm:thisweek | Markdown files saved or changed this week |
ext:pdf;md;pages recipe | PDF, Markdown and Pages files with "recipe" in the name |
ext:md ~/Documents/ | every Markdown file in Documents |
doc: dc:2026-11 | documents created in November 2026 |
NoteStore.sqlite | the Notes database itself, if hidden files are indexed (see below) |
The Documents filter (⌥ ⌘ 4) limits any search to documents. Press Space to preview a result with Quick Look, ⌘ Return to show it in Finder, and ⇧ ⌘ C to copy its full path.
The database is inside ~/Library, which the app skips unless you tick Index hidden files and folders in Settings › Indexing, and macOS limits which apps may read that folder. Finding the file there only tells you where it is; open your notes in the Notes app. How to find hidden files on Mac explains the hidden-folder setting.
FAQ
Where is the Apple Notes database on a Mac?
In ~/Library/Group Containers/group.com.apple.notes/NoteStore.sqlite. Press ⇧ ⌘ G in Finder and paste the folder path to see it. Leave the file alone; read and export notes from the Notes app.
Can I open my notes as files in Finder?
No. Notes keeps them in its database, not as separate files. Export a note with the File menu to get a PDF or, on macOS 26 and later, a Markdown file.
Are my notes on my Mac or in iCloud?
Look at the account heading above the folder in the Notes sidebar. Notes under iCloud are stored in iCloud and synced to your devices; notes under On My Mac stay on this computer only.
Can I export all my notes at once?
Apple's export steps cover the note you select. To save many notes as files, export them one by one, or keep them in iCloud so they are stored off the Mac as well.
Do notes take up space on my Mac?
Yes. The database and the data Notes keeps for your accounts are in the folder from section 1; select it in Finder and press ⌘ I to see its size. If the disk is full, how to find large files on Mac lists what to check first.
Find every note you exported, by name
Everything Locator searches your Mac and the drives you add by name, type, size and date.