Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Safari instantly closes tabs opened with cmd+shift+t in tabs group

Hi, suddenly Safari started to immediately close tabs I reopened using cmd+shift+t in my tabs groups on my MacBook Air.


It still works fine in the main tab group on Safari (the one that cannot be deleted and is always there). I created two tabs groups that are synced between my laptop and iPhone. When I use cmd+shift+t in any of these groups, the recently closed tabs reopens for a second and then disappears instantly without any option to reopen it. Using Cmd+shift+t again reopens the tab closed before, but this new one disappears immediately as well...


Any suggestions how to solve this issue?

13 replies

Hello Jacobpe,


We'd isolate this behavior using safe mode on your Mac. Here's how: How to use safe mode on your Mac


How to use safe mode on your Mac

Safe mode can help you to determine whether an issue is caused by software that loads as your Mac starts up.

Safe mode prevents your Mac from loading certain software as it starts up, including login items, system extensions not required by macOS, and fonts not installed by macOS. It also does a basic check of your startup disk, similar to using First Aid in Disk Utility. And it deletes some system caches, including font caches and the kernel cache, which are automatically created again as needed.

Safe mode is particularly useful when you're trying to resolve an issue that doesn't seem to be associated with using any particular app. As always, keeping your software up to date is the first step toward resolving any software issue.

How to use safe mode

Determine whether you're using a Mac with Apple silicon, then follow the appropriate steps:

Apple silicon

1. Shut down your Mac.

2. Turn on your Mac and continue to press and hold the power button until you see the startup options window.

3. Select your startup disk, then press and hold the Shift key while clicking “Continue in Safe Mode.”

4. Log in to your Mac. You might be asked to log in again.

Intel processor

1. Turn on or restart your Mac, then immediately press and hold the Shift key as your Mac starts up.

2. Release the key when you see the login window, then log in to your Mac. 

3. You might be asked to log in again. On either the first or second login window, you should see ”Safe Boot” in the upper-right corner of the window.
If the issue continues in safe mode

If the issue continues while in safe mode, or your Mac restarts several times and then shuts down while starting up in safe mode, you should reinstall macOS and make sure that your Apple software and third-party apps are up to date.

If the issue doesn't continue in safe mode

If the issue doesn't continue while in safe mode, leave safe mode by restarting your Mac normally. Then test for the issue again. The issue might be resolved.

If the issue returns after leaving safe mode, startup items are probably at fault. Apps can install such items in numerous places, and they aren't always easy to find or recognize. For that reason, you should first make sure that you've installed any available updates for your Apple software and third-party apps.

If updating your software doesn't help, try any of these solutions:

- Test your login items.

- To learn whether software in your user account is causing the issue, set up a new user account, then log in to it and try to reproduce the issue in that account.

- Unplug all accessories from your Mac, including printers, drives, USB hubs, and other nonessential devices. You could have an issue with one or more of those devices or their cables.

- Reinstall macOS.

If you still need help, please contact Apple Support.

Learn more

Some features might not work in safe mode, 000014C2 such as movie playback in DVD Player, video capture, file sharing, Wi-Fi, some accessibility features, some audio devices, and some devices that connect via USB, Thunderbolt, or FireWire. Accelerated graphics are disabled, which could cause blinking or distortion onscreen during startup.



As mentioned above, safe mode is slower than booting normally. It will run a check on your disk and prevent some software from opening, which is great for testing this further. Once you boot to safe mode, log in to your user, and try reproducing the issue in safe mode. Use sections, 'If the issue continues in safe mode' and 'If the issue doesn't continue in safe mode', depending on your results there.


Hoping to hear how it goes, take care.

Hello Jacobpe,


We'd isolate this behavior using safe mode on your Mac. Here's how: How to use safe mode on your Mac


How to use safe mode on your Mac

Safe mode can help you to determine whether an issue is caused by software that loads as your Mac starts up.

Safe mode prevents your Mac from loading certain software as it starts up, including login items, system extensions not required by macOS, and fonts not installed by macOS. It also does a basic check of your startup disk, similar to using First Aid in Disk Utility. And it deletes some system caches, including font caches and the kernel cache, which are automatically created again as needed.

Safe mode is particularly useful when you're trying to resolve an issue that doesn't seem to be associated with using any particular app. As always, keeping your software up to date is the first step toward resolving any software issue.

How to use safe mode

Determine whether you're using a Mac with Apple silicon, then follow the appropriate steps:

Apple silicon

1. Shut down your Mac.

2. Turn on your Mac and continue to press and hold the power button until you see the startup options window.

3. Select your startup disk, then press and hold the Shift key while clicking “Continue in Safe Mode.”

4. Log in to your Mac. You might be asked to log in again.

Intel processor

