WindowsmacOSLinux

Where Does MEGAsync Store Config and Sync Data?

MEGAsync keeps its database, sync config and logs in a Mega Limited folder. Config paths for Windows, macOS and Linux.

Last updated

MEGAsync separates your files from its bookkeeping. Synced folders live wherever you pointed them, usually a MEGA folder in home. The app's own state, sync database, encrypted sync config and logs, lives in a Mega Limited folder in the platform's application-data location.

The spaces in the path break naive scripts, so quote it when scripting around MEGAsync. Newer versions encrypt the sync configuration with machine-specific keys, which means the config folder is backup-worthy but not portable: restores on the same machine work, transplants to a new one do not.

Where MEGA stores this, by platform

Windows
%LOCALAPPDATA%\Mega Limited\MEGAsync

MEGAsync.cfg plus the sync database and logs. Quote the path in scripts because of the space in Mega Limited. Config is encrypted with machine-tied keys in recent versions: restorable on the same PC, not portable to a new one. Synced files live in your chosen sync folders, not here.

macOS
~/Library/Application Support/Mega Limited/MEGAsync

Same Mega Limited layout as Windows. Open via Finder's Go, Go to Folder since Library is hidden. Deleting this folder signs you out and drops sync pairs but never touches the synced files themselves.

Linux
~/.local/share/data/Mega Limited/MEGAsync

Config confirmed at this Qt-standard path, including the Mega Limited intermediate folder. Same portability caveat as Windows: fresh install and re-link on a new machine rather than copying cfg files. Logs sit alongside the database in this folder.

Frequently asked questions

can i copy megasync config to a new pc

No, and you should not try. Newer versions encrypt the sync config with keys tied to the machine's login, so a transplanted file is unreadable or reset on launch. Install fresh, sign in, and recreate the sync pairs pointing at your existing local folders.

where are my actual mega synced files

Wherever you chose during setup, not in the config folder. The default is a MEGA folder in your home directory; each sync pair can point anywhere. The Mega Limited folder above holds only the app's own bookkeeping, so deleting it never deletes synced files.

where are megasync logs

Inside the Mega Limited data folder, in rotating log files. When support asks for diagnostics, zip that folder's logs rather than screenshotting errors. Set logging verbosity in the app's settings dialog before reproducing the problem for a useful capture.

Notice an outdated path? Let us know.