System extension

On this page 7

A system extension is a macOS component that extends the capabilities of the operating system from user space instead of the kernel, introduced by Apple in macOS Catalina as the modern replacement for most kernel extensions. It lets security agents, VPN clients, content filters and device drivers integrate deeply with the system while a crash or flaw in the extension cannot bring down the kernel.

In macOS administration, system extensions are a routine part of deploying endpoint security, networking and hardware software to a fleet. They are delivered inside an app, activated through a framework call, approved by the user or by MDM policy, and then run as separate processes that the system launches and supervises.

How a system extension runs outside the kernel

A system extension is a bundle embedded in a host app, stored in the app’s Contents/Library/SystemExtensions folder. When the app calls the SystemExtensions framework to request activation, macOS validates the signature, asks for approval if required and copies the extension into a protected system location, after which sysextd manages its lifecycle.

The extension then runs as a separate user-space process with restricted privileges, communicating with the kernel through narrowly defined interfaces. Because it is outside kernel memory, a fault terminates only that process, and macOS can restart or replace it without a reboot, which also simplifies updates.

Apple provides three families of system extensions, each tied to a specific framework and use case, as the following table shows.

Extension typeFrameworkTypical products
Endpoint security extensionEndpoint SecurityAntivirus and EDR agents
Network extensionNetworkExtensionVPN clients, content filters, DNS proxies
Driver extension (dext)DriverKitUSB, serial, audio and PCIe drivers
Types of system extensions

System extensions compared with kernel extensions

The main difference is the execution boundary: a kernel extension runs inside the kernel with full privileges, while a system extension runs in user space with limited rights. Apple has deprecated kernel extensions for any task that a system extension can handle, and on Apple silicon loading a kext requires lowering the startup security policy.

PropertyKernel extensionSystem extension
Execution spaceKernel memoryUser space process
Effect of a crashKernel panic and restartOnly the extension stops
Loading on Apple siliconRequires Reduced SecurityWorks with Full Security
Activation timingOften requires a rebootUsually activates immediately
MDM payloadKernel extension policySystem extension policy
Programming modelC and C++ kernel APIsModern frameworks and Swift
Kernel extension and system extension compared

Some highly specialized hardware still relies on legacy kexts, but for new deployments the recommended default is a system extension whenever the vendor offers one. Administrators should ask vendors for a timeline before buying products that still depend on kernel code.

Approving system extensions with MDM

On an unmanaged Mac, activating a system extension prompts the user to allow it in System Settings under Privacy & Security or Login Items & Extensions. In managed environments, administrators avoid that prompt with a configuration profile containing the System Extensions payload, which pre-approves extensions by Team ID and bundle identifier.

The payload offers several approval scopes, summarized in the following table.

Payload settingWhat it allowsWhen to use it
Allowed system extensionsSpecific bundle IDs from a Team IDDefault choice for known products
Allowed team identifiersAny extension from a developerVendors with many extensions
Allowed extension typesOnly certain types per teamLimiting a vendor to one category
Removable extensionsRemoval without user consentClean uninstall workflows
Allow user overridesUsers approve unlisted extensionsLoosely managed environments
Approval options in the System Extensions payload

Approval alone is often not sufficient. An endpoint security agent also needs Full Disk Access granted through a PPPC profile, and network extensions such as content filters may need a separate Web Content Filter or VPN payload. The profile must arrive before the app activates its extension, or the user still sees a prompt.

Inspecting system extensions from the command line

The systemextensionsctl tool is the primary diagnostic utility for system extensions. Running systemextensionsctl list shows every installed extension with its Team ID, bundle identifier, version and state, which makes it the first step in any troubleshooting session.

  • activated enabled means the extension is approved and running normally.
  • activated waiting for user means approval is still pending.
  • terminated waiting to uninstall on reboot means removal will finish after a restart.
  • systemextensionsctl reset clears all extensions but works only with SIP disabled, so it is a developer tool.

Unified logging also records activation events under the com.apple.sx subsystem, which helps administrators confirm whether an MDM approval arrived in time or the request was rejected.

Common deployment problems with system extensions

Most failures in fleet deployments come from ordering and identity mismatches rather than from the extensions themselves. The table below lists typical symptoms with their causes and fixes.

SymptomLikely causeFix
User sees an approval promptProfile arrived after the appDeploy the profile first, then the app
Extension stays waiting for userWrong Team ID in payloadVerify the ID with codesign
Agent runs but sees no filesFull Disk Access missingAdd a PPPC profile for the extension
Removal requires an admin passwordExtension not marked removableAdd it to removable extensions
Troubleshooting system extension deployments

Because system extensions are bound to the host app, moving or deleting the app deactivates them. Users who drag a security app out of the Applications folder can silently disable protection, so administrators should monitor extension state through MDM inventory.

The short version

Some programs need to work very close to the heart of macOS. Antivirus tools, VPN apps and hardware drivers are good examples. In the past, they ran inside the core of the system. One mistake there could crash the whole Mac.

A system extension gives these programs a safer place to run. It sits next to the core instead of inside it. If it fails, only that part stops, and the Mac keeps working. Companies can approve these extensions in advance, so employees do not have to click through warnings.

Where it makes a difference

An IT team at a 600-employee consulting firm rolls out a new endpoint detection and response agent to its MacBook fleet through Jamf Pro. In a pilot group of 20 Macs, half of the users report a pop-up asking them to allow a system extension, and several clicked Ignore, leaving those Macs unprotected.

The administrator checks systemextensionsctl list on an affected Mac and sees the agent in the waiting for user state. The cause is scoping: the System Extensions profile was assigned to a smart group that the Macs joined only after the installer had already run.

The team rebuilds the workflow so that the System Extensions and PPPC profiles install during enrollment, before the agent package. In the full rollout to 600 Macs, no user sees a prompt, and inventory reports show the extension activated and enabled on every device within one day.