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.
Related answers in Apple computer model troubleshooting guide: Apple Mac mini M4 Wi-Fi connection, Apple Mac mini M4 will not turn on or start, Apple Mac Studio camera or microphone is not working in calls.
Differential
Apple Mac mini M4 USB or Thunderbolt device is not recognized: compare the causes
- 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
Record before making changes
Apple Mac mini M4 USB or Thunderbolt device is not recognized: observations
- Which port and cable
- Whether the device works on another Mac
- Whether a hub or dock is in the path
- The macOS version
Swap the cable and the port
Try another cable and each USB-C and Thunderbolt port on the Mac mini.
Allow the accessory
In System Settings, Privacy and Security, check Allow accessories to connect and approve the new device.
Plug in directly
Remove hubs and docks and test with one device.
Power-cycle the Mac
Shut down, unplug the power cable for 30 seconds and start again.
Update macOS
Install the latest macOS update; owners reported USB-C keyboards disconnecting at random on M4 Mac minis.
Model-specific
Apple Mac mini M4 USB or Thunderbolt device is not recognized: model limits
- 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.
Stop boundary
Apple Mac mini M4 USB or Thunderbolt device is not recognized: service criteria
- !
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
References
Reports of USB-C accessories disconnecting.
Exact questions
Apple Mac mini M4 USB or Thunderbolt device is not recognized: 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.