A MacBook may fail to detect a USB device because of accessory permissions, insufficient power, hubs, software, storage formats or a damaged cable. These checks help isolate the cause.
Reconnect the USB device and watch for macOS’s accessory permission request. If it appears, allow the connection. You can also review Apple menu > System Settings > Privacy & Security > Accessories, where the options include Ask for new accessories, Automatically allow when unlocked and Always allow.
To determine whether macOS detects the hardware, hold the Option key, open the Apple menu and select System Information. Check the Hardware section for the connected accessory. If it appears there, the remaining problem may involve the accessory’s software or configuration; if it does not, inspect the cable, port, hub, dock and power path.
Try another USB port and connect the accessory directly to the MacBook instead of through a hub or dock. Confirm that any separate power supply is connected, then install available macOS updates and any required manufacturer software. External drives and cards should use a macOS-compatible format such as APFS, FAT or ExFAT.
Finally, check whether the cable and ports have debris, bent pins or visible damage. The cable must support the accessory’s power and bandwidth needs. A cable with exposed wires or browning should be replaced rather than reused.