How iOS, iPadOS and macOS decide which wireless network to auto-join
When auto-joining networks, macOS Ventura, iOS and iPadOS start with the most preferred network, followed by private networks, then public networks.
When your iOS or iPadOS device, or your Mac with macOS Ventura or later, evaluates service set identifiers (SSIDs) and determines which network to auto-join, it will try to connect to networks in this order:
Your "most preferred" network
Known networks are scored based on your actions. If you switch to a network manually, its score will increase. If you disconnect from a network manually, its score will decrease. The "most preferred" network is the network with the highest score.
A private network
Private networks are those set up in homes and offices, and can include the Personal Hotspot on your iOS or iPadOS device or your Mac with macOS Ventura or later. macOS Ventura, iOS or iPadOS will reconnect to known private networks in order of most recently joined.
A public network
Public networks are designed for general access in public places, such as a hotel, airport or coffee shop. Some other examples include Hotspot 2.0, Passpoint, EAP-SIM or Wi-Fi connections that are provided by mobile network providers and network access providers.
If macOS Ventura, iOS or iPadOS finds multiple private or public networks, macOS Ventura, iOS or iPadOS will prioritise networks by the following criteria, in this order:
Configuration method (iOS 16.4, iPadOS 16.4 and macOS Ventura 13.3 or later): private networks configured using a mobile device management (MDM) profile are preferred over manually joined networks.
Highest supported Wi-Fi standard: for example, Wi-Fi 6 networks are preferred over Wi-Fi 5 networks.
Frequency band: 6 GHz, then 5 GHz, then 5 GHz (DFS), then 2.4 GHz.
Security: WPA Enterprise, then WPA Personal, then WEP.
Signal strength: find out more about RSSI and wireless roaming for enterprise.
Unsecured/Open networks will not be auto-joined unless the network has been connected to within the past two weeks.
About auto-joining after a restart
After a restart, iOS and iPadOS Wi-Fi credentials will only become available after you've unlocked your device. iOS and iPadOS will wait until after the device has unlocked before auto-joining any nearby network.