Adding an external keyboard can make a Mac more comfortable to use, especially with a desktop setup or a MacBook connected to a monitor. You can connect a keyboard with a USB cable, pair it over Bluetooth, or use a wireless receiver. The right steps depend on the keyboard’s connection method and whether your Mac has USB-A or USB-C ports. For Mac keyboard connectivity nuances, consult our brand specific setup for mainstream models and variations.
Before connecting your keyboard
Identify how the keyboard connects and make sure it has power. A wired keyboard needs a suitable cable and port. A Bluetooth keyboard should be charged or fitted with working batteries. A wireless keyboard that uses a USB receiver needs the receiver, and you may need an adapter or hub if your Mac does not have the matching USB port.
- USB keyboard: Usually the simplest option and typically ready to use as soon as it is connected.
- Bluetooth keyboard: Connects without a cable after you put the keyboard into pairing mode.
- Wireless receiver: Uses a small USB dongle rather than the Mac’s built-in Bluetooth.
How to connect a wired keyboard to a Mac
- Plug the keyboard into an available USB port on your Mac.
- If the keyboard has a USB-A connector and your Mac only has USB-C ports, connect it through a USB-C-to-USB-A adapter or a compatible multiport hub.
- Wait briefly while macOS detects the keyboard.
- If macOS asks you to identify the keyboard layout, follow the on-screen instructions.
Most standard USB keyboards work without additional software. Some specialist or gaming keyboards may need the manufacturer’s macOS application for features such as lighting, macros, or custom key assignments, but those extras are separate from basic typing support.
How to pair a Bluetooth keyboard with a Mac
- Turn on the keyboard and charge it or replace its batteries if necessary.
- Put the keyboard into pairing mode. This commonly involves holding a Bluetooth, connection, or power button until an indicator light flashes. Check the keyboard’s instructions if you are unsure.
- On the Mac, open the Apple menu and select System Settings.
- Choose Bluetooth and make sure Bluetooth is enabled.
- Find the keyboard in the list of nearby devices and select Connect.
- If macOS displays a code, type that code on the keyboard and press Return or Enter.
After pairing, macOS may ask about the keyboard’s layout or configure its special keys. Once connected, the keyboard should generally reconnect automatically when it is switched on, charged, and within range of the Mac.
Connecting Apple and third-party keyboards
Apple Magic Keyboard
Turn on the Magic Keyboard and open System Settings > Bluetooth. When the keyboard appears, select it and choose Connect. If it has a charging cable, connecting the cable to the Mac can also help establish an initial connection, depending on the model and setup.
Logitech, Microsoft, and other Bluetooth keyboards
Put the keyboard into pairing mode using its Bluetooth or device-selection button, then choose it from the Mac’s Bluetooth list. Keyboards with multiple device channels may require you to select an unused channel before pairing. Some Logitech models can also connect through a USB receiver; in that case, plug in the receiver instead of pairing through Bluetooth. When connecting a keyboard to Mac, compare Clix keyboard options for compatibility, layout, and comfortable everyday typing.
Wireless gaming keyboards
Many gaming keyboards offer Bluetooth, a USB cable, or a proprietary 2.4 GHz receiver. Select the connection method you prefer and connect the receiver or pair the keyboard as directed by the manufacturer. Vendor software may be needed to configure lighting, profiles, or macros, particularly on models with advanced features.
What to do if the keyboard will not connect
- Check power: Charge the keyboard fully or replace its batteries.
- Try a different USB port: For wired keyboards, also test another cable or adapter if one is detachable.
- Move closer: Reduce distance and possible wireless interference while pairing.
- Remove and pair again: In System Settings > Bluetooth, remove or forget the keyboard, then place it into pairing mode and reconnect.
- Restart the Mac: A restart can clear a temporary USB or Bluetooth problem.
- Test the keyboard elsewhere: If a wired keyboard is not detected on another computer either, the keyboard, cable, or adapter may be faulty.
If the keyboard connects but keys behave incorrectly, open System Settings > Keyboard to review the input source, keyboard layout, and modifier-key assignments. Older versions of macOS may use System Preferences instead of System Settings. Keeping macOS and any optional keyboard software updated can also improve compatibility.
Using one keyboard with several devices
Some Bluetooth keyboards support multiple device profiles. After pairing the keyboard with your Mac, tablet, or phone, use the keyboard’s device-switching button to move between them. If the keyboard supports both Bluetooth and a USB receiver, choose the connection that best suits your setup and keep the unused receiver safely stored.
Whether you choose USB, Bluetooth, or a wireless receiver, the essential process is the same: provide power, select the correct connection method, and confirm the keyboard in macOS. Once the initial setup is complete, most keyboards reconnect automatically for future use.






