How to toggle between two tabs in Safari

Use Command-number shortcuts to return to two specific tabs, or a recent-tab shortcut to switch between whichever two pages you used last.

Last updated 1 min read

Safari’s Control-Tab shortcut moves to the next tab in the tab bar. When the two pages you need are several tabs apart, the methods below let you switch directly between them.

Use Command-number shortcuts for two specific tabs

Safari lets you select a tab by its position. Press Command-1 for the first tab, Command-2 for the second, and so on up to Command-8. Command-9 selects the last tab.

For example, if you’re working with the third and seventh tabs, use Command-3 and Command-7 to switch between them. The numbers follow tab positions, so moving or closing tabs can change which page a shortcut selects.

If the shortcuts do not work, open Safari > Settings > Tabs and enable Use ⌘-1 through ⌘-9 to switch tabs.

Toggle between whichever two tabs you used last

With TabBack, you can use the same shortcut to switch back and forth, wherever the two tabs sit in the tab bar.

Visit one tab, then the other. Press and release your TabBack shortcut to return to the first tab. Do it again to switch back to the second.

To choose from more recent tabs, hold the shortcut’s modifier key to see page previews. See how to browse recent tabs with TabBack.

Switch Safari tabs in recent-use order.

Press and release to return to the last tab, or hold the modifier keys to browse recent tabs.