Where are Apple Notes stored on your Mac?
The short answer: in a database, not in files. Here’s exactly where it lives, what’s actually inside it, how to keep notes purely local, and how to get your writing out in a form you can keep.
The actual location
On any recent version of macOS, everything Apple Notes knows lives under ~/Library/Group Containers/group.com.apple.notes/ — chiefly a SQLite database called NoteStore.sqlite, with attachments in folders beside it. You can look at it in Finder (Go → Go to Folder, paste the path), but don’t expect to read anything: the text of each note is stored as compressed binary data inside the database, and locked notes are encrypted on top of that. Your notes are in there — they’re just not yours to open with anything except Apple Notes.
This surprises people, so it’s worth saying plainly: even notes that sync to iCloud keep a full local copy in that same database — that’s why Notes works on a plane. The question isn’t whether your notes are on your Mac; it’s whether they’re only on your Mac, and whether you can do anything with them outside one app.
Keeping notes purely local
Notes has a hidden local-only mode: in Notes → Settings, enable the “On My Mac” account. Notes created there never touch iCloud. Existing iCloud notes can be dragged into an On My Mac folder to pull them local — do that folder by folder and you’ve effectively opted out of the cloud while keeping the app. The trade: no sync to your phone, and your notes are still in the unreadable database, now with fewer copies.
Getting notes out
Apple’s built-in exit is narrow: File → Export as PDF, one note at a time, formatting flattened. For a real migration, the free Mac App Store utility Exporter reads the Notes database and writes plain Markdown files — imperfect with heavy attachments, but it gets your words into a format every editor on earth can open. Locked notes can’t be exported by anything until you unlock them.
If the exercise of extracting your own writing from a database feels backwards, that instinct is the whole idea behind local-first notes — apps where notes are readable files from the start, so there is nothing to escape from. That’s how Locus stores a workspace, and our Apple Notes comparison is honest about what Notes still does better — quick capture, iPhone sync — alongside what a files-first app buys you: version history, Markdown export, and a workspace Time Machine can restore one page at a time.
Questions people ask
Can Apple Notes be saved locally?
Yes. In Notes settings, enable the "On My Mac" account — notes you create there never sync to iCloud and exist only on your machine. Notes already in iCloud stay in iCloud until you move them; drag them into an On My Mac folder to bring them fully local. The storage format is the same database either way — local just means no copy on Apple’s servers.
Are notes on a Mac automatically saved?
Yes — there is no save button and no unsaved state; edits are written to the local database as you type, and (for iCloud notes) synced when a connection exists. The flip side of automatic saving is automatic overwriting: an edit replaces the old text with no version history, which is worth knowing before you reorganize something important.
What happened to all my notes on my Mac?
Usually one of three things, in order of likelihood: you’re signed into a different Apple ID than the notes live in; iCloud sync for Notes got toggled off, hiding the iCloud account’s notes; or the notes were deleted and are waiting in Recently Deleted, which keeps them for about 30 days. Check the account list in Notes’ sidebar first — ‘missing’ notes are usually just an account view problem.
Does Time Machine back up Apple Notes?
It backs up the database file, which is better than nothing but clumsier than it sounds: you can’t restore one note, only the whole store, and restoring it over a newer database can lose recent edits. If your backup plan is ‘Time Machine has it,’ test that assumption before you need it.
Can you use the Apple Notes app offline?
Yes — Apple Notes works offline with whatever iCloud has already delivered to the Mac, and edits sync when the connection returns. The subtlety is that iCloud remains the source of truth: a brand-new device shows nothing until it syncs, and ‘On My Mac’ notes (the local-only mode) are the exception you must enable, not the default.