How to connect bluetooth mouse to raspberry pi 4

Last Updated: Feb 15, 2024 by

The Raspberry Pi 4 is a powerful and versatile mini-computer that can be used for a variety of projects. One of the great features of the Raspberry Pi 4 is its ability to connect to Bluetooth devices, such as a mouse. In this article, we will guide you through the steps to connect a Bluetooth mouse to your Raspberry Pi 4.

Step 1: Check Your Raspberry Pi 4

Before attempting to connect a Bluetooth mouse, make sure your Raspberry Pi 4 is up to date. You can do this by running the following commands in the terminal:

sudo apt-get update sudo apt-get upgrade

This will ensure that your Raspberry Pi 4 has the latest software and drivers necessary for connecting to Bluetooth devices.

Step 2: Turn on Bluetooth

Next, you will need to turn on Bluetooth on your Raspberry Pi 4. To do this, click on the Bluetooth icon in the top right corner of your screen. If you do not see the Bluetooth icon, you may need to enable it in your settings.

Step 3: Put Your Mouse in Pairing Mode

Now, put your Bluetooth mouse in pairing mode. This process may vary depending on the brand and model of your mouse, so refer to the manufacturer’s instructions if you are unsure how to do this. Typically, you will need to hold down a button on the mouse for a few seconds until a light starts flashing.

Step 4: Pair Your Mouse with Your Raspberry Pi 4

Back on your Raspberry Pi 4, click on the Bluetooth icon again and select “Add Device.” Your mouse should appear in the list of available devices. Select it and click “Pair.” You may be prompted to enter a PIN, but most Bluetooth mice do not require one. Once the pairing is complete, your mouse should be connected to your Raspberry Pi 4.

Step 5: Test Your Mouse

To make sure your mouse is working properly, move it around and click the buttons. If everything is working as it should, you are all set! If not, try restarting your Raspberry Pi 4 and repeating the pairing process.

Tips for Connecting a Bluetooth Mouse to Raspberry Pi 4

  • Make sure your mouse is fully charged or has fresh batteries before attempting to connect it to your Raspberry Pi 4.
  • Keep your mouse close to your Raspberry Pi 4 during the pairing process to ensure a strong connection.
  • If you are having trouble connecting your mouse, try turning off and on Bluetooth on both your Raspberry Pi 4 and your mouse.


Connecting a Bluetooth mouse to your Raspberry Pi 4 is a simple process that can greatly enhance your experience with the mini-computer. With a wireless mouse, you can easily navigate your Raspberry Pi 4 without the hassle of cords. If you are looking for a reliable and affordable Raspberry Pi 4, check out the Vilros Raspberry Pi 4 kit. And for the best operating system for your Raspberry Pi 4, consider trying out Raspbian, the official OS for Raspberry Pi.

Have you successfully connected a Bluetooth mouse to your Raspberry Pi 4? Let us know in the comments below.

Gulrukh Ch

About the Author: Gulrukh Ch

Gulrukh Chaudhary, an accomplished digital marketer and technology writer with a passion for exploring the frontiers of innovation. Armed with a Master's degree in Information Technology, Gulrukh seamlessly blends her technical prowess with her creative flair, resulting in captivating insights into the world of emerging technologies. Discover more about her on her LinkedIn profile.