Where Does Logseq Store Graphs?
Logseq graphs are plain local folders that you choose when you create a graph. Global app data lives in the OS standard config folder.
Last updated
A Logseq graph is a normal folder with pages, journals and a logseq subfolder. You can store it in Documents, Dropbox, iCloud Drive or any synced folder you control.
Per graph settings are in logseq/config.edn inside that folder. The desktop app also keeps caches and global prefs in the OS application support location.
Where Logseq stores this, by platform
<graph-path>\logseq\config.edn
Per graph config on Windows. <graph-path> is the folder you picked at graph creation, for example D:\Notes\Research. The graph root also holds pages and journals folders.
<graph-path>/logseq/config.edn
Per graph config on macOS. <graph-path> is the folder you picked at graph creation. Keep the whole graph folder together when moving or syncing.
<graph-path>/logseq/config.edn
Per graph config on Linux. <graph-path> is the folder you picked at graph creation. The format is plain Markdown plus EDN config, so git works well.
C:\Users\<user>\AppData\Roaming\Logseq
Electron app data on Windows. <user> is the Windows login name. Holds caches, window state and global prefs. Your notes are not here unless you created the graph inside it.
/Users/<user>/Library/Application Support/Logseq
App data on macOS. <user> is the macOS username. Holds caches and prefs. Back up the graph folders themselves rather than this cache.
/home/<user>/.config/Logseq
App data on Linux. <user> is the Linux username. Holds caches and prefs. Notes stay in the <graph-path> folders you chose.
Frequently asked questions
I reinstalled Logseq and my notes are gone. Where are they?
Reopen the original graph folder with Add New Graph or Open Existing Graph. Reinstalls clear app data but leave graph folders in place.
Can I sync a graph with git or a cloud drive?
Yes. Sync the full graph folder including the logseq subfolder. Avoid opening the same graph on two machines at once because that can create sync conflicts in journals and config.edn.
Notice an outdated path? Let us know.