Forget a network on Mac
Find out which version of macOS your Mac is using, then follow the appropriate steps.
macOS Ventura or later
To forget the network that you're currently using:
Choose Apple menu > System Settings.
Click Wi-Fi in the sidebar.
Click Details next to the network you're using.
Click Forget This Network, then click Remove to confirm.
To forget a network that you've joined before but aren't currently using:
Choose Apple menu > System Settings.
Click Wi-Fi in the sidebar.
Scroll down on the right and click Advanced to see the networks known to your Mac.
Click the more button next to the network, choose Remove From List, then click Remove to confirm.
Earlier versions of macOS
Choose Apple menu > System Preferences.
Click Network.
Click Wi-Fi in the sidebar.
Click Advanced to see the networks known to your Mac.
Select the network, then click the remove button (–) beneath the list. Click Remove to confirm.
Click OK, then click Apply.