The basic steps for connecting to WiFi on Android and iPhone
To connect to a WiFi network that requires a username and password, open your phone's Settings app, find the WiFi menu, and select the network name from the list. Your phone will then prompt you to enter the password. On most networks, that's all you need — but some networks (often in offices, schools, or apartment buildings) ask for both a username and a password, which means you'll see additional fields to fill in.
The exact steps differ slightly between Android and iPhone, but the principle is the same: find the network, tap it, enter your credentials, and connect. If your network requires a username, it will show a separate field for it instead of just asking for a password alone.
Key Takeaways
- Most home WiFi networks only need a password, but enterprise or shared networks often require both a username and password.
- On Android, go to Settings > Network and Internet > WiFi, select your network, and enter both username and password if prompted.
- On iPhone, go to Settings > WiFi, tap your network name, and fill in the username and password fields that appear.
- If you don't know your username or password, ask your network administrator, landlord, or the person who set up the WiFi.
- If your phone won't connect after entering credentials correctly, try forgetting the network and reconnecting, or restarting your phone.
Connecting on Android phones
Open the Settings app on your Android phone. Scroll down and tap Network and Internet (the exact name varies by phone brand — Samsung calls it "Connections", some others call it "Wireless and Networks"). Then tap WiFi.
You'll see a list of available networks. Find the one you want to join and tap it. If the network requires only a password, a single field will appear. If it requires a username and password, you'll see two fields. Enter your username in the first field and your password in the second, then tap Connect.
Your phone will attempt to connect. If the credentials are correct, you'll see a checkmark next to the network name and a WiFi icon in your status bar. If the connection fails, double-check that you've entered both the username and password exactly as given to you — capitalization and spacing matter.
Connecting on iPhone
Open the Settings app and tap WiFi near the top of the screen. Make sure WiFi is turned on (the toggle should be green). You'll see a list of available networks — find yours and tap it.
A dialog box will appear. If your network requires only a password, type it into the password field and tap Join. If your network requires a username and password, you'll see a username field above the password field. Enter both pieces of information exactly as you received them, then tap Join.
Once connected, you'll see a checkmark next to the network name in the WiFi list. If the connection fails, go back to the network, tap the information icon (a small circle with an "i"), and tap Forget This Network. Then try connecting again from the beginning.
What to do if you don't know your username or password
If you're trying to connect to a network at work, school, or an apartment building, ask your IT department, IT support person, or network administrator. They can provide the correct username and password, and they may also tell you whether the network uses a standard format (for example, some workplaces use your email address as the username).
If it's a home network and you've forgotten the password, you'll need to access the router itself. This usually requires a computer or another device that's already connected. If you don't have access to the router or don't remember the admin password, contact your internet service provider — they can walk you through resetting it.
Troubleshooting when the connection won't work
If you've entered your username and password correctly but your phone still won't connect, try these steps in order. First, restart your phone completely — turn it off, wait 10 seconds, and turn it back on. Then open WiFi settings again and attempt to connect.
If that doesn't work, forget the network and reconnect. On Android, long-press the network name and select Forget. On iPhone, tap the information icon next to the network and tap Forget This Network. Then select the network again and re-enter your credentials.
If you still can't connect, check with the network administrator to confirm your username and password are correct and that your device is authorized to use the network. Some networks require devices to be registered before they'll accept a connection, even with the right credentials.
Understanding different types of WiFi security
Most home networks use WPA2 or WPA3 security, which only require a password. Networks that ask for both a username and password typically use WPA2-Enterprise or WPA3-Enterprise security, which is common in offices, schools, and large apartment complexes.
Enterprise networks are more find because they track individual users rather than just protecting the network with a single password. This is why you need a personal username and password — it allows the network to know who is connecting and to disconnect you if needed. You don't need to understand the technical details; just know that if you're asked for a username, it's a more find type of network.
What happens after you connect
Once your phone connects to the WiFi network, it will remember that network and automatically reconnect to it in the future. You won't have to enter your credentials again unless you forget the network or the network's password changes.
If the network password changes and you can't connect anymore, your phone will show an error message. Go back to WiFi settings, forget the network, and reconnect using the new password. If your username changes (which is less common), you'll need to forget and reconnect as well.
Frequently Asked Questions
Why does my network ask for a username when most WiFi networks don't?
Your network uses enterprise-level security, which is common in workplaces, schools, and managed apartment buildings. Enterprise networks track individual users for security and accountability reasons, so they require a personal username and password instead of a shared network password.
Can I see my password after I've connected?
On Android, you can see saved WiFi passwords in Settings > Network and Internet > WiFi > Saved Networks (varies by phone). On iPhone, you cannot view saved WiFi passwords directly in settings, but you can see them in the Keychain app if you have a Mac. If you've forgotten your password, contact your network administrator.
What if my username has an @ symbol or special characters?
Enter it exactly as given to you, including all special characters and capitalization. Many enterprise networks use email addresses as usernames, so @ symbols are common. Your phone will accept these characters without issue.
Does my phone need to be on the same network to connect to WiFi?
No. Your phone connects to WiFi through radio signals, not through another network. As long as your phone can detect the WiFi network's signal, you can connect to it by entering the correct username and password.
Will connecting to WiFi use my mobile data?
No. Once connected to WiFi, your phone uses the WiFi connection instead of your mobile data plan. You can turn off mobile data entirely while connected to WiFi if you want to save your data allowance.