How to share USB keyboard and mouse on Windows and Mac

It is always a struggle to switch between several keyboards and mice while working with several computers, e.g. Windows and Mac machines, at the same time. Which apart from being annoying is also difficult - your productivity inevitably drops. You might wonder:

Can I avoid using several keyboards and mice while working on multiple machines?

And the answer is: sure! You only need a single USB keyboard for all your machines, since it is possible to switch between them with the help of software and connect devices via USB splitter.

Here are 5 simplest ways to do it - put them to use right away.

Share USB keyboard and mouse over Ethernet/Network with classic software


Windows, macOS, Linux, Android
4.8 Rank based on 78+ users
The preferable software solution would be FlexiHub. The software is compatible with all Windows versions including Windows 10.

Step-by-step instructions:

Step 1.

First of all, register a free FlexiHub account to be able to log into the app and connect to the remote devices associated with the account.

Note: you can register an account later in the app or if you already have a FlexiHub account, skip this step.

share usb keyboard and mouse between two computers

Step 2.

Choose a required number of connections and sign up for a FlexiHub trial.

Step 3.

Download and install the latest version of the app to all the machines that will use the same keyboard and mouse.

Step 4.

The final step would be logging into the app using your credentials.

The app will display a list of devices available for connection. Here you may press "Lock" button for devices you would like to keep blocked from the remote access. flexihub software guide

That’s it, your keyboard can now be used on all machines where FlexiHub is installed.

An ideal alternative to FlexiHub would be USB Redirector, which offers a support for USB redirection to RDP session on top of regular access to remote USB devices. The software is compatible with the same platforms (Windows, macOS, Linux) and is able to function in a local network without the access to the Internet.

usb network gate

For Mac

FlexiHub does provide a support for macOS as well. Download and install it on all your machines that require a shared access to the keyboard and mouse.

Note: If some of your machines run Linux, download the app’s versions for it here

Pros and cons of the software method


  • It only requires a couple of clicks to connect a device
  • No need in additional hardware
  • All apps have complete trial versions
  • You can share not only keyboards and mice but any USB devices


Using KVM switch for keyboard and mouse splitting

KVM switch is a hardware device that enables working with multiple computers not connected over network, using a single monitor, a single keyboard and a single mice.

All it takes is just 2 steps - first plug a keyboard and a mouse you would like to share into the USB ports of this box-like device, then connect the switch with the computers. As simple as it gets.

In most cases the switches are equipped with buttons to toggle between USB ports and computers.

You can use KVM switches to share not only keyboards and mice, but other devices as well such as microphones and speakers. The switches work with both Windows and Mac machines.

Hardware method pros and cons


  • The price of KVM switches is generally lower than of the specialized software license
  • It requires only several steps to share devices


  • The workspace is cluttered with additional wires
  • Does not work if the computers are far away from each other

Specialized software for USB sharing on Windows

This requires computers to be connected over local network: one of them should be set as the master, and the others as the slaves. The keyboard and mouse should be connected to the master machine.

Input Director

Install Input Director and setup your master system first: choose how to switch between your multiple computers - either by a combination of hotkeys defined by you or by dragging the mouse cursor across edges just like in a dual monitor setup.

Next define network address and add machines to it. The software enables you to share a common clipboard area in the network, set it up in Global Preferences. Input Director

For more details on how to use the software read here.


This cross platform software tool is ideal if the computers in your network run different operating systems.

You can customize the mechanism of switching between computers too - either press a hotkey combination or drag a cursor across the borders. Switch time is also customizable, and you can share a common clipboard area. Synergy

Mouse Without Borders

This app should be installed on all machines in the network. When you launch the app you’ll be asked to enter the Security Code and the name of the computer you would like to connect to. The software allows you to connect not more than 4 machines and lock all network computers in one go. Mouse Without Borders

Apart from shared clipboard area, the app offers you a possibility to drag and drop files from one machine to another. The highlight of this app is its sleek intuitive interface.


Requirements: Windows XP/2003/2008/Vista/7/8/10/Server 2012
Size: 6.93MB
Version: 3.6.12038 ()
User rating: (4.8 based on 78+ users )