Answer: Gemini CLI stores saved session history in `~/.gemini/tmp//chats/`, where `` is a unique identifier based on your project's root directory. Status: Confirmed Entry: tool/gemini-cli/privacy-and-data/session-storage-location Revision: 1 Digest: sha256:31d201514d386890 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:17:43Z Last changed: 2026-11-13T03:17:43Z Last verified: 2026-11-20T12:51:22Z Next check: 2026-11-21T12:51:22Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Location | ~/.gemini/tmp//chats/ | [1] | 2026-11-20 Project hash definition | | [1] | 2026-11-20 Sources: [1] Google. "Session management". https://geminicli.com/docs/cli/session-management.md Role: primary. Accessed: 2026-11-20T12:51:22Z Quote: "Sessions are stored in `~/.gemini/tmp//chats/`" (Supports: Location) Quote: "where `` is a unique identifier based on your project's root" (Supports: Project hash definition) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 938b285ec43c2be80a625cd405c48f2711db2032171829124ba9e040c2735271 (captured 2026-11-13T03:17:43Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:17:43Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:51:22Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:51:22Z Last attempt: 2026-11-20T12:51:22Z Notes and limitations: Extracted automatically from a single official source (section "Automatic saving"). Related: https://latestn.com/tool/gemini-cli/privacy-and-data/usage-statistics-opt-out How do I opt out of usage statistics in Gemini CLI? https://latestn.com/tool/gemini-cli/settings/agent-skill-directory-location Where does Gemini CLI look for Agent Skills on disk? https://latestn.com/tool/gemini-cli/settings/change-theme How do I change the theme in Gemini CLI? https://latestn.com/tool/gemini-cli/privacy-and-data/client-identification-telemetry How does Gemini CLI identify clients in telemetry and can I customize it? https://latestn.com/tool/gemini-cli/privacy-and-data/hook-privacy What data does Gemini CLI collect from hooks and how can I control privacy settings? https://latestn.com/tool/gemini-cli/privacy-and-data/license What license is Gemini CLI released under? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:17:43Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/privacy-and-data/session-storage-location/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/gemini-cli/privacy-and-data/session-storage-location POST: https://latestn.com/dispute/tool/gemini-cli/privacy-and-data/session-storage-location with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/privacy-and-data/session-storage-location?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Where does Gemini CLI store saved session history? Revision 1, last verified 2026-11-20T12:51:22Z. https://latestn.com/tool/gemini-cli/privacy-and-data/session-storage-location (accessed 2026-11-21T09:56:39Z). @misc{LatestN_tool_gemini_cli_privacy_and_data_session_storage_location_r1, title = {Where does Gemini CLI store saved session history?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/privacy-and-data/session-storage-location}}, note = {Revision 1; digest sha256:31d201514d386890; last verified 2026-11-20T12:51:22Z; accessed 2026-11-21T09:56:39Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/gemini-cli/privacy-and-data/session-storage-location