The fastest way to connect your HP printer

Most HP printers connect to WiFi through a setup button on the printer itself, a PIN code displayed on the printer's screen, or through the HP Smart app on your phone or computer. You do not need to touch your router or change any settings — the printer finds your network and joins it automatically once you tell it which one.

The exact steps depend on whether your printer has a touchscreen, which buttons it has, and whether you want to use the app or the printer's built-in menu. This guide covers the three most common routes so you can pick the one that matches what you see on your printer right now.

Key Takeaways

  • HP printers connect to WiFi through a setup button, a PIN code on the printer screen, or the HP Smart app — you choose which method works for your printer model.
  • Before you start, make sure your printer is plugged in, turned on, and within range of your WiFi router (usually 30 feet or less).
  • The printer needs to know your WiFi network name and password, so have both ready before you begin.
  • If the connection fails, restart both the printer and your router, then try again — this fixes most connection problems.
  • Once connected, your printer will remember the network and reconnect automatically each time you turn it on.

What you need before you start

Gather these three things before you touch the printer. First, you need your WiFi network name — this is the name you see when you look for available networks on your phone or computer. Second, you need your WiFi password — the one you type in to connect other devices. If you do not know your password, you can find it on the back or bottom of your router, or you can change it through your router's settings page.

Third, make sure your printer is plugged in and turned on. The printer should be within 30 feet of your router for the strongest connection, though most printers will connect from farther away if needed. If your printer has a touchscreen or display panel, turn it on now so you can see what happens during setup.

Method 1: Using the setup button (easiest for most printers)

Look for a button labeled WiFi, Wireless, or a symbol that looks like radio waves on your printer. Press and hold this button for three to five seconds until you see a light blink or a message appears on the printer's screen. This puts the printer into pairing mode, which means it is ready to find your network.

On your phone or computer, go to your WiFi settings and look for a network name that starts with HP- or DIRECT- followed by numbers or letters. This is your printer's temporary network. Connect to it using the password shown on the printer's screen or in the printer's manual. Once connected, a setup page should open automatically on your device — if it does not, open a web browser and go to 192.168.1.1.

On this setup page, you will see a list of available WiFi networks. Select your home network name, enter your WiFi password, and click connect. The printer will join your network and disconnect from the temporary one. Your phone or computer will automatically reconnect to your home network. The printer is now connected and ready to use.

Method 2: Using a PIN code (for printers with a touchscreen)

On your printer's touchscreen, look for a menu option called Settings, Network, or Wireless. Tap it, then look for WiFi Setup or WiFi Protected Setup. The screen will display a PIN code — a four or eight-digit number. Write this number down.

On your phone or computer, open a web browser and go to your router's settings page. This is usually at 192.168.1.1 or 192.168.0.1, or you can check the back of your router for the exact address. Log in using your router's username and password (also on the back of the router). Look for a section called WPS, WiFi Protected Setup, or Add Device.

Enter the PIN code from your printer into this section and click connect. Your router will send a signal to the printer, and the printer will join your network automatically. This method is more secure than the temporary network method because your password never travels through the air unencrypted.

Method 3: Using the HP Smart app (works on any device)

Download the HP Smart app from the Apple App Store, Google Play Store, or the Microsoft Store, depending on what device you are using. Open the app and tap the plus sign or Add Printer button. The app will search for printers on your network.

When your printer appears in the list, tap it to select it. The app will ask for your WiFi network name and password. Type both in exactly as they appear — WiFi passwords are case-sensitive, which means capital letters matter. Tap connect, and the app will send this information to your printer. The printer will join your network and the app will confirm the connection.

This method works well if your printer does not have a touchscreen or if you cannot find the WiFi button. The app also lets you print from your phone or computer once the printer is connected, so it is worth keeping installed even after setup is complete.

What to do if the connection fails

If the printer does not find your network or the connection drops, restart both devices. Turn off your printer completely, wait 30 seconds, and turn it back on. At the same time, unplug your router, wait 30 seconds, and plug it back in. Once both devices have finished restarting, try the connection method again from the beginning.

If this does not work, check that you are typing your WiFi password correctly. Passwords are case-sensitive and spaces count, so look carefully at the back of your router or in your router's settings to confirm the exact password. If you are still stuck, restart your printer one more time and try a different connection method from the list above — sometimes one method works when another does not.

If your printer connects but then loses the connection after a few minutes, move the printer closer to your router. Walls, metal objects, and other electronics can block the WiFi signal. Even moving the printer a few feet can make a difference. If moving is not possible, consider a WiFi extender or a mesh network system to strengthen the signal in that part of your home.

How to check if your printer is connected

On your printer's screen or touchscreen, look for a network icon — usually a symbol that looks like radio waves or WiFi bars. If this icon is lit up or shows a full signal, your printer is connected. Some printers also display the network name on the screen when you navigate to the network settings menu.

You can also print a network configuration page from your printer to confirm the connection. On most HP printers, hold down the Information or Settings button for a few seconds until the printer starts printing. This page will show your network name, your printer's IP address, and whether the connection is active. Keep this page for your records — the IP address is useful if you ever need to troubleshoot the printer later.

Frequently Asked Questions

Do I need to connect my printer to WiFi, or can I use a USB cable instead?

You can use either. A USB cable connects the printer directly to one computer, and only that computer can print to it. WiFi lets any device in your home print to the printer without cables. Most people choose WiFi because it is more convenient, but USB is fine if you only print from one computer.

What if I do not know my WiFi password?

Check the back or bottom of your router — the password is usually printed there and labeled as "WiFi Password", "Network Key", or "Passphrase". If you cannot find it, you can reset it through your router's settings page at 192.168.1.1 or 192.168.0.1. Log in with the username and password on your router, then look for WiFi settings or security settings to change the password.

Can I connect my printer to a 5GHz network instead of 2.4GHz?

Most HP printers work on 2.4GHz networks only, not 5GHz. If your router broadcasts both, make sure you select the 2.4GHz network during setup. Check your printer's manual to confirm which frequencies it supports — newer models sometimes support both, but older ones do not.

Will my printer stay connected if I restart my router?

Yes. Once your printer connects to your network, it remembers the network name and password. When your router restarts, the printer will automatically reconnect without you doing anything. You only need to set up the connection once.

What if my printer keeps disconnecting from WiFi?

Move the printer closer to your router to strengthen the signal. If that is not possible, check that no other devices are using a lot of bandwidth — streaming video or large downloads can interfere with the printer's connection. You can also try restarting the printer and router together, or switching to a different WiFi channel in your router's settings if you are comfortable doing that.