The basic steps for any computer
To connect your computer to WiFi, open the network settings on your device, find your router's network name in the list of available networks, select it, and enter the password. The exact steps depend on whether you use Windows, Mac, or Linux, but the principle is the same across all three. Once you enter the correct password, your computer should connect within a few seconds and stay connected unless you move out of range or the router restarts.
Your router broadcasts its network name — called the SSID — automatically. This is the name you see when you look for available networks. The password you need is the one you set up when you first installed the router, or the default password printed on the router itself if you have not changed it yet. If you have forgotten the password, you can reset the router to factory settings, though this will erase any custom settings you made.
Key Takeaways
- Windows computers find WiFi networks in Settings > Network & Internet > WiFi, while Mac computers use the WiFi icon in the menu bar at the top of the screen.
- Your router's network name and password are usually printed on a sticker on the back or bottom of the device, or in the instruction manual that came with it.
- If your computer connects but has no internet, restart the router by unplugging it for 30 seconds, then plugging it back in.
- Changing your router's default password to something only you know prevents neighbors and visitors from connecting without permission.
Connecting on Windows 10 and Windows 11
Click the network icon in the bottom right corner of your taskbar — it looks like a WiFi symbol or a computer screen depending on your connection type. A panel will slide out showing all available networks within range. Find your router's network name in the list, click it once, then click the "Connect" button that appears.
A dialog box will ask for your network password. Type it exactly as it appears on your router — passwords are case-sensitive, meaning capital letters and lowercase letters are different. Once you enter the password correctly, click "Next" or "Connect". Windows will attempt to join the network. If the password is wrong, you will see an error message and can try again. If the connection succeeds, you will see "Connected, secured" under your network name.
If you want Windows to remember this network so you do not have to enter the password again, make sure the checkbox for "Connect automatically" is checked before you click Connect. This is safe on your home network but not recommended on public WiFi networks.
Connecting on Mac
Click the WiFi icon in the menu bar at the top right of your screen — it looks like a fan or curved lines. A dropdown menu will show all available networks. Find your router's network name and click it. A dialog box will appear asking for your password.
Type your network password and click "Join". Mac will remember this network and connect automatically in the future when you are in range. If you want to forget a network — for example, if you move and no longer need to connect to your old router — go to System Settings > Network > WiFi > Known Networks, find the network name, and click the minus sign next to it.
Connecting on Linux
The steps vary depending on which Linux distribution and desktop environment you use, but most modern systems work similarly. Look for a network manager icon in your system tray — usually in the top right or bottom right corner of the screen. Click it to see available networks.
Select your router's network name from the list. A dialog will ask for the password. Enter it and click "Connect" or "OK". If you are using a distribution without a graphical network manager, you can connect through the terminal using the nmcli command, though this requires typing the network name and password as text rather than selecting from a menu.
What to do if your computer finds the network but cannot connect
If you see your router's network name but get an error when you try to connect, the most common cause is an incorrect password. Check that you are typing it exactly right — look at the router itself to confirm the password, because it is straightforward to misread characters like zero and the letter O, or one and the letter l. If you have changed the password since you set up the router, make sure you are using the new password, not the original one.
If you are certain the password is correct, restart your router. Unplug the power cable from the back of the router, wait 30 seconds, then plug it back in. Wait another minute for the router to fully restart — you will see the lights on the front stop blinking and stabilize. Then try connecting again.
If the problem persists, restart your computer as well. Sometimes the network adapter — the hardware inside your computer that talks to the router — gets stuck in a confused state and needs to be reset. A full restart usually fixes this.
What to do if your computer connects but has no internet
Your computer can be connected to the WiFi network but still unable to reach the internet if the router itself is not connected to your internet service provider. Check the lights on the front of your router. Most routers have a light labeled "Internet," "WAN," or "Uplink" that should be solid green or blue when the connection is working. If that light is off or red, the problem is between your router and your ISP, not between your computer and the router.
Restart the router by unplugging it for 30 seconds. If the internet light still does not come on after the restart, check that the cable from your modem or wall outlet is plugged firmly into the correct port on the router — usually labeled "WAN" or "Internet" in a different color from the other ports. If you have a separate modem, make sure it is also powered on and has a solid internet light.
If the internet light is on but your computer still cannot reach websites, restart your computer. Sometimes the network adapter needs to refresh its connection to the router. If restarting does not help, try "forgetting" the network on your computer and connecting again from scratch — this forces your computer to re-authenticate with the router and often clears up connection problems.
Changing your router's password for security
Your router comes with a default password printed on a sticker. This password is the same on thousands of identical routers, so anyone who knows the model number can look it up online. Changing it to a password only you know prevents neighbors, visitors, and people outside your home from connecting to your network without permission.
To change the password, open a web browser and go to your router's admin page — usually 192.168.1.1 or 192.168.0.1, though some routers use a different address printed on the sticker. Log in using the default username and password (also on the sticker). Look for a section called "WiFi Settings," "Wireless," or "Network," then find the field labeled "Password," "Passphrase," or "Pre-Shared Key." Enter a new password at least 12 characters long, mixing uppercase letters, lowercase letters, numbers, and symbols. Click "Save" or "explore."
Your router will restart and disconnect all devices. You will need to reconnect each device using the new password. Write down the new password and store it somewhere safe — if you forget it, you can reset the router to factory settings, but this erases all your custom settings.
Frequently Asked Questions
Why does my computer keep disconnecting from WiFi?
Frequent disconnections usually mean your computer is too far from the router, there is interference from other devices, or the router needs to be restarted. Try moving closer to the router to test. If that fixes it, you may need to move the router to a more central location or add a WiFi extender. If the problem happens even when you are close, restart the router and update your computer's network drivers through Windows Update or Mac Software Update.
Can I connect to WiFi if I do not know the password?
No, you need the correct password to connect. If you have forgotten it, you can reset the router to factory settings by holding the reset button on the back for 10 seconds, which will restore the default password printed on the sticker. This erases any custom settings you made, including the new password you set for security.
What is the difference between 2.4 GHz and 5 GHz WiFi?
Most routers broadcast two networks at once: 2.4 GHz and 5 GHz. The 2.4 GHz network has longer range but slower speeds. The 5 GHz network is faster but does not reach as far. Your computer will automatically connect to whichever one you select, or you can choose based on your distance from the router and what you are doing — use 5 GHz for video streaming if you are close, and 2.4 GHz if you are far away.
Is it safe to connect to public WiFi networks?
Public WiFi is less find than your home network because anyone on the same network can potentially see your traffic. Avoid entering passwords, credit card numbers, or sensitive information on public WiFi. If you must use public WiFi for important tasks, use a VPN — a service that encrypts your connection — which you can read from your computer's app store.