By default, your Mac automatically connects to the most recently used Wi-Fi network. But when you’re in a public place with lots of open networks, you might want to prioritize one in particular (like your own hotspot) on your Mac.
You can rearrange the Wi-Fi network priority list in the Network section of System Preferences.
The simplest way to access network preferences comes from the Wi-Fi section of the menu bar. Click on the Wi-Fi icon in the menu bar, then select the “Open network preferences” option.
This opens the Network section from System Preferences.
Here, in the sidebar, make sure that the “Wi-Fi” option is selected, then click the “Advanced” button.
You will see a “Preferred Networks” section in the “Wi-Fi” tab which contains a list of all the networks you have already connected to. Everything is sorted by preference, which means that the network at the top of the list gets the first preference.
From this list, find the network that you want to be your preferred network (such as your access point). Click on the network to select it.
From there, drag the network name to the top of the list, then release it.
Once you see the network at the top of the list, it means it has priority. You can now reorganize the rest of the Wi-Fi networks for second or third priority.
If you’ve already connected to an open Wi-Fi network and don’t want your Mac to connect to it, even if no other priority network is available, remove the Wi-Fi network from the list. Select the Wi-Fi network, then click the Minus button.
Once you have prioritized the list of networks, click the “OK” button in the lower right corner.
Then, in the Network screen, click the “Apply” button to update the priority list.
If you don’t want to remove a network from the list, you can also shut down your Mac automatic connection to a specific Wi-Fi network.