17

How does one disconnect from a wifi hotspot on Mac OS X?

The only way I found how is to Turn Wi-Fi off then back on and finally select a different access point...

Surely there must be a better way.

2 Answers 2

24

Hold down the option key when you click on the WiFi menu. Then next to the currently active network there will be a "Disconnect from" option. I'm on Yosemite, and so I'm not sure whether this was present on earlier versions of OS X.

enter image description here

6
  • I'm on Yosemite too so will not comment on that part. Thanks for your answer. Nov 17, 2014 at 23:16
  • 1
    The disconnect option is not available in Lion.
    – lhf
    Nov 18, 2014 at 1:10
  • 3
    FYI, the Disconnect option is not available on Mavericks either. This has to be the most stupid design I've ever seen. Ended up disabling Remember networks this computer has joined in the Wifi options. Apr 10, 2015 at 10:18
  • 1
    Mine immediately reconnects after selecting 'disconnect'.
    – Justin
    Mar 8, 2016 at 21:11
  • Directly hit on the bull's eye... Thanks for the answer Jun 15, 2016 at 11:20
4

Or you can use Terminal:

Instead of "DEVICE_NAME" use your interface (i.g.: en0)

sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport "DEVICE_NAME" -z
1
  • Thanks, this works on Big Sur which does not, AFAICT, have a “disconnect” option.
    – lbutlr
    Jan 7, 2021 at 22:33

You must log in to answer this question.

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