Second Display on your MacBook adds a display, and the iMac is its screen, as though a monitor were plugged in. Windows and the pointer move onto it like onto any other display.

Apple’s Target Display Mode can’t do this for a MacBook with Apple silicon: it accepts only a Mac from 2019 or earlier as the source. An alternative to Target Display Mode

What you need

MacNeeds
MacBookmacOS 14 Sonoma or later, plus a Thunderbolt port (⚡︎) when you want the sharpest picture.
iMacFrom late 2015: macOS 12.3 Monterey or later. From late 2012 to mid 2015: macOS Catalina 10.15.7 or later and the free Second Display Connect. Neither needs an account or Screen Recording permission.
Between themA Thunderbolt cable, or one shared Wi‑Fi or Ethernet network.

Apple lists the MacBooks that run macOS 14: Apple: Macs that run macOS Sonoma. What you need

Which cable for which iMac

  • iMac from 2017 on, and iMac Pro. A Thunderbolt 3 iMac takes a plain Thunderbolt cable from your MacBook, since the ports are the same shape. The 24‑inch iMac with Apple silicon connects the same way. Use a 24‑inch iMac (M1, M3, M4) as a monitor
  • iMac from late 2015. Its ports are Thunderbolt 2, so a USB‑C cable won’t fit. Apple’s adapter and a Thunderbolt 2 cable connect it. Use a late 2015 iMac as a monitor
  • iMac from late 2012 to mid 2015. Thunderbolt or Thunderbolt 2 ports, so the same adapter and a Thunderbolt cable connect them. They run Second Display Connect. Second Display Connect
  • No cable: Wi‑Fi works with every one of them.

Choose the ⚡︎ port on each Mac, as many USB‑C ports lack Thunderbolt. Which cable and port to use · Which iMacs can be a display

Picture quality

On a Thunderbolt cable you get exactly what your MacBook draws, at full resolution and 60 frames per second, once the speed test confirms the cable carries it. Measured with a MacBook Pro with M3 Pro feeding a moving picture into an iMac 24‑inch with M1, the median delay was about 9 milliseconds. What “about 9 ms” means

Over Wi‑Fi or Ethernet the app picks the best quality it can, and with Second Display it does the same over a USB‑C cable without Thunderbolt. Use Wi‑Fi or Ethernet

How to connect a MacBook to an iMac

The 0:49 film at the top shows the start: the cable goes in, the iMac wakes and the MacBook’s windows move across. The rest of it adds an iPad, a Windows PC and a Mac mini at the same desk.

On each Mac, open Second Display and pick a role, then plug in the cable. Signing in comes last and only on the MacBook, once the iMac already shows the picture. An iMac running Second Display Connect works differently: you just open Connect, with no role to pick. The MacBook needs two permissions: Screen Recording, and Local Network access on macOS 15 or later. Set up Second Display on both Macs · Second Display Connect

Started over Wi‑Fi? While Prefer Thunderbolt is on, plugging in a Thunderbolt cable moves the picture onto it by itself. Pull the cable and the menu says “Cable unplugged”: plug it back in and Second Display reconnects, or click Continue over Wi‑Fi to keep going over the network. Cable unplugged: Continue over Wi‑Fi

Open Arrange Displays… from the Second Display menu and drag the iMac to the place where it sits beside your MacBook. The position is remembered. Arranging displays

Sound, camera, keyboard and mouse

The iMac shows up as a speaker on your MacBook: choose it in Control Center, and the MacBook’s volume keys set how loud. You use the MacBook’s keyboard and trackpad, and the pointer moves onto the iMac like onto any display. Keyboard, mouse and sound

The iMac’s camera can be your MacBook’s webcam too, right above the windows you look at. Use an iMac’s camera as a MacBook webcam

Its microphone can join a call as well: turn it on in Second Display’s Sound settings, and Zoom, FaceTime or Microsoft Teams on the MacBook lists it as an input. Use the display Mac’s microphone

Want the MacBook closed? Use an iMac as a monitor with the MacBook’s lid closed

A Mac mini instead?

The same iMac works for a desktop Mac too. Use an iMac as a monitor for your Mac mini

An older iMac?

Use an iMac on macOS Catalina as a monitor · Late 2012 and late 2013 iMacs · 2014 iMacs

Questions

Can I use an iMac as a monitor for a MacBook Air M2?

An M2 MacBook Air works with any iMac from late 2012 on, and so does any other MacBook that runs macOS 14 or later, M4 models included. iMacs from late 2015 on run Second Display, the older ones the free Second Display Connect. What you need

What cable connects a MacBook to an iMac as a monitor?

A Thunderbolt cable between the ⚡︎ ports of both Macs is all a 2017 or newer iMac needs. An iMac from late 2012 to late 2015 also takes Apple’s Thunderbolt 3 to Thunderbolt 2 adapter and a Thunderbolt or Thunderbolt 2 cable. A USB‑C charging cable also works with Second Display on an iMac from 2017 on, compressed: at High quality with a moving picture, a MacBook kept a 24‑inch iMac with Apple silicon at 60 frames per second, median delay 16 ms. USB‑C cable without Thunderbolt

Can I connect a MacBook to an iMac over Wi‑Fi instead of a cable?

Wi‑Fi works whenever both Macs share a Wi‑Fi or Ethernet network, with a compressed picture that is a little softer than over a Thunderbolt cable. With a full-screen moving picture from a MacBook Pro with M3 Pro, Medium over Wi‑Fi held an iMac 24‑inch with M1 at its full 4480 × 2520, about 58 frames per second, median delay about 29 ms versus about 9 ms over the cable. Use Wi‑Fi or Ethernet

Does a 2017 27-inch 5K iMac or a 24-inch M1 iMac work as a monitor for a MacBook?

Both work, like every iMac from late 2015 on. The 2017 iMac connects with a Thunderbolt 3 cable and the 24-inch iMac with Apple silicon with a Thunderbolt cable. Which iMacs can be a display

Can I use a 2013 or 2014 iMac as a monitor for a MacBook?

A 2013 or 2014 iMac works with Second Display Connect, a free app for iMacs from late 2012 to mid 2015 that run macOS Catalina 10.15.7 or later. All of them run it on the macOS they already have, and they connect with Apple’s Thunderbolt 3 to Thunderbolt 2 adapter and a Thunderbolt cable, or over Wi‑Fi. Second Display Connect