On most HP printers, the WPS PIN lives in one of three places: a printed label on the back or bottom of the chassis (usually near the serial number and MAC address), the printer's built-in Wireless or Network menu, or an HP Smart app screen that displays it on demand. If none of those surfaces it, your model likely uses push-button WPS only and has no PIN at all.

That three-location answer covers nearly every HP LaserJet, OfficeJet, DeskJet, and Envy shipped since roughly 2010. But the reason people struggle is not that the PIN is hidden; it is that HP distributes the credential across three different storage layers whose behavior depends on firmware generation, control-panel type, and whether the printer has ever joined a network. Understanding those layers is what turns a frustrating hunt into a two-minute lookup. This guide explains the mechanism behind each location, the model-specific edge cases, and the misconceptions that send people to the wrong place.

What a WPS PIN actually is and why HP stores it three ways

WPS, or Wi-Fi Protected Setup, is a Wi-Fi Alliance certification program introduced in 2007 to simplify joining a wireless network without typing a long passphrase. It defines two enrollment methods: push-button configuration (PBC), where both router and printer enter a two-minute discovery window, and PIN-based configuration, where an eight-digit code authenticates the enrollee. The PIN is not a password in the conventional sense. It is a short-lived credential that the access point validates through the external registrar protocol, then discards.

HP stores the PIN in three distinct places because the credential serves three different consumers. The printed label is a factory artifact: it is generated at manufacturing and encodes the device's default WPS identity for routers that accept label-based enrollment. The on-screen menu exposes a PIN the printer generates or retrieves when you initiate WPS from the control panel. The HP Smart app pulls the same value through the printer's embedded web server or a cloud round-trip, depending on model generation. Each path can surface a different number if the printer's WPS state has changed.

The counterintuitive detail worth flagging early: the PIN on the label and the PIN in the menu are often not the same number. The label PIN is a static factory value; the menu PIN may be dynamically generated each time you open the WPS screen. If a router rejects the label PIN, the menu PIN is the value to try next.

Reading the factory label: where HP prints it and what to look for

HP places the product label in a small set of chassis locations that vary by form factor. On LaserJet and OfficeJet Pro models, it is typically on the rear panel, lower-left, adjacent to the power inlet. On DeskJet and Envy consumer units, it is usually on the underside of the paper input tray or the base of the chassis. On portable and photo printers, it is inside the cartridge access door. The label carries the serial number, product number, MAC address, and, on WPS-capable models, an eight-digit WPS PIN printed under a "WPS PIN" or "PIN" heading.

The label is the fastest lookup because it requires no power and no network. Hold a phone flashlight at a shallow angle; HP prints the PIN in a small font that low-contrast lighting obscures. If the label has worn or the sticker is missing, the chassis itself will not yield the PIN, and you must move to the menu or app path. A missing label is not a defect; it is a normal outcome on refurbished units and on models where HP moved the credential entirely to firmware.

One practical caveat: on some enterprise LaserJet models, the label PIN is disabled by default through a security policy that forces push-button enrollment. In that configuration the printed PIN exists but the access point will reject it. The menu will report WPS as unavailable rather than display a PIN.

The control-panel path: menu trees by model family

The menu path differs by panel type, and panel type is the single best predictor of where the PIN appears. Touchscreen models (Envy, OfficeJet Pro, LaserJet Pro with color displays) expose WPS under Settings, then Network, then Wireless, then Wi-Fi Protected Setup, then PIN. Non-touch models with a two-line LCD (older DeskJet, LaserJet) route through Wireless, then WPS, then PIN, and the panel displays the eight digits for roughly 60 to 120 seconds before timing out. Button-only models with no LCD generally have no menu PIN at all.

Panel type Typical menu path PIN display duration Models
Color touchscreen Settings > Network > Wireless > WPS > PIN Until dismissed Envy, OfficeJet Pro, LaserJet Pro
Two-line LCD Wireless > WPS > PIN 60–120 seconds Older DeskJet, LaserJet
Button-only, no LCD No menu path Not displayed Entry DeskJet, some LaserJet
Web-based (EWS) Network tab > Wireless > WPS Until page reload Most network-capable models
HP Smart app Printer settings > Network > WPS Until app closed Smart-capable models

The timeout is the most common failure point. People open the WPS PIN screen, then walk to the router to enter it, and the printer has already rotated or expired the code. Enter the PIN within the display window, or use the embedded web server, which holds the value until the page reloads. On two-line LCD models, the PIN often appears only after you confirm a prompt, so watch for a "Press OK to display PIN" step.

The embedded web server and HP Smart app: firmware-level retrieval

