An iMac that works as your MacBook’s monitor still runs apps of its own: Music, a backup, a family calendar, a chat signed in to another account. Getting to them used to take a second keyboard and mouse on the desk, or stopping the display. The MacBook’s keys now do it.
One keyboard and mouse for two Macs
With the pointer on the iMac, press ⌃⌥⌘K. Your MacBook’s picture moves into a small window in a corner of the iMac, and whatever you type, click or swipe reaches the iMac’s desktop, in the iMac’s keyboard layout. Press ⌃⌥⌘K once more to take the keyboard and trackpad back and return the picture to full screen.
It works the other way as well. Sitting at the iMac, you can use its own keyboard and mouse to control the MacBook whose picture it shows: the pointer moves within the picture, and pushing it past the edge carries it onto the MacBook’s other screens. On the iMac, ⌃⌥⌘K switches between controlling the MacBook and using the iMac itself; this direction is free, not part of Pro. The ⌃⌥⌘K on the MacBook, which hands its keyboard to the iMac’s desktop, is the Pro one.
The MacBook’s windows don’t rearrange themselves, and whoever sits at the iMac can carry on with its own keyboard and mouse. To use the iMac’s desktop from the iMac itself, with your picture in a small window, press ⌃⌥⌘P instead. Keys, menu items and fixes for when nothing happens are in Control the iMac with your Mac or PC’s keyboard and mouse.
What you need first
- Second Display Pro on the MacBook.
- Accessibility on both Macs.
- Second Display on the iMac, or the free Second Display Connect on an older iMac with Catalina or Big Sur.
Universal Control or Second Display?
macOS has Universal Control, which lets the keyboard and trackpad of one Mac work on up to two other Macs or iPads nearby, with each keeping its own screen. Every device has to be signed in to the same Apple Account, within 10 metres, with Bluetooth, Wi‑Fi and Handoff on, and the Macs need macOS Monterey 12.4 or later. Apple: Universal Control (28 October 2026)
- Universal Control fits when the iMac is a separate computer beside your MacBook, its screen full of its own apps.
- Second Display fits when the iMac is your MacBook’s monitor and you only reach for its desktop now and then, with your picture parked in a corner, or when you sit at the iMac and want its keyboard and mouse to control the MacBook.
From a Windows PC
On a PC the shortcut is Win+Ctrl+Alt+K, and its keyboard types on the iMac as a Mac keyboard would.
Questions
Can I share one keyboard and mouse between two Macs?
You can when one Mac is the other’s monitor: with Second Display Pro, ⌃⌥⌘K sends the MacBook’s keyboard and trackpad to the iMac’s own desktop, and pressing it again brings them home. Control the iMac with your Mac or PC’s keyboard and mouse
Can I use the iMac’s keyboard and mouse on the MacBook?
You can: the iMac’s own keyboard, mouse and trackpad control the MacBook whose picture it shows, and ⌃⌥⌘K on the iMac switches between controlling the MacBook and using the iMac itself. (On the MacBook, ⌃⌥⌘K with Pro does the reverse job.) It needs no Pro and no permission on the iMac. Keyboard, mouse and sound
Do both Macs need the same Apple Account?
They don’t: the iMac needs no account of any kind, and only the MacBook signs in to Second Display. What is Second Display Pro?
Do I have to give up the iMac as a monitor to use its own desktop?
The display stays connected the whole time: the MacBook’s picture waits in a small window on the iMac and goes back to full screen with one click. How picture in picture works
Is this the same as Universal Control?
No. Universal Control moves your keyboard and trackpad between Macs that each keep their own screen, while Second Display Pro does it when the iMac is your MacBook’s monitor.
Which permission does this need?
Keyboard and mouse control needs Accessibility on both Macs, and the iMac asks for it only once; picture in picture and a Windows PC need none on the computer you work on. Accessibility on both Macs
Does it work with an old iMac on macOS Catalina?
An iMac on Catalina 10.15.7 or Big Sur that runs the free Second Display Connect takes your keyboard and mouse too, after you allow Accessibility in its System Preferences. Second Display Connect
