The fastest way to connect a keyboard
Most keyboards connect to a Mac in one of two ways: Bluetooth wireless or USB wired. A USB keyboard plugs directly into a port on your Mac and works immediately with no setup. A Bluetooth keyboard requires you to put it in pairing mode, then add it through your Mac's System Settings — a process that takes about two minutes the first time, then connects automatically after that.
Which one you use depends on what keyboard you have. If it came with your Mac or is an Apple keyboard, it uses Bluetooth. If it's a third-party keyboard, check the box or manual to see whether it's wireless or wired. Wired keyboards are simpler and never need charging, but they require a free USB port. Wireless keyboards are tidier on a desk but need a charged battery.
Key Takeaways
- USB keyboards plug in and work instantly; Bluetooth keyboards need to be paired once through System Settings, then reconnect automatically.
- To pair a Bluetooth keyboard, turn it on, hold its pairing button for three to five seconds until a light blinks, then select it in System Settings under Bluetooth.
- If a keyboard stops responding, toggle Bluetooth off and on in Control Center, or unplug and replug a USB keyboard.
- A Mac can connect to multiple keyboards at once, but only one can type at a time — the one you use last becomes active.
Connecting a USB keyboard
Plug the keyboard's USB cable into any available USB port on your Mac. The keyboard will light up and begin working within a few seconds. No software installation or settings changes are needed — your Mac recognizes it as a standard input device.
If the keyboard does not respond after plugging in, try a different USB port. Some ports on older Macs may be disabled or reserved for other devices. If you are using a USB hub, plug the keyboard directly into your Mac instead — hubs sometimes do not provide enough power to keyboards with backlighting.
Pairing a Bluetooth keyboard
First, turn on the keyboard and make sure its battery has charge. Most Bluetooth keyboards have a power switch on the back or bottom. Then locate the pairing button — it is usually on the underside or back of the keyboard, sometimes labeled "Connect" or "Pair," and often recessed so you need a pen or paperclip to press it. Hold the pairing button for three to five seconds until you see a light blink or flash on the keyboard. This puts the keyboard into pairing mode and makes it visible to your Mac.
Open System Settings on your Mac and go to Bluetooth. Your keyboard should appear in the list of available devices within 10 seconds. Click it to pair. Your Mac may ask you to type a four-digit code on the keyboard to confirm the connection — this is normal and adds a layer of security. Once you type the code and press Enter, the keyboard is paired and will reconnect automatically whenever it is turned on and in range.
What to do if the keyboard does not appear
If your keyboard does not show up in the Bluetooth list, make sure it is actually in pairing mode — the light should be blinking. If the light is steady or off, press the pairing button again. Wait another 10 seconds and refresh the Bluetooth list by closing and reopening System Settings.
If the keyboard still does not appear, try restarting your Mac. Occasionally the Bluetooth radio needs to reset. You can also try moving the keyboard closer to your Mac — Bluetooth has a range of about 30 feet, but walls and other devices can interfere. If you have other Bluetooth devices nearby, turn them off temporarily to see if they are blocking the connection.
Reconnecting a keyboard that stops working
If a paired keyboard suddenly stops responding, the first step is to toggle Bluetooth off and on. Open Control Center by clicking the icon in the top-right corner of your screen, find Bluetooth, and click it to turn it off. Wait five seconds, then click it again to turn it back on. Your keyboard should reconnect within a few seconds.
For a USB keyboard that stops responding, unplug it from the USB port, wait 10 seconds, and plug it back in. If the keyboard still does not work, try a different USB port. If neither step works, the keyboard may have a hardware problem or a dead battery (if it is wireless with a battery pack).
Using multiple keyboards at once
Your Mac can pair with and remember multiple Bluetooth keyboards. You can see all of them listed in System Settings under Bluetooth. However, only one keyboard can be active at a time — whichever one you type on last becomes the active keyboard. If you switch to a different keyboard, simply start typing on it and it becomes active.
This is useful if you have a keyboard at your desk and a portable one you use elsewhere, or if you are troubleshooting and want to test whether a problem is with the keyboard or the Mac. Just keep in mind that your Mac will try to connect to all paired keyboards when they are turned on, which can occasionally cause connection delays if multiple keyboards are in range.
Checking keyboard settings and language
Once your keyboard is connected, you may want to tell your Mac what type of keyboard it is so special keys work correctly. Go to System Settings, then Keyboard, then Input Sources. Click the plus sign and select your keyboard's language and layout — for example, "U.S." or "British." If your keyboard is a non-Apple brand, you may need to select a generic layout that matches the physical key arrangement.
If certain keys do not produce the characters you expect, or if modifier keys like Shift or Control seem reversed, check this setting first. Some third-party keyboards ship with software that customizes key behavior — check the manufacturer's website to see if a driver or configuration app is available for your Mac.
Frequently Asked Questions
Can I use a keyboard made for Windows on a Mac?
Yes. Most USB and Bluetooth keyboards work on both Windows and Mac because they follow the same basic standards. The only difference is that some keys may be labeled differently — for example, a Windows keyboard has a Windows key where a Mac keyboard has a Command key. You can remap keys in System Settings if needed, but the keyboard will function without any changes.
Why does my keyboard keep disconnecting?
Bluetooth keyboards disconnect when the battery is low, when they move out of range, or when another device interferes with the signal. Check the keyboard's battery level — most have an indicator light or a battery status in System Settings. Move closer to your Mac and turn off other Bluetooth devices like speakers or headphones. If disconnections happen frequently, the keyboard's battery may be failing.
Do I need to install software or drivers for my keyboard?
No, not for basic typing. Standard USB and Bluetooth keyboards work immediately on Mac without any software. Some gaming or specialty keyboards come with configuration apps that let you reprogram keys or adjust lighting — check the manufacturer's website to see if one is available for your model. These apps are optional and only needed if you want to customize the keyboard's behavior.
What if I forgot the pairing code?
If your Mac asked for a pairing code and you did not enter it, the keyboard is not fully paired. Go to System Settings, Bluetooth, find the keyboard in the list, and click the X next to it to remove it. Then put the keyboard back into pairing mode and try again. When prompted for the code, look at the keyboard's manual or the manufacturer's website — most keyboards use a default code like 0000 or 1234.
Can I use my Mac's built-in keyboard with an external keyboard at the same time?
Yes. Your Mac's built-in keyboard and an external keyboard can both be connected and active. Whichever one you type on becomes the active input device. This is useful if you have an external keyboard at your desk but want to use the built-in keyboard when you move your Mac elsewhere.