Guide

How to control your Mac from an Android phone

I wanted my Mac on my Android phone the way it works at the desk: the real keys, the trackpad gestures, text sharp enough to read. Here’s how to set that up in about five minutes, what it can do, and the other options if you want something different.

By Sheroze, who built Nightdesk · All guides

01Set it up

About five minutes, once.

  1. Install Nightdesk on the Mac

    Download it from the Mac page, open it and drag it to Applications. It needs macOS 14 or later, on Apple silicon or Intel, and it’s free on the Mac. It’s signed and notarized, so it opens like any other app, and it lives in the menu bar.

  2. Allow Screen Recording and Accessibility

    Nightdesk’s window lists what macOS needs, one click each. Screen Recording lets it send your screen to your phone. Accessibility lets your phone move the pointer and type. When macOS asks to find devices on your local network, allow that too.

  3. Install the Android app and scan the code

    Get Nightdesk from Google Play (Android 12 or later) and scan the QR code in the Mac’s window, or tap your Mac under Nearby and type its 8-character code. Pairing doesn’t expire, and there’s no account.

  4. If it’s a MacBook, set up lid-closed mode

    Click Set up next to lid-closed mode and enter your password once. The Mac then stays awake with the lid closed while it’s plugged in, and on battery while your phone is linked. Turn it off before the MacBook goes in a bag.

02Using it

Using it day to day

  • Trackpad gestures. By default the phone is a trackpad: one finger moves the pointer, a tap clicks, two fingers scroll with momentum, a two-finger tap right-clicks, three fingers to the side switch Spaces and three fingers up open Mission Control. Touch mode is there if you’d rather point at things directly.
  • Mac keys. A key bar sits above the phone’s keyboard with esc, tab, arrows and ⌘ ⌥ ⌃ ⇧ (tap for the next key, double-tap to lock). A Bluetooth keyboard and mouse work too.
  • A sharp picture. The Mac encodes in hardware and the phone decodes in hardware, up to your phone’s 120 Hz. It streams up to the Mac’s full Retina resolution, so you can pinch to zoom in on small text.
  • Three screen shapes. Mirror the Mac’s screen, give the Mac a screen exactly the phone’s shape with no black bars, or make the phone a second display beside the Mac’s own.
  • Your fingerprint for the Mac’s password. Save the password once and unlock a locked Mac with your fingerprint. When something on the Mac asks for your password (sudo, an installer, System Settings), a card on the phone offers Fill with fingerprint. The Mac checks that the request really comes from macOS before it types anything.
  • The small things. Files go both ways, the clipboard is shared, and the Mac’s sound can play on the phone.
A tablet filled edge to edge by a Mac’s desktop, with a terminal running claude and a notes window.
Phone screen: the Mac’s desktop takes the shape of the screen it’s on, here an Android tablet.

03Away from home

From anywhere, with nothing to open on your network.

At home the phone links straight to the Mac. Anywhere else it goes through a small relay on Cloudflare. Everything is end-to-end encrypted before it leaves either device, with a key made when you pair, so the relay passes along bytes it can’t read. There’s no port forwarding and no VPN to set up.

When I travel, my MacBook stays at the hotel while I’m out, and this is how I reach it. The Mac has to be awake and online, so keep it plugged in. Through the relay the delay is usually 50 to 100 ms. On the same Wi-Fi it’s less, and over a USB cable it’s lower still.

04Other options

Other ways to reach a Mac from Android.

Chrome Remote Desktop is free and works with a Google account. Jump Desktop is a good paid app for Mac and Windows. macOS also has Screen Sharing built in, and a VNC app on Android can reach it on your home network.

Those are general remote desktops and work well for that. I built Nightdesk around the Mac specifically: its gestures and keys, a screen in the phone’s shape, the lid closed, the password from the phone’s fingerprint, and the tools I use with coding agents.

What it looks like on an ordinary day

A living room at night: a closed laptop on a desk by the rainy window, and a hand on the sofa holding a phone.
Nightdesk’s Home on a phone: Studio Mac, a MacBook Pro, nearby, ready to link.

Keep working from the sofa with your MacBook shut

Thursday, 9:40 p.m.Noor, product engineer

Noor’s MacBook does the heavy lifting from the desk: builds, simulators, a couple of agents. By evening she’d rather be on the sofa.

She wants to carry on without unplugging anything, and with the lid closed.

How

  1. In Nightdesk on the Mac she sets up lid-closed mode once, with her password.
  2. She closes the lid. Plugged in, the Mac stays awake, with a virtual screen at her usual resolution.
  3. On the sofa her phone or tablet shows that screen, and Phone screen gives it her device’s exact shape.

The lid stays shut, the cables stay in, and the work comes to the sofa.

On a Mac.

A laptop with an amber light on its screen, on a wet stone plinth at night.

Unlock your Mac from across town with your fingerprint

Monday, 7:30 a.m.Daniel, consultant

Daniel links to his office Mac from the train and finds the lock screen.

A long password, typed through a remote screen on a moving train, is how typos happen.

How

  1. Once, he saves the Mac’s password in Nightdesk. It stays on his phone, encrypted with a key only his fingerprint or PIN opens.
  2. When the lock screen is up, the phone says so. He touches the sensor, and Nightdesk types the password in.

One touch instead of a long password, and no typos.

On a Mac.

A living room at night: a large TV, a small silver computer beneath it, and hands on the couch holding a phone.

Run the Mac mini under the TV from the couch

Friday, 8 p.m.Sam, game developer

Sam’s Mac mini drives the living-room TV: films, the odd stream, and builds of his game on the big screen.

The wireless keyboard is never charged, and the trackpad is always in another room.

How

  1. His phone is the trackpad: slide to move, tap to click, two fingers to scroll.
  2. Controls has volume, play and pause, and Spotlight, one tap each. The key bar has ⌘ and the arrows.

Nothing to charge, and nothing to go looking for.

An empty airport gate at night, an airliner under amber floodlights in the rain, a traveller waiting with a phone.
Nightdesk’s Home on a phone: orin-lab, reachable from anywhere, 31 ms away.

Fix a failed deploy from an airport gate

Sunday, 11:48 p.m.Hannah, site reliability engineer

Hannah’s release failed while she was waiting to board at gate B32, on a flight that was already late.

The fix needs her workstation at home: its checkout, its keys, its access. The airport Wi-Fi blocks almost everything, and she has no VPN home.

How

  1. She opens Nightdesk on 5G. When the phone can’t reach home directly, it links through the relay by itself, with nothing to set up.
  2. Everything is encrypted on her phone and on her computer. The relay passes along bytes it can’t read.
  3. She reruns the job, watches it go green, and boards.

Green before boarding, with no VPN and nothing to set up.

Every use case

More guides

Try it on your own computer.

The Mac and Linux apps are free. On Android, everything is on for 3 days from your first link, with no card and no account, and after that it’s $4.99 a month or $57 once (US prices; Google Play shows yours). Nightdesk for iPhone and iPad is coming to the App Store.