User Agents

How to Swap Tabs with Keyboard Shortcuts

Switching between browser tabs without reaching for the mouse is one of the fastest productivity wins available. Every major browser supports keyboard shortcuts that let you jump to the next or previous tab, select a specific tab by number, or cycle through tabs in the order you last used them. This guide covers the standard shortcuts, how to use them on Windows, macOS, and Linux, and what to do when a shortcut does not behave as expected. No software installation is required—just a keyboard and a browser.

What You'll Need

  • A modern browser: Chrome, Edge, Firefox, Safari, or a Chromium-based alternative like Brave or Opera.
  • A standard keyboard with a working Ctrl key (Windows/Linux) or Command (⌘) key (macOS).
  • At least two open tabs to switch between.

Step-by-Step

  1. Identify your modifier key. On Windows and Linux, the primary modifier is Ctrl. On macOS, it is Command (⌘). The shortcuts below use Ctrl; substitute ⌘ on a Mac.
  2. Move to the next tab. Press Ctrl + Tab to go one tab to the right. On most browsers, Ctrl + Page Down does the same thing. This cycles forward and wraps around from the last tab to the first.
  3. Move to the previous tab. Press Ctrl + Shift + Tab to go one tab to the left. Ctrl + Page Up is an equivalent alternative.
  4. Jump to a specific tab by position. Press Ctrl + 1 through Ctrl + 8 to select the first through eighth tab from the left. Press Ctrl + 9 to jump to the last tab, regardless of how many are open.
  5. Cycle through recently used tabs. In Chrome, Edge, and Firefox, press Ctrl + Tab repeatedly to move through tabs in the order you last viewed them, not their left-to-right order. This is called most-recently-used (MRU) switching and is often faster when you are bouncing between two or three pages.
  6. Switch between the last two tabs. In Firefox, Ctrl + Shift + Tab toggles between the current and previous tab. In Chrome and Edge, the same effect is achieved by pressing Ctrl + Tab twice or using an extension if you need a dedicated toggle.
  7. Use the tab search feature. When you have many tabs open, press Ctrl + Shift + A in Chrome or Edge (or click the tab search dropdown at the top of the tab strip) to search for a tab by title or URL. Firefox offers a similar list via the List all tabs button.
  8. Practice the motion. Keep your left hand near the Ctrl and Shift keys and your right hand near Tab or the number row. The goal is to switch without looking down. A few minutes of deliberate practice makes the shortcuts automatic.

Common Mistakes

  • Using Alt instead of Ctrl. Alt + Tab switches between application windows, not browser tabs. If you see a window switcher, you pressed the wrong modifier.
  • Forgetting the Shift key. Ctrl + Tab moves forward; Ctrl + Shift + Tab moves backward. Reversing them is the most common reason people think a shortcut is broken.
  • Expecting Ctrl + 9 to select the ninth tab. It always jumps to the last tab, even if you have twenty open. Use Ctrl + 1 through Ctrl + 8 for specific early positions.
  • Assuming MRU order in every browser. Chrome and Edge cycle in recently used order; Safari and some Firefox configurations cycle in tab-strip order. The behavior can be changed in browser settings or flags, but the default differs.
  • Pressing shortcuts while a text field has focus. Some web apps capture Ctrl + Tab or number keys for their own use. Click the page background first if a shortcut does nothing.

Tips

  • Learn Ctrl + W to close a tab and Ctrl + Shift + T to reopen the last closed tab—handy when you close the wrong one.
  • Use Ctrl + L to focus the address bar, then type a URL and press Alt + Enter to open it in a new tab without leaving the current one.
  • Pin frequently used tabs (right-click the tab and choose Pin). Pinned tabs stay at the left and are included in the Ctrl + 1–8 numbering, so your numbering stays predictable.
  • On macOS, the Command key replaces Ctrl for all browser tab shortcuts. The Tab and number keys remain the same.
  • If you use a keyboard with a compact layout, the Fn key may be required for Page Up and Page Down. Ctrl + Tab avoids that issue entirely.

Troubleshooting

  • The shortcut does nothing. Check that the browser window is active and that no modal dialog or text field is capturing input. Try clicking a blank part of the page, then repeat the shortcut.
  • Ctrl + Tab switches applications instead of tabs. You are likely pressing Alt + Tab. Confirm you are using Ctrl (or ⌘ on Mac).
  • Tab order feels random. Chrome and Edge use most-recently-used order by default. If you prefer left-to-right order, look for a setting or flag in your browser, or use Ctrl + Page Up/Page Down, which follow tab-strip order.
  • Number shortcuts stop working after eight tabs. That is expected: Ctrl + 9 always selects the last tab. Use Ctrl + Tab or the tab search feature for tabs beyond the eighth.
  • A website overrides the shortcut. Some web applications, especially code editors and spreadsheet tools, capture Ctrl + Tab. Click outside the app’s editing area or use the browser’s tab strip directly.
  • Keyboard layout issues. Non-US layouts may place the number keys differently. The shortcuts still work, but you may need to use the top-row numbers rather than a numeric keypad.

Frequently Asked Questions

What is the shortcut to switch tabs in Chrome?

Ctrl + Tab (Windows/Linux) or Command + Tab (macOS) moves to the next tab. Ctrl + Shift + Tab moves to the previous tab. Ctrl + 1 through Ctrl + 8 select tabs by position, and Ctrl + 9 selects the last tab.

How do I switch tabs in Safari on a Mac?

Use Control + Tab to move to the next tab and Control + Shift + Tab to move to the previous tab. Command + 1 through Command + 9 select tabs by position, with Command + 9 selecting the last tab.

Can I change the order in which Ctrl + Tab cycles?

In Chrome and Edge, the default is most-recently-used order. Firefox and Safari generally cycle in tab-strip order. Some browsers expose a setting or flag to change this, but the option varies by version.

Why does Ctrl + Tab sometimes switch windows instead of tabs?

That happens when you press Alt + Tab instead of Ctrl + Tab. Alt + Tab is the operating system’s window switcher. Make sure you are using the Ctrl key (or Command on macOS).

Is there a shortcut to jump to a specific tab number?

Yes. Ctrl + 1 through Ctrl + 8 select the first eight tabs from the left. Ctrl + 9 always selects the last tab, no matter how many are open.

Do these shortcuts work in all browsers?

The core shortcuts—Ctrl + Tab, Ctrl + Shift + Tab, and Ctrl + 1–9—work in Chrome, Edge, Firefox, and most Chromium-based browsers. Safari uses Control + Tab and Command + number keys. Minor variations exist, so check your browser’s help pages if a shortcut does not respond.