Every network-capable HP printer runs a small web server addressable by the printer's IP address. Typing that address into a browser on the same network opens the Embedded Web Server (EWS), where the Network tab exposes wireless configuration including the WPS PIN. The EWS is the most reliable retrieval path on models whose panels time out, because the value persists on the page. Finding the IP address is the prerequisite: print a network configuration page from the control panel, or check the router's client list.

The HP Smart app adds a second software layer. On models that support it, the app's printer settings include a Network section that surfaces the WPS PIN on demand. The app route matters when the printer is already on the network but the panel is unreachable or the EWS is locked by an administrator password. The caveat: the app sometimes displays a cached PIN that no longer matches the printer's current WPS state, so if enrollment fails, fall back to the EWS.

Firmware generation changes this behavior. HP pushed WPS PIN support out of some consumer firmware builds after 2018 in favor of push-button-only enrollment, citing the known weakness of PIN-based WPS. On those units, no amount of menu navigation will produce a PIN, because the firmware has removed the external registrar path entirely. The menu reports WPS as push-button only.

Why WPS PIN retrieval fails: edge cases and security limits

WPS PIN-based enrollment has a documented design weakness. The external registrar protocol validates the eight-digit PIN in two halves, and an attacker can brute-force the halves separately, reducing the effective search space from 10^8 to roughly 10^4 plus 10^3 attempts. This is why the Wi-Fi Alliance and router vendors have progressively deprecated PIN-based WPS. HP's firmware changes reflect that deprecation, not a defect in your specific printer.

Practical failure modes cluster into a few patterns. The printer reports WPS as unavailable because the router's WPS is disabled. The PIN is accepted but enrollment times out because the router's two-minute window closed. The PIN from the label is rejected because the factory value was rotated. The printer has no WPS capability at all because it is a USB-only or Ethernet-only model. Each pattern points to a different remedy, and misdiagnosing the pattern is why people cycle through the same three locations repeatedly.

Red flags worth heeding: A router that accepts the PIN but drops the connection repeatedly likely has WPS in a broken state; reboot the router before retrying. A printer that displays "WPS PIN" but rejects every code may have a corrupted WPS state; a factory reset restores it. An EWS that prompts for an administrator password you never set indicates a managed device; contact the administrator rather than guessing. A label PIN that differs from the menu PIN is expected, not a sign of tampering. A printer that shows no WPS menu at all is push-button-only; stop hunting for a PIN.

Practical retrieval sequence and thresholds

Work the locations in order of speed rather than convenience. The label takes under a minute if present. The EWS takes two to three minutes if you know the IP address. The panel path takes one to two minutes but risks the timeout. The app path takes two to four minutes and may return a stale value.

Concrete steps:

Photograph the rear and underside labels before anything else; the PIN is an eight-digit number near the MAC address. If the label is absent, print a network configuration page from the control panel to obtain the IP address. Open a browser to that IP address, navigate to the Network tab, and read the WPS PIN from the wireless section. If the EWS is locked, open HP Smart, go to printer settings, then Network, and surface the PIN there. If no path yields a PIN, confirm the model supports WPS PIN at all; check the control panel for a push-button-only indication. Enter the PIN within the router's enrollment window, typically 120 seconds, and keep the printer within 30 feet of the router during enrollment.

Reconciling the thresholds: the router's WPS window (commonly 120 seconds) is the binding constraint, not the printer's display timeout (60 to 120 seconds on LCD models, indefinite on touchscreens and EWS). If the two windows are similar, the router window closes first. Enter the PIN at the router immediately after it appears on the printer, not after walking back and forth.

What the PIN cannot do and when to abandon it

The WPS PIN enrolls the printer on a network; it does not retrieve a forgotten Wi-Fi password, does not grant administrative access, and does not work across bands if the router's WPS is bound to a single radio. On dual-band routers, WPS often enrolls only on the 2.4 GHz radio, so a printer that joins 2.4 GHz will not appear on the 5 GHz segment. This is a radio-binding limitation, not a PIN error.

Abandon the PIN path when the printer is push-button-only, when the router's WPS is disabled by policy, or when repeated enrollment attempts fail across both label and menu values. In those cases, manual SSID and passphrase entry through the printer's wireless setup wizard is more reliable and avoids the deprecation entirely. The PIN is a convenience credential, and convenience credentials are the first thing vendors remove when they harden firmware.

One professional caveat closes the loop: the PIN's presence on a label is a manufacturing convenience, not a security guarantee. Anyone with physical access to the printer can read it, which is precisely why enterprise deployments disable it. Treat the PIN as a setup shortcut with a short useful life, and rotate to manual configuration once the printer is on the network.