Printer troubleshooting technician providing live chat help on macOS USB accessories

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

Technician avatar Technician
Hey! Let’s sort out why your USB printer stops working when your Mac is locked.
On macOS with Apple silicon there’s a Privacy & Security setting called “Allow accessories to connect” (often called “Allow USB accessories”) that can silently block USB and Thunderbolt devices — including printers, docks, and USB print servers — whenever the Mac is locked or sleeping.
First I’ll ask a couple things: which macOS version (Sonoma, Ventura, Monterey)? Is this a MacBook on USB-C with a hub/dock, or a direct USB-A/USB-C printer connection? And does the printer work fine while you’re logged in but show “offline” or “printer not responding” as soon as the screen locks?
Customer
Sonoma on an M2 MacBook Pro. Printer is via USB on a hub. It prints fine while I’m using the Mac, but if it’s locked, jobs from other users or from my Mac just hang and show “printer offline” or “USB device not available”.
Technician avatar Technician
Perfect description — that matches the Allow accessories to connect behavior.
On recent macOS versions, especially on Apple silicon MacBooks, USB and Thunderbolt accessories are gated for security. If “Allow accessories to connect” is set to Ask Every Time or Ask for New Accessories, your Mac may cut data to USB devices when it’s locked, so the USB printer appears offline, paused, or not recognized until you wake and approve it.
Let’s tune those settings so your printer stays usable without weakening security more than necessary.
Customer
Where exactly is that setting? I only saw a popup once about allowing the hub and clicked something quickly.
Technician avatar Technician
Step 1 — Check “Allow accessories to connect” in macOS
On Sonoma/Ventura:
  1. On your Mac, go to Apple menu  → System Settings → Privacy & Security.
  2. Scroll down to Allow accessories to connect.
  3. You’ll see options such as:
    • Ask Every Time
    • Ask for New Accessories
    • Automatically When Unlocked
    • Always
  4. If you print through a trusted USB hub or directly connected printer, choose:
    • Automatically When Unlocked for a balance of security + reliable printing, or
    • Always if this Mac is in a safe environment and you want the USB printer and dock to stay available even when locked.
This stops macOS from silently blocking your USB printer when the Mac is locked.
Customer
Found it. It was on “Ask for New Accessories”. If I switch to “Automatically When Unlocked”, will print jobs still fail when it’s locked?
Technician avatar Technician
Good catch — that explains the behavior.
Here’s how the options impact a USB printer on macOS:
  • Ask Every Time: Mac may block USB accessories whenever locked; bad for shared or background printing.
  • Ask for New Accessories: Existing trusted devices usually stay allowed, but hubs/docks can get re-prompted, causing random “printer offline when locked”.
  • Automatically When Unlocked: Accessories are fully trusted while you’re logged in and active; some jobs may pause if the Mac is locked for long.
  • Always: Best for stable USB printer connectivity where physical access is controlled (office/home); the printer won’t be blocked just because the display is locked.
If you run jobs while away or other users send print jobs through your Mac, set it to Always for that trusted hub/printer scenario.
Customer
It’s a small office; my Mac shares the USB printer. People print through it when I’m not at my desk. So “Always” is safest for us?
Technician avatar Technician
For a physically secure office, yes — Always is usually the right call:
  1. It keeps your USB printer, hub, or USB print server authorized even when the Mac is locked.
  2. Prevents random “USB Accessories Disabled” or “Printer not responding” messages after sleep/lock.
  3. Makes your Mac a reliable print host for others on the network.
If you ever move to a public/shared environment, you can switch back to Automatically When Unlocked or stricter. For now, set it to Always, apply, then we’ll confirm printing behavior when locked.
Customer
Done. Anything else I should check? It’s connected through a USB-C hub with other devices.
Technician avatar Technician
Great. A few more macOS USB printer specifics to avoid intermittent blocking:
  • Use a powered USB-C hub or dock for printers and scanners — bus-powered hubs can drop the device under load, which macOS may treat like a new/untrusted accessory.
  • Install the latest macOS printer driver or use AirPrint if your printer supports it; outdated vendor extensions can mis-handle reconnects.
  • Plug the printer directly into the Mac or primary hub port where possible; long daisy-chains increase accessory approval quirks.
After that, lock your Mac, send a test print from another device (if shared), and confirm the queue no longer stalls with “offline when locked”.
Customer
Test job went through while locked. What about company-managed Macs? Our IT mentioned security policies on USB accessories.
Technician avatar Technician
Good point. In managed environments, MDM or configuration profiles can override what you see:
  • Your admin may force stricter USB accessory policies, causing printers or hubs to disconnect when the Mac is locked.
  • If Allow accessories to connect is greyed out or keeps reverting, it’s controlled centrally.
  • Workaround: ask IT to:
    • Allow your specific USB printer/hub as trusted, or
    • Move the printer to Ethernet/Wi-Fi with AirPrint so macOS treats it as a network printer instead of a USB accessory.
We can help you phrase exactly what to request from IT in chat for a secure, compliant fix.
Customer
Makes sense. Any final checklist so we don’t keep fighting this?
Technician avatar Technician
Final checklist to stop macOS “Allow accessories to connect” from breaking printing:
  • Set System Settings → Privacy & Security → Allow accessories to connect to Always (or at least Automatically When Unlocked) for trusted setups.
  • Use a reliable, powered hub or direct cable for your USB printer.
  • Ensure latest macOS updates and printer drivers or AirPrint support are installed.
  • For shared printers, leave the host Mac on power, lid open or allowed to manage accessories, so jobs aren’t dropped.
  • In corporate environments, confirm with IT that accessory restrictions and endpoint security tools permit your USB printer.
If anything on that list is unclear for your exact model or policy, start a chat and we’ll walk through it live.
Customer
After changing that setting and using a powered hub, the printer stays online even when my Mac is locked. Thanks for the help!
Technician avatar Technician
Summary: If macOS “Allow accessories to connect” / “Allow USB accessories” is too strict, your USB printer goes offline whenever the Mac locks. Fix it by adjusting the Privacy & Security setting, trusting your hub/printer, keeping drivers up to date, and coordinating with IT for managed Macs. Want someone to double-check your configuration and print sharing setup? Open the chat and get expert help now.

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:

  1. Set the option to Always (or your chosen level) under Privacy & Security.
  2. Print a test page while logged in.
  3. 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).
  4. 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.

Common macOS USB printer problems and quick fixes related to Allow accessories to connect
SymptomLikely causeQuick 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

  1. Open System Settings → Privacy & Security.
  2. Find Allow accessories to connect and switch it to Always (or Automatically When Unlocked for a stricter option).
  3. Connect your USB printer directly or via a trusted, powered hub.
  4. Install or update printer drivers, or use AirPrint where supported.
  5. Lock your Mac and send a test print to confirm the printer stays online.
  6. If managed by IT, verify no security/MDM profile is overriding these settings.

Using network printing instead of USB (recommended for shared Macs)

  1. Whenever possible, connect your printer via Ethernet or Wi-Fi and enable AirPrint or IP printing.
  2. Add it in System Settings → Printers & Scanners as a network printer so it’s not affected by USB accessory restrictions.

Sources

Matt Verified Icon
Matt ● replies in < 1 min
Technician Expert
⭐⭐⭐⭐⭐ Trusted by 27,000+ customers
Avatar
Alex · Expert's Assistant