How to Stop Google Docs from Automatically Expanding Collapsed Headings

The Unstable Outline

Google Docs introduced collapsible headings as a document organisation feature. When you add Heading 1, Heading 2, or Heading 3 styles to your document, small collapse arrows appear next to each heading, allowing you to fold the text beneath a heading out of view. This is useful for navigating very long documents. However, the collapsed state is not reliably persistent. When you close and reopen the document, when a collaborator makes an edit, or when you switch between Editing and Suggesting modes, Google Docs frequently auto-expands all collapsed sections, revealing everything at once. For users who rely on collapsed sections to focus on specific parts of a lengthy report, this automatic expansion is disruptive.

Working Around Auto-Expansion

To manage how Google Docs handles collapsed headings and prevent them from automatically expanding when you do not expect it, you need to understand the limitations of the feature and adopt a reliable workflow.

Currently, Google Docs does not offer a “lock collapsed state” option. The collapse state is stored per-user and per-session, meaning it resets under several conditions: when the page is refreshed, when the document is reopened from Google Drive, or when another collaborator triggers a document reload. The most effective workaround is to use the Document Outline instead of collapsible headings for navigation. Open the Outline by clicking View > Show outline (or pressing Ctrl + Alt + A then Ctrl + Alt + H). The outline panel on the left side provides clickable links to every heading without needing to collapse or expand sections. If you specifically need to hide content from view while working, consider moving completed sections to a separate “Archive” document, or use Page breaks strategically so that each section starts on a fresh page, making it easy to scroll past content you are not currently focused on.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.