Add a "Back to Top" link in Confluence Cloud pages

Platform Notice: Cloud Only - This article only applies to Atlassian apps on the cloud platform.

Summary

In Confluence Cloud, there is currently no built-in "Back to Top" button or macro. This is a common request from users who want to improve navigation on long pages. There is an open feature request covering this ask: CONFCLOUD-82330: Add a "Back to Top" Button in Confluence Cloud to improve navigation on Long Pages.

In the meantime, you can achieve similar functionality using the Anchor macro as a workaround.

Solution

For more details on how Anchor macros function, please refer to our documentation: Insert Links and Anchors in Confluence Cloud.

Step 1: Insert an Anchor at the top of the page

  1. Edit your Confluence page.

  2. Place your cursor at the very top of the page.

  3. Insert the Anchor macro (type /anchor in the editor).

  4. Give the anchor a simple name, such as top.

Step 2: Link to the Anchor

  1. Scroll to the bottom (or wherever you want the "Back to Top" link).

  2. Insert a link to the anchor you created:

    • Highlight the text you want to use (e.g., "Back to Top").

    • Click the link icon.

    • Enter #top as the link target.

Result: Clicking the "Back to Top" link will jump the user to the top of the page.

Please note, this is a manual workaround; there is no floating button or automatic macro. Each page must be edited individually to add the anchor and links.

Updated on August 21, 2025

Still need help?

The Atlassian Community is here for you.