My work has a hidden SSID that I need to join every morning. Is there any way to make my Mac search for the hidden network if no preferred network is available?

Failing that, is there a command I can run from the terminal to connect to a specific SSID?

In my Network preferences, the hidden SSID is first on the list of preferred networks, but it still doesn't join when I'm in the office.

EDIT: It appears the answer below works if you've upgraded to Mojave. It did not work when I was on High Sierra.

1 Answer 1


I have a network with hidden SSID, which I configured using the "Join Other Network".

This was done years ago, and the network is joined when necessary.

You can see (and reorder) "remembered" networks in "Open Network Preferences" Advanced tab

  • The hidden SSID is first in my list of preferred networks in Network -> Wifi -> Advanced, but it still doesnt' join automatically. Feb 21, 2019 at 16:22
  • I just upgraded to Mojave and your answer works now. It did not work on High Sierra for me. May 22, 2019 at 15:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .