The basic steps for any keyboard

Most keyboards connect in one of two ways: through a cable plugged into a port on your computer, or wirelessly through a small receiver or built-in Bluetooth. The exact steps depend on which type you have, but the principle is the same — your computer needs to recognize the keyboard as an input device before you can type.

If your keyboard came with a cable, you plug it in. If it's wireless, you turn it on and let your computer find it. Either way, modern operating systems handle the connection automatically in most cases. You don't need to install software or change settings unless something goes wrong.

Key Takeaways

  • Wired keyboards plug into a USB port on your computer and work when ready without any setup.
  • Wireless keyboards need batteries and require you to turn on Bluetooth or use the included receiver dongle.
  • Your computer will usually detect a new keyboard automatically, but you may need to pair it manually if nothing happens after turning it on.
  • If a keyboard stops working, check that batteries have charge, the cable is fully inserted, or Bluetooth is turned on.

Connecting a wired keyboard

A wired keyboard has a cable with a connector at the end. Most modern keyboards use a USB connector, which is the flat rectangular plug you see on many devices. Older keyboards sometimes use a round PS/2 connector, which is less common now but still appears on some desktop computers.

To connect a wired keyboard, locate an available USB port on your computer. On a desktop, these are usually on the back of the tower or on the front panel. On a laptop, they're on the sides. Push the connector straight in until it clicks or seats fully. Your computer will recognize the keyboard within a few seconds, and you can start typing when ready. No software installation or pairing is needed.

If you're using a PS/2 keyboard on an older desktop, the connector is round and has small pins inside. Insert it straight into the PS/2 port, which is usually color-coded purple for keyboard and green for mouse. Again, it should work right away.

Connecting a wireless keyboard with a receiver

Some wireless keyboards come with a small USB receiver dongle — a tiny device about the size of a thumb drive. This receiver plugs into a USB port and communicates with the keyboard wirelessly. The keyboard itself runs on batteries, usually AA or AAA.

First, insert fresh batteries into the keyboard following the diagram inside the battery compartment. Then plug the receiver into an available USB port on your computer. Turn on the keyboard using the power switch, usually on the bottom or back. Your computer will detect the receiver and the keyboard should work within a few seconds. Some keyboards have a pairing button you need to press on both the keyboard and receiver to connect them, but most pair automatically.

Keep the receiver within a few feet of the keyboard for the best connection. If the keyboard stops responding, check that the batteries still have charge by replacing them with fresh ones. If that doesn't work, try unplugging the receiver and plugging it back in.

Connecting a wireless keyboard with Bluetooth

Bluetooth is a wireless standard built into most modern computers, phones, and tablets. A Bluetooth keyboard doesn't need a separate receiver — it connects directly to your computer's Bluetooth radio. These keyboards are often slimmer and more portable than receiver-based models.

Insert batteries into the keyboard, then turn it on. On your computer, open the Bluetooth settings. On Windows, this is usually in Settings under Devices. On Mac, it's in System Preferences under Bluetooth. Make sure Bluetooth is turned on. Your keyboard should appear in the list of available devices. Click or tap it to pair. You may be asked to confirm a code on both the keyboard and the computer — just follow the prompts. Once paired, the keyboard will reconnect automatically whenever it's turned on and in range.

Bluetooth keyboards work from farther away than receiver-based models, typically up to 30 feet in open space. If the connection drops, turn the keyboard off and back on, or toggle Bluetooth off and on on your computer. If pairing fails, make sure no other devices are trying to connect to the keyboard at the same time.

What to do if the keyboard doesn't work after connecting

If you've plugged in or paired a keyboard and nothing happens, start with the simplest fixes. For wired keyboards, make sure the cable is fully inserted into the port — sometimes it looks connected but isn't seated all the way. Try a different USB port if you have one available. For wireless keyboards, check that batteries are fresh and installed correctly, with the positive and negative ends facing the right direction.

For Bluetooth keyboards, make sure Bluetooth is actually turned on in your computer's settings. Some laptops have a physical Bluetooth switch or a keyboard shortcut to toggle it. Check your computer's manual or search for the model name plus "turn on Bluetooth" if you're not sure. Try turning the keyboard off and on again, or unplugging and replugging a receiver dongle.

If the keyboard still doesn't work, try connecting it to a different computer if you have one available. This tells you whether the problem is with the keyboard or with your computer's ports or Bluetooth radio. If it works on another computer, your original computer may need a port replaced or Bluetooth repaired by a technician.

Keyboard ports and connectors explained

Most keyboards today use USB, which is the standard connector for almost all computer peripherals. USB comes in different physical shapes — USB-A is the flat rectangular one you see most often, USB-C is smaller and reversible, and older USB-B is larger and less common on keyboards. If your keyboard has a USB-C connector but your computer only has USB-A ports, you'll need a USB adapter to bridge the difference.

PS/2 is an older connector type that's mostly gone from new computers. If you have an old keyboard with a PS/2 connector and a modern computer without a PS/2 port, you can buy a USB-to-PS/2 adapter, though this isn't always reliable. For most people, buying a new USB keyboard is simpler and cheaper.

Frequently Asked Questions

Can I use a keyboard from a Mac on a Windows computer?

Yes. Wired keyboards work on any computer with the right port. Wireless keyboards usually work too, though some Mac-specific keys may not function the same way. The basic typing and common keys like Shift and Control work identically on both systems.

Do I need to install drivers for a new keyboard?

Almost never. Windows and Mac both recognize standard keyboards automatically. If you buy a keyboard with special programmable keys or extra features, it may come with software to customize those buttons, but basic typing works without it.

What's the difference between a keyboard that needs a receiver and one with Bluetooth?

A receiver keyboard uses a small USB dongle that stays plugged into your computer. Bluetooth keyboards connect directly without a dongle, but they use more battery power and may have a shorter range. Receiver keyboards are often cheaper and have longer battery life.

Can I connect two keyboards to one computer?

Yes. Your computer can recognize multiple keyboards at once. This is useful if you want a backup keyboard or if multiple people are typing, though only one keyboard can control the cursor at a time in normal use.

Why does my wireless keyboard keep disconnecting?

Check that batteries have charge — low batteries are the most common cause. For Bluetooth keyboards, move closer to the computer or remove obstacles between them. For receiver keyboards, make sure the receiver is plugged in firmly and not blocked by metal objects. If disconnections happen often, the keyboard or receiver may be failing.