Short answer
On iPhone with iOS 18 or later, open the Passwords app, tap Wi-Fi, pick your network and tap Show Network QR Code. To print the code or keep it on the wall, make one in a QR code app: choose Wi-Fi, type the network name and password, and save the image.
What a Wi-Fi QR code is
It's a normal QR code. Inside is one short line of text with your network name, password and security type, like this:
WIFI:T:WPA;S:MyHomeWiFi;P:my-password;;
When a phone camera reads it, the phone offers to join that network. iPhones and most Android phones can read it with the built-in camera app. Nobody has to type anything.
Way 1: Show a code from your iPhone
This works on iOS 18 and later.
- Open the Passwords app.
- Tap Wi-Fi.
- Tap your network.
- Tap Show Network QR Code.
- Let your guest scan your screen with their camera.
Good to knowThis is quick, but the code only lives on your screen. You have to unlock your phone and find it every time someone asks.
Way 2: Show a code from an Android phone
Most Android phones can show a code for the network they're on. The steps differ by brand:
- Google Pixel: Settings → Network & internet → Internet → tap the gear next to your network → Share.
- Samsung Galaxy: Settings → Connections → Wi-Fi → tap the gear next to your network → QR code.
Menus change between Android versions. If yours looks different, look for Share or QR code in your network's settings.
Way 3: Make a code you can print
A printed code is best for a guest room, a rental, a shop or an office. People scan it whenever they need it, and you don't have to be there.
- Open QR Code & Barcode Scanner and tap Create.
- Choose Wi-Fi.
- Type your network name and password exactly as they are.
- Pick colors if you like.
- Save the image in high resolution, then print it or add it to a sign.
Tips for a code that always works
- Type the network name exactly, with the same capital letters and spaces.
- Print it at least 3 cm (about 1.2 inches) wide, with a dark code on a light background.
- Test it with two different phones before you print a stack.
- If you change your Wi-Fi password, make a new code. The old one stops working.
- Anyone who scans the code can join. Only put it where you'd share the password anyway. A guest network is a good idea.
Questions
Do I need an app to scan a Wi-Fi QR code?
No. The camera app on iPhone and on most Android phones can read it. Point the camera at the code and tap the message that appears.
Is a Wi-Fi QR code safe?
The password is stored inside the code as plain text, so anyone with a QR reader can see it. Treat the code like the password itself.
Does it work for a guest network?
Yes. It works for any network. Many people make a code for a separate guest network, so visitors stay off the main one.
Why doesn't my Wi-Fi QR code work?
Check that the network name and password are typed exactly right, including capital letters. Also check that the phone is in range of the network.