On this page
A Mac mini makes a quiet, low-power UniFi Controller, and plenty of people simply run it on the Mac they already use. Ubiquiti publishes UniFi OS Server for macOS in two builds, one for Apple silicon and one for Intel.
This guide walks through choosing the right build, getting past macOS security prompts, and keeping the controller available.
Which Mac makes a good controller
Any Mac that meets the macOS 13.1 minimum can run the UniFi Controller, but some are better suited to the job than others. The controller works best on a machine that stays on, stays on the same network and keeps the same address.
| Mac | Fit as a controller | Notes |
|---|---|---|
| Mac mini | Very good | Small, quiet, has built-in Ethernet and is easy to leave running in a cupboard or rack |
| iMac or Mac Studio used daily | Good | Works well if sleep is disabled; restarts for updates take the controller down briefly |
| MacBook | Fair for testing | The controller is offline whenever the lid closes or the laptop leaves the network |
| Older Intel Mac | Depends on macOS | Only suitable if it can run macOS 13.1 or later; use the Intel build |
If none of your Macs fits, compare the alternatives in our UniFi hosting options guide. A small Linux box or a UniFi console may suit an always-on role better.
Before you install
Run through this short checklist first. It prevents the most common problems with a Mac-hosted UniFi Controller.
- Check the macOS version. In About This Mac, confirm macOS 13.1 or later. Install pending macOS updates before the controller, not after.
- Check the chip. Note whether the Mac has Apple silicon or an Intel processor so you download the matching build.
- Check free space and memory. Compare the Mac with our UniFi Controller system requirements. An SSD is strongly preferable to a spinning disk.
- Connect Ethernet. Plug the Mac into the network with a cable, and turn Wi-Fi off if you want to be sure the wired interface is used.
- Reserve the address. Create a DHCP reservation on your router for the Mac's Ethernet interface.
- Back up any existing controller. If a legacy Network Server already runs on this or another machine, download a backup and copy it somewhere safe.
- Download only from ui.com. Get the installer from the official releases page, not from mirrors or file-sharing sites.
Pick the right build
Open the Apple menu and choose About This Mac. If the chip line says Apple M1 or later, download the Apple silicon build from the UniFi OS Server releases page. If it lists an Intel processor, download the Intel build. Ubiquiti's help page lists the minimum as macOS 13.1, although it labels that version "Catalina 13.1.0".
Install and allow the app
- Open the downloaded installer and follow the steps.
- If macOS blocks it, open System Settings, Privacy & Security and choose Open Anyway for the UniFi installer.
- Approve any request for administrator rights.
- When installation finishes, the local interface opens. Optionally sign in with a UI Account for remote management.
Ubiquiti's legacy instructions for the old Network Server on Mac included the same Privacy & Security step and, on Apple silicon, installing Rosetta if prompted.
Open the interface and finish setup
When installation completes, the local interface opens in your browser. The browser will warn that the connection is not private, because a new self-hosted controller uses a self-signed certificate. Ubiquiti says this warning can be ignored on your own server.
To reach the controller from another computer on your network, browse to https://<mac-ip>:11443, the web interface port documented for UniFi OS Server. Create the local administrator with a long, unique password, then decide whether to link a UI Account. Linking one makes the controller appear in UniFi Site Manager and the UniFi app; if you link one, enable two-factor authentication. The UniFi Controller login guide covers each sign-in route, and device adoption explains how to bring access points and switches under management.
macOS firewall and network permissions
macOS has its own security layers that can get between the UniFi Controller and your devices.
- Application firewall. If the macOS firewall is turned on, it may ask whether the UniFi app may accept incoming connections. Allow it, otherwise devices cannot reach the controller.
- Local network access. Newer macOS versions can ask whether an app may find and connect to devices on your local network. Allow this for the UniFi software so device discovery works.
- Third-party security tools. Endpoint protection or outbound firewall utilities can block the ports UniFi uses. Devices report to the controller on TCP 8080 and use UDP 3478 for STUN and UDP 10001 for discovery, so allow those on your local network.
If you denied a prompt by mistake, review the app's entries in System Settings, Privacy & Security and in the firewall options, then restart the UniFi software.
Keep the Mac available
- Prevent automatic sleep in System Settings, especially on a desktop Mac.
- Use wired Ethernet. Ubiquiti lists a 100 Mbps wired connection as the minimum.
- Give the Mac a DHCP reservation so devices always find the same address.
- Back up regularly and keep a copy elsewhere. See our backup guide.
Prevent sleep and survive restarts
Sleep is the most common reason a Mac-hosted controller goes missing. The relevant settings move between macOS releases, so if the menu names below differ on your Mac, search System Settings for "sleep".
- On a desktop Mac, set the display to turn off but stop the computer itself from sleeping automatically.
- Turn on the option to start up automatically after a power failure, where your Mac offers it.
- Do not rely on a MacBook with the lid closed unless it is on power and connected to an external display, and even then expect interruptions.
Administrators who prefer the command line can inspect power settings with pmset -g. For example, sudo pmset -a sleep 0 stops system sleep, and sudo pmset -a autorestart 1 asks the Mac to restart after a power loss on hardware that supports it.
After setting this up, restart the Mac once on purpose and confirm the UniFi Controller comes back and devices reconnect. It is better to discover a startup problem during a quiet moment than after an unplanned power cut.
Migrating from the legacy Mac controller
If you already run the legacy UniFi Network Server on the Mac, back it up, quit it, then install UniFi OS Server. The macOS installer offers to migrate a Network Server from the default location. Ubiquiti's legacy help article lists old macOS versions for that package, which is another reason to move to UniFi OS Server on a current Mac. Background is in UniFi OS Server vs Network Server.
Migration checklist
- In the legacy controller, download a backup and copy it to another device.
- Write down the Mac's IP address, because devices are already pointed at it.
- Quit the legacy Network Server so it is not running during the install.
- Run the UniFi OS Server installer and accept the offer to migrate when it appears.
- Sign in, check that your sites and devices are listed, and give devices a few minutes to reconnect.
- Update browser bookmarks: the legacy server used port 8443, while UniFi OS Server uses 11443.
If the installer does not offer a migration, for example because the old server was not in the default location, use the Site Export tool described in Ubiquiti's backups and migration guide. Our UniFi OS Server install guide covers the migration options in more detail.
Troubleshooting on macOS
Work through these checks in order when the controller will not install, open or stay reachable:
- Version and build. Confirm macOS 13.1 or later and that the build matches the chip. An Intel build on an Apple silicon Mac, or the reverse, is a common mistake.
- Blocked app. Look in System Settings, Privacy & Security for a message about a blocked UniFi app and choose Open Anyway if you trust the download from ui.com.
- Is it running? Open Activity Monitor and search for UniFi to confirm the software is active.
- Is it reachable? From another computer, run
curl -kI https://<mac-ip>:11443or, on Windows,Test-NetConnection <mac-ip> -Port 11443. - Is the Mac awake and on the right network? A sleeping Mac, a switch from Ethernet to Wi-Fi or a changed IP address all break device connections.
More detailed checks are in UniFi Controller not starting.
Updates and macOS upgrades
Two kinds of update affect a Mac-hosted UniFi Controller: UniFi OS Server releases and macOS itself.
- UniFi OS Server. Ubiquiti says updates can be applied from Update Manager in Site Manager or from the local control plane settings. Read the release notes on ui.com first and download a backup before upgrading.
- Minor macOS updates. These usually need a restart. Schedule them for a quiet time and confirm the controller returns afterwards.
- Major macOS upgrades. Wait until you have checked the current UniFi OS Server release notes on ui.com for compatibility. Take a UniFi backup and copy it off the Mac before upgrading.
Keeping a recent backup on another device means a failed upgrade costs you an hour, not your whole configuration.
Frequently asked questions
Does the UniFi Controller run on Apple silicon Macs?
Yes. Ubiquiti publishes a separate UniFi OS Server build for Apple silicon.
What macOS version do I need?
UniFi OS Server needs macOS 13.1 or later, according to Ubiquiti.
Why does macOS say the app cannot be opened?
Gatekeeper may block a newly downloaded installer. Use System Settings, Privacy & Security, Open Anyway after confirming it came from ui.com.
Can my MacBook be the controller?
It can, but the controller is offline whenever the laptop sleeps or leaves the network. Devices keep working, but statistics and changes pause.
Sources
Facts in this guide were checked against these sources on November 16, 2026. Ubiquiti updates its software and documentation often.



