The code for Bluetooth pairing comes from the accessory's instructions or the current pairing prompt; there isn't one PIN for every device. If Windows shows a code for a new keyboard, enter it on that keyboard as instructed. If both devices display a number, compare them before approving the connection. Don't substitute your Windows sign-in PIN.
I'd read the prompt before trying 0000. A fixed accessory passkey, a number to type on a keyboard and a number to compare on two screens require different actions. Guessing a code can keep you in the wrong branch even when Windows has found the right device.
Identify the device and the kind of code
Check the accessory's exact model and the name selected in Windows. Put it into pairing mode using the manufacturer's instructions; simply switching it on may reconnect it to another device instead. Charge it or fit fresh batteries, and keep it near the PC. Only approve a pairing request you intentionally started with a device you recognize.
| What the prompt asks | Where the code comes from |
|---|---|
| Enter a PIN for a speaker or other accessory | Use the fixed passkey documented for that exact model, if its instructions specify one. |
| Type a displayed code on a new Bluetooth keyboard | Read the current number on the PC, then type it on the keyboard being paired and complete the instructed confirmation. |
| Confirm that two displayed numbers match | Compare the current number on both devices. Approve only when they match and the device is the intended one. |
| Enter a code, but none is displayed or documented | Cancel and check the exact model's pairing instructions. Don't use a code from an unrelated tutorial. |
A PIN printed in a model's manual and a number generated for the current pairing attempt aren't interchangeable. Record the wording of the prompt and which device shows it. That is more useful for support than a list of guessed numbers.
Compare the number before connecting in Windows 11
Open Start > Settings > Bluetooth & devices and turn Bluetooth on. Select Add device > Bluetooth, then the intended discoverable device. ASUS's Windows 11 Bluetooth connection instructions show this route and require the displayed PIN to match the one on the other device before selecting Connect.

If the numbers differ, cancel. If the other device has no screen, don't approve a match you cannot check simply because a tutorial shows a Connect button. Return to that model's instructions to establish whether it expects a fixed passkey, keyboard entry or another supported pairing procedure.
Microsoft also documents the Quick Settings pairing route: select the Network, Sound or Battery area, open the Bluetooth chevron and choose the accessory under New devices. You may need to scroll past Your devices. Whichever route you use, complete the instructions for the selected accessory rather than entering a number copied from this page. For a Bluetooth printer or scanner, Microsoft uses Bluetooth & devices > Printers & scanners > Add device; follow that device's setup procedure.
Type a keyboard code on the keyboard being paired
When the PC asks you to type a displayed code on the new Bluetooth keyboard, use that keyboard, not the laptop's built-in keyboard. Logitech's Bluetooth keyboard setup says to type the code shown on screen, press Enter on the keyboard and complete Connect on screen. Follow your model's prompt if its confirmation differs.
- Keep a built-in or wired input method available to operate Windows if pairing fails.
- Put the new keyboard into its documented pairing mode and select its correct name in Windows.
- Read the current code. Type those digits on the keyboard being paired, then press its Enter key when instructed.
- Complete any confirmation on the PC. Open a text editor and check that ordinary typing works.
For a keyboard with several device channels, check the selected channel before retrying. The Logitech K380 instructions, for example, use an Easy-Switch channel and a rapidly blinking light for discovery. That model's button timing isn't a rule for every keyboard. Follow the exact model's instructions instead of repeatedly switching to a channel already assigned elsewhere.
If Windows requests a PIN but doesn't display one, cancel that attempt and follow the model's re-pairing procedure. If the same empty prompt returns, keep its exact wording and contact the keyboard maker. Don't invent a PIN or change authentication settings to force the keyboard through.
Use a fixed PIN only for the matching model
A device without a keyboard or display can have a documented fixed passkey. For the Sony SRS-X55, Sony's pairing instructions specify 0000 if a passkey is requested. The manual notes that the same field may be called a passcode, PIN code, PIN number or password. This is a model-specific instruction, not a universal code for Bluetooth speakers.
Check the manufacturer's manual or official support page for your own model before entering a fixed code. If its pairing mode expires, enter pairing mode again and start a fresh attempt. Sony documents about five minutes for that SRS-X55 state, with a factory-state exception; don't apply that timer to a different accessory.
Guessing several common codes doesn't establish compatibility. In an EEVblog radio-and-headset discussion, the owner reported that 0000, 1234 and other guesses failed when pairing a Yaesu radio with a Bose headset. The thread doesn't confirm a solution and isn't a Windows repair test. Its useful lesson is to check the exact devices' pairing requirements rather than keep expanding the list of guesses.
Retry only the affected pairing with input available
Before removing a Bluetooth keyboard or mouse, make sure the built-in controls or a wired alternative work. Removing that accessory disconnects its input. A factory reset may erase other pairings, so reserve it for the manufacturer's exact recovery procedure after checking its consequences.
- Cancel the failed prompt and check that you selected the intended accessory. Re-enter its documented pairing mode.
- If Windows retains a failed or obsolete pairing, open Settings > Bluetooth & devices > Devices. For only that accessory, select More options > Remove device > Yes.
- Add the accessory again and follow the new prompt. For a displayed code, use the number in the new prompt rather than one from the canceled attempt. For a fixed model passkey, keep using the value specified in its manual.
- Test its actual function and then a normal reconnection. Record the exact result if it fails again.
Microsoft's Bluetooth troubleshooting procedure supports removing and adding the affected accessory. It also checks charge, range and discovery. Those are targeted checks; a confusing PIN prompt alone isn't a reason to uninstall the Bluetooth adapter, delete every paired device or disable authentication.
Follow the remaining symptom after the code check
If the accessory never appears, or pairing still fails after the correct prompt has been completed, continue with the Windows 11 Bluetooth discovery and connection checks. If the Bluetooth switch or adapter itself is absent, use the missing Bluetooth adapter checks. Neither symptom can be diagnosed by trying another PIN.
Verify the function you need: type with the keyboard, move the mouse or play audio through the chosen headset. For headphones that connect but remain silent, use the Bluetooth sound-output checks. A paired entry and successful audio routing are separate observations.
For a repeated code failure, give the manufacturer or IT the PC and accessory models, Windows version, exact prompt, which device displays it, and what happens after entry or confirmation. Keep current pairing codes and personal device identifiers out of public screenshots. The Windows devices and drivers hub connects the related hardware guides.


