One keyboard, two Macs
If you have a desktop Mac and a laptop, or two Macs side by side, you don't need two keyboards and two mice. Here are the ways to share one set, and how to set it up in about five minutes.
Three ways to do it
- Apple's Universal Control. Built into macOS. Good for a Mac and an iPad, or two Macs signed in to the same Apple Account with Bluetooth, Wi-Fi and Handoff on. It doesn't stream sound or wake sleeping Macs, and every device must use your Apple Account.
- A hardware KVM switch. A box with cables to each computer. You press a button to switch. It can share one monitor too, but switching is a button press, not a mouse move, and it usually doesn't share the clipboard.
- Software KVM, such as Pilot Mouse. An app on each Mac. You move the pointer off the edge of one screen and it appears on the next, and the keyboard follows. Nothing to plug in: the computers talk over your network.
If each Mac has its own screen, software KVM is usually the most natural: it feels like one big desk.
What you need
- Two or more Macs with macOS 13 or later (Intel or Apple silicon).
- Both on the same home or office network. Wi-Fi works; Ethernet feels the most responsive (about 1 ms delay in our testing).
- Pilot Mouse on each Mac. The license goes on the main computer only.
Set it up in five minutes
- Pick the main computer. It's the Mac whose keyboard and mouse you'll use. Install Pilot Mouse, open it and choose Main computer.
- Choose a secret passphrase. Every computer uses the same one. It encrypts everything that passes between them, so only your Macs can join.
- Switch on the two permissions macOS asks for (Accessibility, then Input Monitoring). Pilot Mouse opens the right page of System Settings and ticks each one off.
- Install Pilot Mouse on the other Mac and choose Another computer. It finds the main computer on the network by itself; type the same secret and switch on Accessibility.
- Arrange the screens. In Pilot Mouse's window, drag the other Mac to where its screen sits on your desk: left, right or above.
- Push the pointer off that edge. It appears on the other Mac, and whatever you type goes there.
Copy something before you cross and paste it on the other side: the clipboard comes with you. The full illustrated walkthrough is in our help pages.
Tips for a smooth setup
- Lost the pointer? Ctrl Option Cmd L always brings the keyboard and mouse back to the main computer. If the other Mac freezes, sleeps or locks, Pilot Mouse brings them back by itself within about 2 seconds.
- Several monitors? Each Mac can have any number of screens. Pilot Mouse uses the real edges of each one.
- More than two Macs? Basic covers 2 computers, Pro up to 4, and Ultimate any number.
Questions people ask
Can I use one keyboard and mouse with two Macs without a KVM switch?
Yes. Software KVM such as Pilot Mouse, or Apple's Universal Control, shares one keyboard and mouse over your network with no switch or cables.
Does the other Mac need its own license?
No. With Pilot Mouse the license key goes on the main computer only; every other computer runs the same Pilot Mouse app with the same secret, and needs no key of its own.
Does it work over Wi-Fi?
Yes, as long as both Macs are on the same local network. A wired Ethernet connection gives the lowest delay.