How to Block a WiFi Network: Step-by-Step Guide

Abstract: Prevents devices from auto-connecting to unwanted Wi-Fi networks by forgetting saved profiles or using router MAC address filtering.

Created: 2026-10-10 by

To block a specific WiFi network on your device, you must forget the saved profile or disable automatic connection settings. This prevents your computer from joining that SSID in the future. For router-level blocking, use MAC address filtering on the admin panel to deny access entirely.

Understanding Client-Side Blocking

Most users who want to block a WiFi network are actually trying to stop their own device from connecting to it. This is a client-side action. When you "forget" a network, you remove the credentials and configuration stored locally on your operating system. The network itself remains active for other devices, but your computer will no longer attempt to join it automatically. This is the most common interpretation of the request and is safe to perform without affecting other users on the same Wi-Fi.

If you have previously connected to a guest network, an old home network, or a public hotspot that you wish to avoid, removing this profile ensures privacy and prevents unintended data usage. It also stops background applications from searching for or negotiating connections with that specific SSID, which can save battery life on mobile devices.

How to Forget a Network on Windows

Windows provides a straightforward way to manage saved networks through the Settings application. Follow these steps to ensure your PC does not reconnect to the unwanted network.

  1. Open Settings: Press Win + I to open the Windows Settings menu.
  2. Navigate to Network & Internet: Click on the Network & internet tile in the main list.
  3. Select Wi-Fi: In the left-hand menu (or main page in Windows 11), click on Wi-Fi.
  4. Manage Known Networks: Click on the link labeled Manage known networks. You will see a list of all WiFi profiles your computer has saved.
  5. Forget the Network: Find the network you want to block in the list. Click on it to reveal options, then select Forget. Confirm the action if prompted.

Once forgotten, Windows will treat this SSID as unknown. If you need to connect again in the future, you must manually re-enter the password and re-save the profile. This method is effective for both 2.4GHz and 5GHz bands provided they share the same SSID name.

Forgetting a Network on macOS

macOS handles network preferences differently, storing them in the System Preferences under Network settings. Removing a network here achieves the same result as on Windows.

  1. Open System Preferences: Click the Apple menu and select System Preferences.
  2. Go to Network: Click on the Network icon.
  3. Select Wi-Fi: Ensure Wi-Fi is selected in the left sidebar.
  4. Access Advanced Settings: Click the Advanced... button in the bottom right corner.
  5. Remove Preferred Networks: In the Preferred Networks tab, select the network you wish to block. Click the minus (-) button below the list to remove it.
  6. Save Changes: Click OK and then Apply to confirm the changes.

This removes the network from the priority list. macOS will no longer auto-join this SSID when it is in range. If the network is hidden, you may need to delete it from the Other section if it was added manually via Join Other Network.

Blocking at the Router Level

If your goal is to prevent anyone from connecting to a specific network, or to block a specific device from accessing your primary network, client-side forgetting is insufficient. You must configure your router. This requires administrative access to the router's web interface.

Log into your router using its IP address (commonly 192.168.1.1 or 192.168.0.1). Navigate to the Wireless or Security settings. Look for MAC Address Filtering. You can add the MAC addresses of unauthorized devices to a Deny list. Alternatively, if you are trying to block a neighboring network, note that you cannot technically "block" another person's SSID signal. However, you can change your own SSID and password to make it unique and secure, reducing confusion and unauthorized attempts.

For more details on managing connected devices, see our guide on handling Unknown Device on WiFi Network: Troubleshooting Guide. This resource explains how to identify and isolate suspicious connections before deciding to block them.

Why Your Device Keeps Reconnecting

Sometimes, forgetting the network does not stop it from appearing in your available list. This happens because the network is still broadcasting its SSID. Your device sees it, but since you forgot the credentials, it cannot connect. If you want to hide the network from your view entirely, you would need to change the broadcast settings on your own router, which is not possible for external networks.

Ensure that Auto-Connect is disabled for sensitive networks in your OS settings. On Android, go to Settings > Network & Internet > Wi-Fi, tap the gear icon next to the network, and toggle off Auto-suggest hotspots or Connect to open networks. This adds an extra layer of control beyond just forgetting the profile.

Frequently Asked Questions

Can I block a neighbor's WiFi network?

No, you cannot block another person's router from broadcasting its signal. You can only prevent your own devices from connecting to it by forgetting the profile. Attempting to jam or interfere with their signal is illegal in most jurisdictions.

Will forgetting a network delete my password?

Yes, forgetting a network removes all saved credentials, including the Wi-Fi password and security type (WPA2/WPA3). You will need to know the password to reconnect later if you choose to do so.

How do I stop my phone from asking to join a network?

On iOS, go to Settings > Wi-Fi, tap the i icon next to the network, and select Forget This Network. On Android, long-press the network in the Wi-Fi list and select Forget or Remove.

Is blocking a network the same as changing my password?

No. Changing your router password disconnects all devices and requires everyone to re-enter the new code. Blocking a network on your device only affects that specific device. To kick others off your network, change the router password instead.

What if I accidentally blocked my own WiFi?

If you forgot your own home network, simply search for the SSID in your Wi-Fi settings, select it, and enter the correct password again. The network will be re-added to your preferred list.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More