Control a headless Mac mini from your iPad or iPhone

Last updated: November 24, 2026 · By Jérémie Aouate

Short answer

A Mac mini with no display, keyboard or mouse can be controlled from an iPad or iPhone with DualMac, through the Screen Sharing built into macOS. Turn on Screen Sharing once, keep the Mac mini from sleeping, and connect over your Wi‑Fi or Tailscale. Plan for restarts: with FileVault on, the Mac waits for its password before macOS starts.

Before you unplug the display

Do these steps once, with a display, keyboard and mouse connected to the Mac mini, for example right after its first setup.

  1. Turn on Screen Sharing in System Settings › General › Sharing, and check that your account is allowed to connect. The steps are in Turn on Screen Sharing on your Mac and connect from iPad.
  2. Note the Mac's local hostname, shown at the bottom of the Sharing pane and ending in .local.
  3. To reach it from outside your home, install Tailscale on the Mac mini and sign in: see Use your Mac from your iPad or iPhone over Tailscale.
  4. Set the sleep options below.
  5. Connect once from DualMac while the display is still plugged in, to check that everything works.

Keep the Mac mini awake

Screen Sharing can't answer while the Mac is asleep: DualMac then finds nothing to connect to. On a Mac mini, open System Settings › Energy:

Apple notes that preventing sleep can increase power use. What a locked or sleeping Mac can still do is in Can I connect to my Mac when it is locked, asleep or turned off?

System Settings on macOS 27 with Energy selected: Prevent automatic sleeping when the display is off is turned on, Put hard disks to sleep when possible is off.
Energy settings of a Mac without a battery, here a test virtual Mac on macOS 27. On a Mac mini, the same pane also lists Wake for network access and the start-up option.

What you see without a display

Without a display connected, macOS keeps running, and Screen Sharing shows the desktop macOS draws for it. macOS chooses the size of that desktop, not DualMac. DualMac shows it as the Mac sends it:

After a restart

What you can do after a restart depends on FileVault and on how the Mac mini joins your network.

Without FileVault: the login window

After a restart, the Mac shows the login window. Screen Sharing works there: connect with DualMac, then type your macOS password with the keyboard, as you would at the Mac. If you prefer the Mac to reach the desktop by itself, choose your account in System Settings › Users & Groups › Automatically log in as. Anyone who restarts the Mac then gets your session, and this option isn't available while FileVault is on.

With FileVault: unlock first

With FileVault on, the Mac asks for a user's password during startup, before macOS has fully started, and Screen Sharing can't answer yet. Someone has to type the password at the Mac, unless you use Apple's SSH unlock: on a Mac with Apple silicon and macOS 26 or later, FileVault can be unlocked over SSH after a restart if Remote Login is on and the Mac has a network connection. Do this from an SSH app on another device on the same network. Once macOS has started, connect with DualMac as usual.

Tailscale waits for a login

The Mac App Store and standalone versions of Tailscale don't run before someone logs in. After a restart, the Mac mini isn't on your tailnet until a user has logged in, so from away you can't reach its login window over Tailscale. On the same Wi‑Fi, DualMac still reaches it by its local address. Tailscale's open source tailscaled does run before login.

If the Mac mini doesn't answer

A Mac mini that stays on is also handy for long jobs you check from your phone: see Follow a long task on your Mac from iPhone.

Questions

Can I set up a brand new Mac mini without a display?

This guide assumes Screen Sharing is already on. Turn it on once with a display, keyboard and mouse connected, then unplug them.

Who decides the screen size without a display?

macOS does. DualMac shows the desktop the Mac sends; pinch to zoom in on small text.

Why can't I connect after a restart?

With FileVault on, the Mac waits for its password at startup. From away, Tailscale also waits until someone logs in.

How do I keep the Mac mini from sleeping?

In System Settings › Energy, turn on Prevent automatic sleeping when the display is off.

Do I need to install anything on the Mac mini?

No. Screen Sharing is built into macOS. Tailscale is needed only to reach the Mac from another network.

Sources

  1. Apple Support, Change Energy settings on a Mac desktop computer, Mac User Guide. Checked on November 24, 2026.
  2. Apple Support, Set sleep and wake settings for your Mac, Mac User Guide. Checked on November 24, 2026.
  3. Apple Support, Turn on a Mac mini, Mac Studio, or iMac without pressing its power button. Checked on November 24, 2026.
  4. Apple Support, How to log in automatically to a Mac user account. Checked on November 24, 2026.
  5. Apple, Managing FileVault in macOS, Apple Platform Security. Checked on November 24, 2026.
  6. Apple, Volume encryption with FileVault in macOS, Apple Platform Security. Checked on November 24, 2026.
  7. Tailscale, Three ways to run Tailscale on macOS. Checked on November 24, 2026.