1. Turn on or restart your Mac, then immediately press and hold the Shift key as your Mac starts up.

2. Release the key when you see the login window, then log in to your Mac. 

3. You might be asked to log in again. On either the first or second login window, you should see ”Safe Boot” in the upper-right corner of the window.
If the issue continues in safe mode

If the issue continues while in safe mode, or your Mac restarts several times and then shuts down while starting up in safe mode, you should reinstall macOS and make sure that your Apple software and third-party apps are up to date.

If the issue doesn't continue in safe mode

If the issue doesn't continue while in safe mode, leave safe mode by restarting your Mac normally. Then test for the issue again. The issue might be resolved.

If the issue returns after leaving safe mode, startup items are probably at fault. Apps can install such items in numerous places, and they aren't always easy to find or recognize. For that reason, you should first make sure that you've installed any available updates for your Apple software and third-party apps.

If updating your software doesn't help, try any of these solutions:

- Test your login items.

- To learn whether software in your user account is causing the issue, set up a new user account, then log in to it and try to reproduce the issue in that account.

- Unplug all accessories from your Mac, including printers, drives, USB hubs, and other nonessential devices. You could have an issue with one or more of those devices or their cables.

- Reinstall macOS.

If you still need help, please contact Apple Support.

Learn more

Some features might not work in safe mode, such as movie playback in DVD Player, video capture, file sharing, Wi-Fi, some accessibility features, some audio devices, and some devices that connect via USB, Thunderbolt, or FireWire. Accelerated graphics are disabled, which could cause blinking or distortion onscreen during startup.



As mentioned above, safe mode is slower than booting normally. It will run a check on your disk and prevent some software from opening, which is great for testing this further. Once you boot to safe mode, log in to your user, and try reproducing the issue in safe mode. Use sections, 'If the issue continues in safe mode' and 'If the issue doesn't continue in safe mode', depending on your results there.


Hoping to hear how it goes, take care.

Hi, thanks for the suggestion.


The safe mode did not helped, the issue persisted. So I tried to reinstall macOS, but that still did not helped.


It has to be tied to iCloud somehow, because I noticed that when I turn off iCloud sync for Safari in iCloud Settings, it starts to work again. But turning the sync on makes the issue to come back.

Hey there Jacobpe, 


Are you actively using Safari on another device when your recently closed and reopened tabs disappear? If so, have you confirmed all devices are updated to the latest versions of their respective operating systems?


Let's also ensure the following steps are used to close tabs prior to reopening them using a keyboard shortcut.


Set up and use iCloud Tabs   


"Close a tab


Quitting Safari, putting your device to sleep, or turning off your device doesn't remove a tab from the list.


On your iPhone, iPad, or iPod touch


  1. Open Safari.
  2. Tap the Tabs  button.
  3. Scroll to the bottom of the list. Below the images of tabs open on your device, you see a list of open tabs from your other supported devices.
  4. Swipe left on the tab that you want to close, then tap Close. 


On your Mac


  1. Open Safari.
  2. Click the Tabs  button. Below the images of tabs open on your Mac, you see a list of open tabs from your other supported devices. 
  3. Hover the pointer over the tab that you want to close, then click the Close  button that appears."


If all software is updated and following the above steps does not resolve the behavior, it will be best for you to Contact Apple Support for assistance.


Have a good one!

Same problem here and it is clearly not working as expected.


I just gave up using the Shift-Command-T combination and am now using the browser history to reopen closed tabs.

Yes, but the reopened tab should not instanty close again by itself (= disappear).

Hi,

both my MacBook Air and iPhone are updated to newest versions of software. The issue happens when I use Safari only on my Mac, not on iPhone, there I can normally reopen recently closed tabs by long pressing + button. I am not using my Safari actively on my iPhone at the time.


I will contact Apple support. Thanks for trying

Hello


I have the same problem and its happening in my old Macbook Pro 2016 and my brand new Macbook Air M2 2022 that I just setup my iCloud account, I didn't want to transfert my old data, I wanted to a fresh start with my new laptop, and I have the same problem in both machines.


I hope you can help us !

I have the same problem.


When you re-open the last tab closed. The tab re-opens for a second, then closes automatically and ALSO dissapear from the browsing history.


It's happening to me for almost a year. It persisted from Catalina to Ventura.


IT'S SUPER ANNOYING, how can it be fixed?


Thanks <3

Hey, I have the same problem, it is weird it comes and goes. At times I think I fixed it by force quitting Safari or restarting my mac. But it didn't work this time. I need help too

Same here and it's driving me wild.


It doesn't even put the auto-closed tab back in the Recently Closed list, so it's gone forever.

We are aware of the shortcut and are trying to use it 😆

The bug is that the reopened tab instantly closes again and then cannot be recovered at all.