Sub topic 8
Creating and Switching Profiles
Safari profiles let you keep separate browsing contexts, such as work and personal, inside one Safari installation. This chapter covers how to create, configure, switch, and remove profiles, and the errors people commonly run into.
Prerequisites
This chapter assumes you already:
- Use tabs comfortably, including pinned tabs and Tab Overview.
- Know what a tab group is and how to create one.
- Run Safari 17 or later on macOS Sonoma 14 or later. Earlier versions have no Profiles feature, and menu names can differ slightly between macOS versions.
The next chapter covers exactly which data each profile keeps separate, so this chapter only touches on that.
The working model
A profile is a named browsing space. Each profile has its own set of tab groups, its own favorites, and its own settings for things like the Start Page and extensions. Each profile also opens in its own Safari window.
The most useful mental model has three parts:
- Every window belongs to exactly one profile. The profile name appears in the window's toolbar area, and the window shows only that profile's tabs and tab groups.
- One profile is the default. Safari starts with a profile that holds everything you had before you created any others. In Safari 17 this is shown as Personal.
- New profiles start mostly empty. A new profile does not copy your history, bookmarks, or logins from the current one.
Because a profile is attached to a window, switching profiles means opening or focusing a window in another profile. It does not change the profile of the window you are already in.
Creating a profile
You create profiles in Safari's settings.
- Open Safari and choose Safari > Settings (called Preferences on older macOS versions), or press Command-comma.
- Click the Profiles tab.
- Click Start Using Profiles if this is your first profile. Safari moves your existing data into the default profile.
- Click New Profile.
- Enter a name, choose a symbol and a color, and optionally pick a folder for bookmarks and a Start Page setting.
- Click Done.
Safari opens a new window in the new profile. You can also create a profile from the menu bar with File > New Profile, which opens the same dialog.
Choosing a name, symbol, and color
The name, symbol, and color are for you to tell windows apart at a glance. The color tints the toolbar of that profile's windows. Choose colors that differ clearly, because when you have several windows open, color is faster to read than the name.
Profile-specific options
The profile editor offers a few choices that matter later:
- Favorites folder. Each profile can use its own folder of bookmarks as its Favorites, so the Start Page and the Smart Search field suggestions differ per profile.
- Open new tabs with. You can choose what new tabs show, such as the Start Page or an empty page.
- Extensions. You decide which Safari extensions are active in each profile. A new profile does not enable your extensions automatically.
Switching between profiles
There are three common ways to move between profiles.
| Method | How | Result |
|---|---|---|
| File menu | **File > New [Profile name] Window** | Opens a new window in that profile |
| Profile button | Click the profile name or symbol in the toolbar or sidebar and pick another profile | Opens or focuses a window in that profile |
| Window menu | Choose a window from the **Window** menu | Focuses an existing window, which keeps its profile |
If a window for the target profile is already open, choosing it from the profile button brings that window forward instead of making a duplicate.
Setting a profile for new windows
Safari opens new windows in the profile of the window you were last using. If you want a particular profile to be used when you open links from other apps, such as Mail or Messages, set a default in the Profiles settings. The Profiles pane lets you choose which profile opens links from other apps. Without that setting, links open in whichever profile window Safari considers active, which surprises people who expect work links to land in the Work profile.
Assigning tab groups to profiles
A tab group lives in one profile. When you create a tab group in a window, it belongs to that window's profile and appears in that profile's sidebar only.
To move a tab group to another profile:
- In the sidebar, Control-click (or right-click) the tab group.
- Choose Move to Profile.
- Pick the destination profile.
The group disappears from the current profile and appears in the other one. Move a group this way, rather than recreating it, to keep its tabs.
Editing and deleting profiles
To change a profile, return to Safari > Settings > Profiles, select it, and edit its name, symbol, color, favorites folder, or extension list.
To delete a profile, select it in the same pane and click the minus (−) button, then confirm.
Deleting a profile removes the data that belongs only to that profile. That includes its tab groups, history, and website data such as cookies. Treat it as permanent. If any of its tab groups matter, move them to another profile first, and export any bookmarks you want to keep before you delete.
Seeing profiles from the command line
You can open a URL in Safari from Terminal, but the open command does not choose a profile. The URL opens in Safari's current default behavior.
open -a Safari https://www.apple.comTo check which tabs are open in the frontmost window, use AppleScript. The first run may prompt you to allow automation access.
tell application "Safari"
get name of every tab of front window
end tellThe script reads whichever window is frontmost. If that window is in your Work profile, you list Work tabs. This is a quick way to confirm which profile a script is acting on, but it does not expose the profile name itself.
Common errors and how to fix them
- "My bookmarks are missing in the new profile." A new profile starts with its own Favorites folder and does not copy bookmarks. Pick a bookmarks folder in the profile editor, or add the sites you need.
- "I'm still logged in to personal accounts in my Work window." This usually means the window is actually in the Personal profile. Check the toolbar color and the profile name before logging in to anything.
- "A site I log in to on one profile asks me to log in again on another." This is expected. Cookies are separate per profile, so each profile has its own logged-in sessions.
- "My extension doesn't work in the new profile." Open Safari > Settings > Extensions, select the profile if shown, and turn the extension on for it.
- "I can't find the Profiles tab." You are on Safari 16 or earlier, or on macOS older than Sonoma 14. Update macOS to use profiles.
- "Links from other apps open in the wrong profile." Set the profile for opening links from other apps in the Profiles settings, as described above.
- "A tab group vanished." It is probably in another profile. Switch to the other profile or use Move to Profile.
A short practice workflow
Try this sequence to test your understanding:
- Create a profile named Work with a blue color.
- In the Work window, create a tab group called Project and add two tabs.
- Log in to a site in Work, then open the same site in Personal. Confirm that Personal is not logged in.
- Move the Project tab group to Personal with Move to Profile, then move it back.
- Delete the Work profile only after you confirm that you do not need anything in it.
Exercise
You create a Work profile and open a site that you were already logged in to in your Personal profile. The site asks you to log in again. Is something wrong, and what explains it?
Show answer
Nothing is wrong. Each profile keeps its own cookies and website data, so a login in Personal does not carry over to Work. You need to log in separately in each profile.
Exercise
You created a tab group called Research in a Personal window, and now you want it in your Work profile without losing its tabs. What do you do?
Show answer
Control-click (or right-click) the Research tab group in the sidebar, choose Move to Profile, and select Work. The group and its tabs move to the Work profile.
Exercise
Why does running the AppleScript that lists tab names in the frontmost window sometimes show unexpected tabs after you switch profiles?
Show answer
Each window belongs to one profile, and the script reads whichever window is frontmost. After you switch to a window in another profile, the frontmost window changes, so the script lists that profile's tabs.