# How To Collapse A Section in Confluence

> To hide page content in Confluence, type /expand while editing, enter a section title, and add your content. Next, click the down arrow to collapse the section, then click Publish or Update so the section appears collapsed by default for viewers.

Canonical: https://livedemo.ai/tutorials/how-to-collapse-a-section-in-confluence/
Apps: Confluence
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a32fdab56e05a00fd6d5e/preview?step=1

## Steps

1. While editing a page, type /expand and select "Expand" from the macro list.
2. Enter a title for the collapsible section.
3. Add your content inside the expand block.
4. Click the down arrow to collapse the section and hide its content.
5. Click "Publish or "Update" — the section will now be collapsed by default and can be expanded by the viewer.
