Pinning critical web applications—such as email inboxes, project dashboards, and internal corporate wikis—to the left side of the Safari tab bar ensures immediate access upon launching macOS. When closing Safari or restarting your Mac causes all pinned tabs to vanish into thin air, misconfigured window restore preferences, corrupted window state plists, or closing windows individually instead of quitting the application are deleting your tab states.
Configure Safari to Open with All Windows from Last Session
If Safari is set to launch fresh windows rather than restoring prior states, pinned tabs are discarded:
- Open Safari on your Mac.
- In the menu bar, click Safari > Settings (or press Cmd + ,).
- Under the General tab, locate the Safari opens with dropdown menu.
- Change the setting from A new window or A new private window to All windows from last session.
- Verify that New windows open with is configured to Empty Page or Start Page.
Quit Safari with Keyboard Shortcut (Cmd + Q) Instead of Closing Windows
Clicking the red circular close button (X) on the top-left of a Safari window closes that specific window and destroys its attached pinned tabs. When finished browsing, always quit the entire application by pressing Cmd + Q. Safari preserves pinned tabs exclusively when terminated as a full process.
Delete Corrupted Saved Application State Cache
If pinned tabs still refuse to save across reboots, corrupted state files are blocking write permissions:
- Quit Safari completely.
- In Finder, press Cmd + Shift + G and enter:
~/Library/Saved Application State/com.apple.Safari.savedState - Delete all files within this directory, then relaunch Safari and re-pin your favourite websites.