Your HP printer says "Offline" even though it's powered on and connected. You haven't changed anything. It was working yesterday. This is one of the most common support calls we see, and the fix is almost always one of a handful of specific things, depending on whether you're on Windows or Mac. Let's get straight to it.
The short answer: Your printer goes offline because Windows or macOS has lost its communication channel to the device, usually due to a dropped wireless connection, a stale IP address, a bloated print queue, or a misconfigured printer port. Fixing it means identifying which of these broke, not just restarting everything and hoping.
What "Offline" Actually Means (And Why It's Misleading)
When your computer flags a printer as offline, it doesn't always mean the printer itself is switched off or disconnected. It means the operating system's print spooler, the background service that manages print jobs, has stopped receiving acknowledgment from the printer.
On a wireless network, this happens more often than people expect. Your printer's IP address can change after a router restart, leaving Windows pointing print jobs at a ghost address. The printer is physically fine; the system's record of where to find it is stale.
On a USB connection, the same "offline" status usually points to a driver fault or a corrupt pending job in the print queue.
Knowing this distinction saves you from spending 20 minutes restarting a printer that doesn't need restarting.
Common Causes at a Glance
Stale or changed IP address: affects both Windows and Mac on wireless connections. Very common, especially after a router restart.
Overloaded or stuck print queue: happens on both platforms over any connection type. One frozen job can block everything behind it.
Corrupted CUPS printer queue: Mac-specific. The print system's internal data can go stale after an OS update or a bad print job, causing the printer to appear offline even when it's physically fine.
Windows service not running (WSD port): Windows only, wireless connections. The Function Discovery services that handle auto-detected printers can stop running silently.
Wrong or missing printer port: Windows only. After a driver reinstall or IP change, the port Windows uses to talk to the printer can point to the wrong address.
Outdated or corrupted printer driver: both platforms, any connection. Drivers that worked fine before a system update can break quietly.
macOS update breaking HP driver compatibility: Mac only. Major macOS releases (Ventura, Sonoma, Sequoia) occasionally invalidate existing HP printer configurations.
Recent Windows update breaking compatibility: Windows only. Windows updates can replace HP-specific drivers with generic ones that don't fully support your model.
Printer system reset needed on Mac: Mac only. When multiple corrupted printer entries accumulate in CUPS, a full printing system reset is sometimes the only clean fix.
Loose USB cable: both platforms, USB connections only. Less common but worth ruling out before going deeper into software fixes.
Power outage resetting printer settings: both platforms, wireless. A sudden power loss can clear the printer's stored network settings, breaking the wireless connection.
Windows Fixes
Fix 1: Start With HP's Own Diagnostic Tool
Before touching any settings manually, download HP Print and Scan Doctor. It's free and it catches about 60% of offline issues automatically without requiring you to know what went wrong.
- Download HPPSdr.exe from HP's support site and run it.
- Click Start, then select your HP printer model from the list.
- If your printer doesn't appear, restart the printer and click Retry.
- Follow the prompts. When asked about updates and default printer settings, choose Yes for both.
If the tool resolves your issue, you're done. If it flags an error it can't fix automatically, note the error code, it tells you exactly which of the remaining fixes applies to your situation.
Fix 2: Clear the Print Queue
A stuck or overloaded print queue is responsible for more "offline" errors than most people realize. When you send five print jobs and the first one freezes, the others pile up behind it — and Windows eventually marks the printer as unresponsive.
To clear it:
- Open Services (search for it in the Start menu).
- Find Print Spooler, right-click it, and select Stop.
- Navigate to
C:\Windows\System32\spool\PRINTERS and delete all files inside that folder (don't delete the folder itself). - Go back to Services, right-click Print Spooler, and select Start.
- Try printing again.
This works more reliably than canceling jobs through the print queue UI, which sometimes gets stuck itself.
Fix 3: Set Your HP Printer as the Default
Windows can have multiple printer entries for the same physical device, especially after driver reinstalls or network changes. If Windows is sending jobs to the wrong entry (one that's grayed out or stale), everything goes to a dead end.
On Windows 10 / 11:
- Open Settings → Bluetooth & devices → Printers & scanners.
- Uncheck the option "Let Windows manage my default printer" — this is critical, because when this is enabled, Windows automatically reassigns the default based on your recent location, which can flip your default away from your HP printer without warning.
- Click your HP printer, select Manage, then Set as default.
On Windows 8:
- Open Devices and Printers from Control Panel.
- If multiple entries exist for your HP model, right-click the one that is not grayed out.
- Select Set as default printer.
Fix 4: Check the Printer Port and Windows Services (WSD Port Issue)
This is the fix that most general troubleshooting guides skip, and it's the one that solves a large chunk of persistent offline problems on wireless HP printers.
First, check if your printer uses a WSD port:
- Open Control Panel → Devices and Printers.
- Right-click your HP printer → Printer Properties → Ports tab.
- If the active port starts with "WSD," continue with the steps below.
If it uses a WSD port, verify these two Windows services are running:
- Press Win + R, type
services.msc, and hit Enter. - Find Function Discovery Provider Host and Function Discovery Resource Publication.
- Both should show Status: Running and Startup Type: Automatic.
- If either is stopped or set to Manual, right-click → Properties, change Startup Type to Automatic, then click Start under Service Status.
- Go back to Devices and Printers and press F5 to refresh. Check your printer's status.
If the WSD services were the problem, the printer should flip to Online immediately after this refresh.
If the WSD port fix doesn't hold, assign a standard TCP/IP port instead:
- Print a Network Configuration Report from your HP printer (usually found under Settings → Wireless or the Information menu).
- Note the printer's IP address from that report.
- In Printer Properties → Ports, click Add Port → Standard TCP/IP Port → New Port.
- Enter the IP address from the report.
- Press F5 in Devices and Printers and verify the status.
Assigning a static TCP/IP port (rather than relying on WSD auto-discovery) is the more permanent fix for wireless printers that keep cycling back to offline. Even better: assign your HP printer a static IP address through your router's admin panel so the address never changes.
Fix 5: Power Cycle Everything in the Right Order
When the printer's connection drops due to a power outage or router restart, the devices need to re-establish their handshake in order. Restarting the printer alone often isn't enough.
- Turn off your HP printer.
- Unplug the printer's power cord.
- Shut down your computer.
- Unplug your Wi-Fi router, wait 30 seconds, then plug it back in. Wait for it to fully reconnect.
- Plug the printer back in and power it on.
- Turn your computer back on.
- Use HP Smart or the HP Wireless Setup Wizard to reconnect the printer to your network.
- Print a Wireless Network Test Report from the printer to confirm it's connected before sending a print job.
The order matters here. Bringing the router back up first ensures the printer can get a valid IP address when it powers on, rather than falling back on a cached or conflicting address.
Fix 6: Reinstall or Update the Printer Driver
If you've recently updated Windows and your HP printer stopped working immediately after, a driver conflict is the likely cause. Windows updates occasionally replace or overwrite HP-specific drivers with generic ones that don't fully support your model.
- Open Device Manager, expand Printers, right-click your HP printer, and select Uninstall device (check the box to delete driver software if prompted).
- Open Devices and Printers and remove any remaining entries for your printer.
- Restart your computer.
- Download the latest full-feature driver for your specific HP model directly from HP's support site, avoid third-party driver tools.
- Run the installer and follow the setup wizard completely.
After reinstalling, test with a single-page document before queuing multiple jobs.
HP Printer Offline on Mac
Mac and Windows handle printers very differently under the hood. macOS uses a print system called CUPS (Common Unix Printing System), and it has its own quirks that cause offline errors — quirks that Windows fixes simply don't address. If you're on a Mac, start here.
Mac Fix 1: Remove and Re-Add the Printer
This is the Mac equivalent of reinstalling the driver on Windows, and it resolves the majority of HP offline errors on macOS. When a printer's entry in CUPS becomes corrupted or stale — which happens after macOS updates or printer firmware changes, the fastest fix is to delete it and let macOS rebuild it fresh.
- Open System Settings (macOS Ventura and later) or System Preferences (earlier versions) → Printers & Scanners.
- Select your HP printer from the list on the left.
- Click the minus ( — ) button to remove it. Confirm if prompted.
- Click the plus ( + ) button to add a printer.
- Wait for your HP printer to appear in the list. Select it and click Add.
- macOS will automatically pull the correct driver from Apple's built-in HP driver package. If prompted to download additional software, allow it.
- Try printing a test page.
One thing worth knowing: macOS ships with a large library of HP drivers pre-installed. In most cases, re-adding the printer pulls a clean, working driver automatically, no manual download required.
Mac Fix 2: Reset the Printing System (Nuclear Option, But It Works)
If removing and re-adding the printer doesn't work, or if you have multiple corrupted HP entries cluttering your printer list, resetting the entire printing system wipes all printer data and CUPS queue entries clean. You'll need to re-add every printer afterward, but it reliably eliminates deep-seated corruption that individual fixes can't touch.
- Open System Settings → Printers & Scanners.
- Right-click (or Control-click) anywhere in the printer list on the left.
- Select Reset printing system… from the context menu.
- Enter your Mac administrator password when prompted and confirm.
- Once complete, click + to re-add your HP printer.
After the reset, macOS rebuilds CUPS from scratch. Printers re-added after this point start with clean queue and configuration data.
Mac Fix 3: Clear the CUPS Print Queue via Terminal
When a stuck print job is causing the offline error and the normal queue UI won't let you cancel it, the Terminal gives you a direct line to CUPS to force-clear everything.
- Open Terminal (Applications → Utilities → Terminal).
- Type the following command and press Enter:
- To also restart the CUPS service, run:
sudo launchctl stop org.cups.cupsd && sudo launchctl start org.cups.cupsd
- Enter your Mac password when prompted.
- Try printing again.
The cancel -a command cancels all pending jobs across all printers. The second command fully restarts the CUPS daemon, equivalent to what Windows users do when they stop and restart the Print Spooler service.
Mac Fix 4: Check the Printer's IP Address in CUPS
On a wireless connection, macOS stores your printer's IP address when you first add it. If your router later assigns the printer a different IP (after a restart or DHCP lease renewal), macOS keeps pointing to the old address, and the printer shows offline.
To check and update it:
- Open a browser and go to
http://localhost:631 — this opens the CUPS web interface built into macOS. - Click Printers at the top.
- Find your HP printer and click its name.
- Under Description, look at the device URI (it will show something like
hp://ip/... or socket://192.168.x.x). Note the IP address. - Print a Network Configuration Report from your HP printer's Settings or Wireless menu to find its current IP.
- If the IPs don't match, remove and re-add the printer using Mac Fix 1 above — macOS will pick up the new address when you re-add it.
The long-term fix is the same as on Windows: assign your HP printer a static IP through your router's admin page so the address never drifts.
Mac Fix 5: Update or Reinstall the HP Driver on Mac
After a major macOS update (Sequoia, Sonoma, etc.), HP drivers occasionally break. Apple's generic AirPrint driver works for basic printing, but some HP models need the full HP software package for all features to function.
- Open System Settings → General → Software Update and ensure macOS is fully up to date — HP driver fixes often arrive via system updates.
- If that doesn't resolve it, go to HP's support site, search for your specific printer model, and download the HP Easy Start installer for Mac.
- Run the installer. It will detect your printer and install the appropriate full-feature driver.
- After installation, remove and re-add the printer in Printers & Scanners so macOS uses the newly installed driver.
Avoid downloading HP drivers from third-party sites. HP's official installer handles driver-to-OS compatibility matching; third-party versions often don't.
Mac Fix 6: Check macOS Firewall and Privacy Settings
This one catches people off guard. If your Mac's firewall is set to block incoming connections, it can prevent macOS from receiving the printer's status broadcasts, which causes the printer to appear offline even when it's fully operational on the network.
- Open System Settings → Network → Firewall.
- If the firewall is on, click Options.
- Check whether "Block all incoming connections" is enabled. If so, disable it (or at minimum add an exception for HP software).
- Also check System Settings → Privacy & Security → Local Network and ensure HP Smart (if installed) has permission to access the local network.
On shared office or university networks where network policies restrict device discovery, HP Smart's Add Printer by IP option is more reliable than auto-discovery. Use the printer's IP address directly instead of waiting for it to appear in the list.
Preventing the Offline Problem From Coming Back
These habits apply on both Windows and Mac:
- Assign a static IP to the printer through your router. Dynamic IP assignment is the #1 cause of recurring wireless offline errors on both platforms. Once you lock in an IP, the printer's network address never changes after a router restart.
- Keep the print queue short. Don't send the same document three times hoping the printer responds faster, it won't, and you'll have a queue problem on top of the original issue.
- Don't turn off your printer with the power strip. Always use the printer's own power button so it can park the print heads and save its connection settings properly.
- Update HP firmware periodically. HP releases firmware updates that fix known wireless connectivity bugs. Check HP Smart or your printer's built-in web server (enter the printer's IP in a browser) for available updates.
- On Mac: re-add the printer after every major macOS update. It takes 30 seconds and prevents the stale-driver issue that causes offline errors post-update more often than anything else.
If you've worked through all of these steps and your HP printer is still showing offline, the issue may be hardware-level, a failed network card inside the printer or a damaged USB port. At that point, running HP's hardware diagnostic from the printer's built-in menu (usually under Setup → Self Test or Reports) will either confirm the hardware is fine or flag the specific component that's failed.