Connect to Wi-Fi Using a QR Code on a Windows PC, Easy Steps

Updated on

To connect to Wi-Fi using a QR code on Windows 11, open Camera, switch to barcode mode, and scan the code. Select the result and confirm the network in Settings. On Windows 10, use a phone or a local QR reader to get the network name and password, then connect from the taskbar.

Windows laptop beside a printed guest Wi-Fi QR code on a wooden desk.
A Wi-Fi QR code can carry the network name and password.

Choose the quickest method for your PC

What you have What to do
Windows 11 24H2 or later with a webcam Scan with the Camera app to open Wi-Fi settings and join.
Windows 10 Read the code, then connect manually. A compatible scanner can also offer a join button.
A QR picture saved on the laptop Show the picture to your phone or open it in a local QR reader.
A desktop or laptop without a webcam Read the code on a phone or ask for the network details. Then join from the Windows Wi-Fi menu.

Scan a Wi-Fi QR code with Camera on Windows 11

Windows 11 added built-in Wi-Fi QR joining in version 24H2. Search the taskbar for winver to check your version. If you’re on an earlier version and Camera doesn’t offer to join the network, use the manual connection steps below.

  1. Open Start, search for Camera, and open the app.
  2. Select the barcode mode icon. Switch from photo mode if needed.
    Barcode mode control in the Windows 11 Camera app.
    Look for this barcode button on the right side of Camera. Once Camera reads the code, select the Wi-Fi link to open Settings.
  3. Hold the QR code on paper or another screen in front of the webcam. Keep the entire square visible.
  4. Select the result that appears in Camera. A supported Wi-Fi code opens Settings.
  5. Check the network name, then choose to add and connect to it. Turn on automatic connection only if you want the PC to join that network again when it is in range.
    Windows 11 Settings asks whether to add the Wi-Fi network after scanning its QR code.
    The prompt shows which network the QR code will add. Check the name and confirm to join. Windows 11 screenshots from Microsoft Support. Used with permission from Microsoft.

You’ll need a working webcam, an enabled Wi-Fi adapter, and the network within range. See Microsoft’s Windows Wi-Fi connection guide.

If barcode mode is missing, check for Windows updates and Camera app updates in Microsoft Store. Check the camera’s privacy shutter if you see a black preview. You can still use the saved-image or manual method below. See Microsoft’s Camera app guide.

Read the QR code and join on Windows 10

  1. Read the code. Try your phone’s built-in QR scanner, or use a local QR reader already on the PC.
  2. Get the network name and password. Some phone scanners only offer to join the network on the phone. If the password is hidden, ask the network owner for it. You can also look up the password on a Windows PC that already has the network saved.
  3. Join on the Windows PC. Select the network on the taskbar and enter its password. See the manual steps for Windows 10 and 11.

If you want to scan directly on Windows 10, the developer of WiFi QR Code Scanner lists support for Windows 10 and 11. Check the Store listing on your PC. If the reader only displays the credentials, use them to connect manually. Use the phone or the network owner’s help if the PC is offline and the reader is not already installed.

Join a guest network from a saved QR image on Windows 10

Suppose your host sends you a Wi-Fi QR code for a network called ExampleGuest. You save the image in Downloads on a Windows 10 laptop without a webcam.

  1. Open WiFi QR Code Scanner on the laptop. Choose its option for opening an image file, then select the QR picture from Downloads.
  2. Check that the scan result names ExampleGuest. If the reader offers Connect, select it to join directly.
  3. If your reader shows only the network details, copy the password. Open the network list from the Windows taskbar, select ExampleGuest, choose Connect, paste the password and select Next.

To check either method, open the taskbar Wi-Fi list again. When Connected appears under ExampleGuest, your laptop has joined the guest network.

Use a saved Wi-Fi QR image without a webcam

  • Image on your laptop: Open the picture on the laptop screen and scan it with your phone. Zoom in until the full QR square is large and clear.
  • Image on your phone: Open it on the phone’s screen and hold it up to your Windows 11 webcam. If the PC has no webcam, use a reader that opens images.
  • Only one device available: Open the image in a compatible local QR reader. Look for an image-file option, such as the one described by the WiFi QR Code Scanner developer.

If the reader shows a string such as WIFI:T:WPA;S:ExampleGuest;P:ExamplePass123;;, S: gives the network name and P: gives the password in this example. Enter the values separately in Windows. Treat your real Wi-Fi QR image like a password and keep it off public QR-decoding sites.

Connect manually after reading the code

  • Windows 11: Select the network, sound, or battery icons on the taskbar to open Quick Settings. Open the Wi-Fi network list, choose the matching name, and select Connect. Enter the password.
  • Windows 10: Select the taskbar network icon, choose the matching network, and select Connect. Enter the password and select Next.

If you’re copying the password from a phone you already use on the network, the iPhone Passwords app shows it under Wi-Fi on supported iPhones. See Apple’s Wi-Fi password guide.

If the QR code scans but the PC won’t connect

What you see What to check
Camera can’t read the square Reduce screen glare, hold the code steady, and change the distance until all four corners are visible.
Camera shows a black preview Open the privacy shutter and check the app’s camera permissions.
The code opens a website Ask the owner for the Wi-Fi sharing code or the network name and password. Venue QR codes can lead to a menu or sign-in page.
The Wi-Fi name is missing Turn Wi-Fi on, turn airplane mode off, and move closer. Check whether your PC supports the network’s Wi-Fi band.
Windows rejects the password Ask the owner for a fresh code if the network password has changed.
Windows joins but there’s no internet Check whether a hotel or café requires a sign-in page. See the public Wi-Fi login page guide.

If your PC cannot see the network after scanning, start with the Wi-Fi adapter and band checklist. A desktop PC needs a Wi-Fi adapter even if it has a webcam.

Can Windows 11 show a QR code for your Wi-Fi network?

On a supported Windows 11 PC, open Settings → Network & internet → Properties for the network you’re connected to. Select Show next to Wi-Fi network password. If your version shows a QR code, another device with a compatible scanner can use it to join. Share the code with the people you want on the network.

Frequently asked questions

Can I connect with a Wi-Fi QR code without typing the password?

Yes. If your scanner supports joining, the code provides the network details automatically. Check the name before confirming the connection.

Does Windows 10 have the same QR-code connection steps as Windows 11?

Follow the phone or local reader method on Windows 10. Use the network name and password to connect, or use a compatible reader’s join button if it has one.

How can I scan a Wi-Fi QR code that is already on my laptop screen?

Use a phone pointed at the screen, or open the saved image in a QR reader on the PC. A local reader can open the file even when the PC has no webcam.

Can I use a Wi-Fi QR code shared by an Android phone or iPhone?

Yes, when the phone shares the network’s Wi-Fi QR code and your Windows scanner recognizes it. Scan the code from the phone’s screen on a supported Windows 11 PC.

Why does Camera scan the code but leave Wi-Fi disconnected?

Open the result in Camera and confirm the connection in Settings. If you only see a web link or text, read the network details separately or ask the network owner for them.

Will a Wi-Fi QR code still work after the password changes?

Share a new QR code with the current password. The old image still carries the previous details.