Set General system preferences
Choose Apple menu > System Preferences, then click General and make sure that "Close windows when quitting an app" is selected. If this option isn't selected, Safari opens to your specified page only if that page was open when you last quit Safari. Learn more about how your Mac automatically re-opens windows, apps and documents.
Set Safari preferences
Open Safari, then choose Safari > Preferences and click General. Adjust these settings:
- Safari opens with: Choose any setting except "All windows from last session". If you don't see this menu, make sure that you followed the instructions in the previous section.
- New windows open with: Choose Homepage.
- Homepage: Enter the URL of the page that you want Safari to display when it opens. Or click Set to Current Page to use the URL of the page that's currently active.
If Safari appears to be stuck on an unexpected homepage
If Safari remains on a homepage or search engine that you don't want, despite following the steps above, a phishing site may have tricked you into installing unknown or suspicious software.
If you think that you might have malware or adware on your Mac, update to the latest version of macOS. If your Mac is already running the latest version, restart it. macOS includes a built-in tool that removes known malware when you restart your Mac.
If the homepage still appears stuck, check for and remove any unknown or suspicious apps, browser extensions or system configuration files, and learn how to manage app security settings on your Mac.
- To remove apps, open the Applications folder on your Mac, then drag any suspicious apps to the Trash. Choose Finder > Empty Trash.
- To remove browser extensions, open Safari preferences, then click Extensions. Select any suspicious extensions, and click the Uninstall button.
- To remove system configuration profiles,* choose Apple menu > System Preferences, then click Profiles. Look for any profiles that you don’t recognise or that seem suspicious. The profile may or may not seem related to the homepage you want to change. Click the suspicious profile to select it, then click the Remove button (-) below the list of profiles. Click Remove to confirm. Restart your Mac, then try changing your homepage in Safari preferences again.
* If your Mac belongs to your school or organisation, check with your system administrator before deleting a necessary profile.