If a USB device does not work on an M4 Mac mini, try another port and another cable first. The front has two USB-C ports and the back has Thunderbolt ports, and a keyboard that drops out on one port often works on another. On Apple silicon Macs macOS can also block a new accessory until you approve it under Privacy and security, so check Allow accessories to connect.
Differential
Likely causes of “Apple Mac mini M4 USB or Thunderbolt device is not recognized”, and how to tell them apart
- 1
A cable or port problem
What separates it The device works on another port or another computer
How to confirm Swap the cable and port; use one of the Thunderbolt ports on the back
- 2
Accessory security blocking it
What separates it A new device does nothing and no prompt appears
How to confirm Open System Settings, Privacy and Security, and allow accessories to connect
- 3
Too little power on a bus-powered drive
What separates it A drive spins up and drops out
How to confirm Use a powered hub or the drive's own power supply
- 4
Random disconnects
What separates it A keyboard or mouse disconnects and reconnects
How to confirm Move it to another port, update macOS and test a wired and a Bluetooth connection
- 5
A damaged port
What separates it The plug wobbles or no device works in it
How to confirm Book service
Before you touch a setting
Record this first — changing settings destroys the evidence
- Which port and cable
- Whether the device works on another Mac
- Whether a hub or dock is in the path
- The macOS version
Try in this order
0 of 5 completedSwap the cable and the port
ReversibleTry another cable and each USB-C and Thunderbolt port on the Mac mini.
Allow the accessory
ReversibleIn System Settings, Privacy and Security, check Allow accessories to connect and approve the new device.
Plug in directly
ReversibleRemove hubs and docks and test with one device.
Power-cycle the Mac
ReversibleShut down, unplug the power cable for 30 seconds and start again.
Update macOS
ReversibleInstall the latest macOS update; owners reported USB-C keyboards disconnecting at random on M4 Mac minis.
Model-specific
What is true of this model and not of its siblings
- Ports on the M4 Mac mini
- Two USB-C ports at 10 Gb/s and a headphone jack on the front, and three Thunderbolt 4 ports, HDMI and Gigabit Ethernet on the back; the M4 Pro has Thunderbolt 5.
- iMac and Mac Studio
- The iMac and Mac Studio have their own port layouts, but the accessory approval setting is the same.
- Ports that do more
- The rear Thunderbolt 4 ports carry displays, docks and fast drives; the front USB-C ports suit keyboards, flash drives and phones.
- Other models this page answers
- These steps also fit the iMac 24-inch (M4), Mac Studio (M2 Max/M2 Ultra).
Stop boundary
When this stops being a self-service repair
- !If a port is loose or no device works in it, book service
- !If disconnects continue on every cable and port, contact Apple Support
- !If a display connected to a port fails, test another port first
Evidence ledger
Sources behind this answer
Connection, another port, disconnecting hubs, System Report and device documentation.
Connecting to a port directly rather than a hub or dock.
Four Thunderbolt 4 ports, up to two external displays, camera, speakers, Ethernet and weight.
M4 and M4 Pro ports, HDMI, Ethernet, display support, speaker, Wi-Fi 6E and weight.
M2 Max and M2 Ultra ports, SDXC slot, HDMI, 10Gb Ethernet, display support, speaker and weight.
AppleCare+ service fees for Mac models: $49 to $99 for damaged screens or external enclosures and $149 to $299 for other accidental damage.
Reports of USB-C accessories disconnecting.
Exact questions
Common questions
Why does my keyboard disconnect from my M4 Mac mini?+
Owners report random USB-C disconnections with keyboards. Try another port and cable and update macOS.
What is Allow accessories to connect on a Mac?+
A setting on Apple silicon Macs that asks you before a new USB or Thunderbolt accessory can connect; approving it lets the device work.
Are the front USB-C ports on a Mac mini slower than the back?+
The front USB-C ports run at 10 Gb/s, and the rear ports are Thunderbolt 4, which is faster for storage and displays.
Why won't an external drive mount on my Mac mini?+
Open Disk Utility and see whether it appears there. A bus-powered drive may need a powered hub, a worn cable can drop it, and on Apple silicon a new accessory may need your approval first under Privacy and Security.
Do I need a Thunderbolt cable for a Mac mini display or dock?+
Thunderbolt displays and docks need a Thunderbolt cable to reach full speed; a plain USB-C cable limits them to USB speeds, so use the cable that came with the device.