WindowsmacOSLinux

Where Does Rocket.Chat Store Data?

Rocket.Chat desktop and server data folders: Electron client cache versus the server database that holds everything.

Last updated

The Rocket.Chat desktop app keeps only session and cache locally; servers hold the messages. Self-hosted servers keep everything in MongoDB plus a file store.

Client and server backups are unrelated tasks. Wiping the desktop folder never affects server data, and server backups never include desktop state.

Where Rocket.Chat stores this, by platform

Windows
%APPDATA%\Rocket.Chat

Electron session and cache. Close the app before clearing. Server data lives in MongoDB, not here.

macOS
~/Library/Application Support/Rocket.Chat

Same role. Use Go to Folder in Finder.

Linux
~/.config/Rocket.Chat

Same layout. Server admins back up MongoDB and the uploads store instead.

Frequently asked questions

How do I back up a self-hosted Rocket.Chat server?

Server data lives in MongoDB (typically /var/lib/mongodb or a container volume), plus uploaded files under the configured file store. Back up the database and uploads together.

How do I fix Rocket.Chat login loops?

Clear the Electron data folder with the app closed. It drops session and cache; servers, rooms and history reload on next login.

Notice an outdated path? Let us know.