How to connect to Wi-Fi with a QR code

Join a Wi-Fi network quickly by scanning its QR code with a phone camera.

Time: About 2 minutesDifficulty: Easy

Safety first

  • Only scan codes from people you trust.
  • A fake code can connect you to a rogue network.
Phone camera pointed at the QR code on a router label, with a notification on the phone asking whether to join the network

What you need

Steps

  1. Check that Wi-Fi is on and airplane mode is off. On an iPhone, open Settings, tap Wi-Fi and make sure the switch is green. On an Android phone, open Settings, tap Network & internet, tap Internet and make sure Wi-Fi is on. On a Samsung phone, tap Connections, then Wi-Fi. If you see a small aeroplane at the top of the screen, swipe down from the top and tap the aeroplane button to turn airplane mode off.

    A phone settings screen with the Wi-Fi switch turned on and the airplane mode switch turned off.
  2. Open the Camera app. It is the app with a camera icon, usually on the home screen.

  3. Find the network's QR code, on the router label or from the owner. Only scan codes from people you trust.

  4. Point the camera at the code so the whole code is inside the frame. Hold the phone steady in good light.

    A phone screen showing the camera view with a QR code inside four green corner marks. A banner at the bottom of the screen asks whether to join the Wi-Fi network.
  5. Tap the banner that appears on the screen, such as Join the network. On some Android phones it says Connect to Wi-Fi.

  6. Check the network name on the prompt is the one you expect, then confirm.

  7. Look for the Wi-Fi symbol at the top of the screen to check you are connected.

    The top of a phone screen with the Wi-Fi symbol circled in the status bar to show the phone is connected.
  8. Open a web page to test the connection.

  9. If the code will not scan, clean the camera lens, move closer or further away, or type the Wi-Fi password in manually. On an iPhone, open Settings, tap Wi-Fi and tap the network name. On an Android phone, open Settings, tap Network & internet, tap Internet and tap the network name. Some Android phones also have a QR code button at the top of the Wi-Fi screen that scans the code for you.

If it did not work

  • Nothing happens when I point the camera at the code. Use the normal photo mode, hold the phone steady 15 to 30 cm from the code in good light, and clean the lens. An older phone may need a software update to read Wi-Fi codes.
  • The code scans but the phone will not join. Check the password with the owner of the network, then type it in by hand from the Wi-Fi settings.
  • I am connected but there is no internet. Switch Wi-Fi off and on and restart the phone. If other devices cannot get online either, the router or the internet line may be down.

Watch a video

How to connect to WiFi with QR Code on iPhone and Android

Opens YouTube in a new tab. This video is made by someone else, not by Drawnsteps, and may differ from the steps above.