macOS USB Printer Gets Blocked When the Screen Locks — Where to Allow Accessories and Keep It Connected
Joe B.
Reviewed for technical accuracy
Specialities: macOS Sonoma/Ventura, USB & Thunderbolt accessories, Printer drivers, Security & Privacy settings
Fix macOS “Allow accessories to connect” / “Allow USB accessories” blocking printers when Mac is locked
Quick answer: the accepted fix
Accepted fix when macOS “Allow accessories to connect” or “Allow USB accessories” blocks your printer: in System Settings → Privacy & Security, set Allow accessories to connect to Always (or Automatically When Unlocked for stricter setups), use a trusted hub or direct cable, keep macOS and printer drivers updated, and ensure any MDM/security policy allows the USB printer.
Why macOS blocks USB printers when the Mac is locked
On newer macOS versions with Apple silicon, USB and Thunderbolt accessories are controlled by the “Allow accessories to connect” setting in Privacy & Security. If it’s too restrictive, macOS may disable data for USB printers, USB hubs, dongles, and storage devices while your Mac is locked, to protect against rogue devices. That’s why you see printer offline, printer not responding, USB device disabled, or stuck jobs until you wake the Mac. Adjusting this setting for a trusted environment lets your USB printer stay authorized without compromising core security.
How to confirm your macOS USB accessory fix worked
To verify that “Allow accessories to connect” is no longer blocking your printer:
- Set the option to Always (or your chosen level) under Privacy & Security.
- Print a test page while logged in.
- Lock your Mac (Control + Command + Q) or close the lid with an external display if applicable, then send another job (from your Mac or a shared queue).
- If the printer stays online and the job prints without “USB accessories disabled” or “offline” errors, your configuration is correct.
If the printer still drops, you may be hitting hub power issues, third-party security tools, or MDM restrictions — all things an expert can review with you quickly in chat.
macOS printer blocked by USB accessory settings — quick tips
Most cases are fixed by properly trusting known-good USB hubs, docks, and printers in macOS Privacy & Security.
Quick path: open Privacy & Security → raise Allow accessories to connect for your environment → use a powered hub or direct cable → keep printer firmware and macOS updated → confirm no MDM profile is forcing stricter USB rules. This simple checklist eliminates many “Allow USB accessories blocks printer when locked” complaints in small offices and home setups.
Disclaimer: This article provides general macOS configuration guidance. Security policies differ, and managed Macs may restrict USB changes. For environment-specific advice, consult a verified expert on Whizz-Tech before adjusting organizational settings.
Getting Started Is Easy
Ask for help, 24/7
Members get round-the-clock access to macOS and printer Experts who troubleshoot USB accessory blocking, offline printers, and security prompts.
Expert will respond in minutes
Share your Mac model, macOS version, hub/dock, and printer — an Expert tunes “Allow accessories to connect” for secure, stable printing.
Save time & money
Stop guessing at macOS security popups or replacing “bad” printers. One guided session can lock in a permanent fix for your USB printing.
FAQ
Why does my USB printer go offline when my Mac is locked?
On newer macOS versions, the “Allow accessories to connect” security control can block data to USB accessories — including printers — when the Mac is locked or sleeping, so the printer appears offline until you unlock.
How do I stop “Allow USB accessories” from blocking my printer?
Go to System Settings → Privacy & Security → Allow accessories to connect and choose Always (or Automatically When Unlocked in more sensitive environments) for trusted hubs and printers, then test printing again.
Is it safe to set “Allow accessories to connect” to Always for my printer?
In a home or controlled office where only trusted devices are plugged in, Always is typically safe and ensures reliable USB printing. In public or high-risk environments, use stricter options and prefer network printing instead.
What if my Mac is managed and I can’t change the setting?
If the option is greyed out, your organization’s MDM/security policy controls USB accessories. Ask IT to allow your USB printer or switch it to Ethernet/Wi-Fi with AirPrint to avoid accessory blocking.
| Symptom | Likely cause | Quick fix |
|---|---|---|
| Printer works when logged in, offline when locked | Strict Allow accessories to connect setting | Set to Always or Automatically When Unlocked for trusted devices |
| “USB Accessories Disabled” or “printer not responding” | Bus-powered hub, accessory blocked by macOS security | Use powered hub or direct cable, adjust accessory setting |
| Setting greyed out on company Mac | MDM/enforced USB security policy | Contact IT; request exception or move printer to network |
| Random disconnections via USB hub | Unstable hub, macOS re-prompts as new accessory | Trust hub, update macOS, replace unreliable hub |
Step-by-step: stop macOS from blocking your USB printer
- Open System Settings → Privacy & Security.
- Find Allow accessories to connect and switch it to Always (or Automatically When Unlocked for a stricter option).
- Connect your USB printer directly or via a trusted, powered hub.
- Install or update printer drivers, or use AirPrint where supported.
- Lock your Mac and send a test print to confirm the printer stays online.
- If managed by IT, verify no security/MDM profile is overriding these settings.
Using network printing instead of USB (recommended for shared Macs)
- Whenever possible, connect your printer via Ethernet or Wi-Fi and enable AirPrint or IP printing.
- Add it in System Settings → Printers & Scanners as a network printer so it’s not affected by USB accessory restrictions.
Sources
- Apple — Change Privacy & Security settings on Mac (Allow accessories to connect)
- Apple — Use the ports on your Mac & accessory approval
- Apple — If your Mac asks you to allow an accessory to connect
Filed under: macOS printing & CUPS
Related articles
- macOS Photos Book Export Has Blurry Text — What's Lowering the Quality and How to Get Sharp Results
- macOS Adobe apps only print grayscale — ICC pipeline force fix
- macOS cannot print envelopes — tray override CAPS fix
- macOS PDF rotates when printed — auto-rotate kill
- macOS Mail Prints Collapsed Threads — Expand All Fix Guide
- macOS PDF prints wrong fonts — embedded vs substitute pipeline
- macOS Preview Producing Low Contrast Prints — What's Draining the Color and How to Get Sharp Output Again
- macOS printing hangs on “Creating raster…” — ColorSync reset