macOS security means the protections built into a Mac, and the few settings that keep them working.
This guide is for anyone who uses a Mac at home, at college or at work and wants to know which settings matter. You do not need to be technical: most checks take a few minutes in System Settings.
In short
- A Mac checks apps before they open and scans for known harmful software, without you installing anything.
- Keep macOS up to date, and only open apps you trust.
- Turn on FileVault so a lost Mac is much harder to read, and keep your recovery key safe.
- Use a standard account day to day, turn on two-factor sign-in for your Apple Account, and back up with Time Machine.
What you will learn
- Explain what Gatekeeper and XProtect do for you.
- Check that updates, FileVault, the firewall and backups are set up.
- Spot a risky habit, such as clicking Open Anyway on an app you do not know.
- Ask the right questions when someone else sets up your Mac.
- App checker (Gatekeeper)
- the part of macOS that checks an app is from a known developer and has not been changed.
- Built-in virus scanner (XProtect)
- the part of macOS that looks for known harmful software and removes it.
- Locked drive (FileVault)
- a setting that stops others reading your files without your Mac password.
This is an independent guide from NHI Mgmt Group, based on Apple's public documentation as of November 2026. It is not sponsored or reviewed by Apple. Product features change, so confirm settings against Apple's current documentation.
What is macOS security?
Think of a new car. It comes with door locks, an alarm and airbags already fitted. But you still lock the doors, keep the keys safe and get it serviced. A Mac works the same way.
macOS is the software that runs a Mac. Apple builds several protections into it. They check apps, look for harmful software and scramble your files. Harmful software is often called malware.
Apple describes three jobs for these defences.[1] First, stop malware reaching your Mac. Second, stop it running if it does arrive. Third, remove it if it has already run.
Your part is to keep these protections switched on and up to date. You also choose how you sign in, who can change settings and where your files are backed up.
Where the comparison stops working: a car alarm stays set until you change it. On a Mac, you can override a warning with one click, and an app you approve gets the access you give it. So your choices matter as much as the built-in parts.
Why does it matter?
A Mac may hold your email, banking, photos and coursework. Macs can get malware too, so a few settings make a big difference.
If you are a student with a Mac laptop
What could happen: a "free" copy of paid software from a random website brings malware with it.
Check this: get apps from the App Store or the developer's own site, and read any warning before you open them.
If you carry your Mac around
What could happen: a laptop left in a café is taken, and the finder tries to read your files.
Check this: turn on FileVault and keep the recovery key somewhere away from the Mac.
If you work for yourself
What could happen: the drive fails the week a client deadline is due, and there is no copy of the work.
Check this: set up Time Machine to an external drive, and test that you can restore a file.
If you look after Macs at a small firm
What could happen: one Mac with paused updates and a shared admin password becomes the way into shared files.
Check this: use the checklist below on every Mac, and give each person their own account.
What does it look like?
Here is a made-up summary of what you might find when you check a Mac's settings.
Example only. All values are made up.
EXAMPLE-MAC (user: example-user) Software Update: 3 updates waiting (1) Allow apps from: App Store and known developers Account type: Admin (2) FileVault: Off (3) Firewall: Off (4) Apple Account: Password only (5) Time Machine: Last backup 4 months ago (6)
- Fixes for known weak spots are downloaded but not installed.
- The everyday account can change settings for the whole Mac.
- The extra lock on the files is not turned on.
- Unwanted connections from other computers are not filtered.
- No second check is needed to sign in to the Apple Account.
- Months of new work have no copy anywhere else.
Why this is risky: the app setting looks fine, so the Mac seems safe. But five other gaps are open at the same time.
The safer way: install the updates and use a standard account day to day. Turn on FileVault and the firewall. Add two-factor sign-in and plug in the backup drive.
How does it work?
These are the main layers, in the order we suggest you check them. Menu names are from recent versions of macOS and may differ slightly on your Mac.
- Updates. Apple recommends using the latest macOS your Mac supports. Open System Settings, then General, then Software Update, where you can also choose automatic updates.[2] Apple also updates the malware scanner on its own, separately from macOS updates.[1]
- App checks. Before an app from the internet opens for the first time, Gatekeeper checks who made it and that it has not been changed. It also checks for notarisation, which means Apple scanned the app for known malware before release.[3]
- Malware scanning. XProtect is the scanner built into macOS. It checks apps when they first open and when they change. It moves known malware to the Bin and tells you.[1]
- Accounts. An administrator can install apps for everyone and change any setting. A standard account (an everyday account) can install apps and change its own settings, but not other people's. Apple advises against sharing admin names and passwords.[4]
- Encryption. Encryption means scrambling data so it cannot be read without a key. Newer Macs scramble the drive already, and FileVault adds a lock tied to your login password. Turn it on under Privacy and Security, then FileVault.[5]
- Network and backup. The firewall helps block unwanted contact started by other computers. Turn it on under Network, then Firewall.[6] Time Machine then backs up to an external drive once you choose one.[7]

Some advice goes beyond the Mac itself. Apple's two-factor authentication asks for a six-digit code from one of your trusted devices when you sign in somewhere new.[8] The UK's National Cyber Security Centre also suggests a password manager and regular backups.[9]

A worked example
This story is made up to show how it can happen.
Nadia Okafor is a freelance illustrator in Leeds. She works on a MacBook she bought second-hand from a friend.
One evening she wants a font tool for a client job. A website offers the paid version for free. She downloads it. When she tries to open it, her Mac shows a warning that it cannot check the app for malware.
A forum post says to click Open Anyway in Privacy and Security. Nadia stops. She remembers that the warning is the Mac doing its job. She drags the download to the Bin and buys the tool from the App Store instead.
The scare makes her check the rest of her settings. Software Update shows two updates waiting, so she installs them. Under Users and Groups she finds only one account, and it is an admin. She creates a standard account for daily work and keeps the admin account for changes.
FileVault is off. She turns it on and chooses to unlock with her iCloud account if she forgets her password. She also turns on the firewall.
Last, she buys an external drive twice the size of her Mac's storage and sets up Time Machine.[7] The next morning she restores one test file to make sure it works.
What made the difference: Nadia treated the warning as a signal, not an obstacle. Then she closed four gaps in one evening.
Myths and mistakes
| What people think | What is true |
|---|---|
| Macs do not get viruses. | Macs can get malware. That is why Apple builds in Gatekeeper, notarisation and XProtect.[1] |
| Open Anyway is just a way past an annoying pop-up. | It overrides a safety check. Apple warns that unsigned or unnotarised software can put your Mac and data at risk.[3] |
| My Mac is new, so the drive is already protected. | Newer Macs scramble data, but FileVault adds the lock tied to your password.[5] Check that it is on. |
| Using the admin account every day is normal. | It is common. A standard account for everyday use limits what a mistake or a bad app can change. |
| I can skip the recovery key because I know my password. | If you lose both your password and the key, Apple says you cannot log in, and your files are lost.[5] |
| I need Lockdown Mode to be safe. | Lockdown Mode is for the very small number of people who may be personally targeted by highly advanced attacks.[10] Most people do not need it. |
What can I do this week?
- Open Software Update in System Settings and install anything waiting.
- Check FileVault is on. Keep the recovery key away from the Mac.
- Turn on the firewall under Network, then Firewall.
- Make a standard account for daily use.
- Set up Time Machine with a spare drive. Then get one file back to test it.
Checklist
- macOS is up to date, and automatic updates are switched on.
- Apps come from the App Store or known developers.
- I do not click Open Anyway on apps I am unsure about.
- I use a standard account for everyday work.
- FileVault is on, and I know where the recovery key is.
- The firewall is on.
- My Apple Account uses two-factor authentication.
- Time Machine or another backup has run in the last week.
Common questions
Do I need extra antivirus on a Mac?
Many home users rely on what is built in. macOS includes XProtect, which looks for known malware. Apple updates it on its own, and the Mac checks for updates once a day by default.[1] What matters most is keeping macOS updated and being careful about which apps you open.
What does "cannot be checked for malicious software" mean?
It means Gatekeeper could not confirm the app was notarised, so Apple has not scanned it for known malware.[3] The app may be harmless, but you cannot tell. Get it from the App Store or the developer's own site instead.
What do I need before I turn on FileVault?
You need an admin account and a plan for the recovery key. You can unlock with your iCloud account or with a recovery key that you store away from the Mac. Apple says that if you lose both your password and your recovery key, your files cannot be recovered.[5] Keep the key somewhere safe.
Is the Mac firewall on by default?
Check rather than assume. Open System Settings, then Network, then Firewall, and see whether it is on.[6] Turning on a sharing service opens a way in for that service, so switch off sharing you do not use.
What if my Mac no longer gets updates?
Then known weak spots may stay open, even with the other layers on. Apple recommends the latest macOS your Mac supports.[2] Our beginner guide to software end of life explains your options, from upgrading to replacing the Mac.
Where next?
Ready for the detail? Read the practitioner guide: macOS CIS and mSCP Compliance Guide. It goes further into security baselines for fleets of Macs, how settings are checked and enforced, and how they map to standards.
Also useful:
- macOS Security Guide for Enterprises
- Software End of Life for Beginners
- Endpoint Security for Beginners
- Mobile Device Management for Beginners
- macOS, iOS and iPadOS Support Status
Related NHI Mgmt Group resources: Two-Factor Authentication for Everyone Guide · Password Managers Explained for Everyone Guide · Smartphone Security for Beginners
Key terms
- Gatekeeper
- The part of macOS that checks an app comes from a known developer and has not been changed.
- Notarisation
- Apple's check of an app for known malware before the developer shares it outside the App Store.
- XProtect
- The virus scanner built into macOS that finds and removes known malware.
- FileVault
- A macOS setting that stops others decrypting your files without your login password.
- Firewall
- A filter that blocks unwanted network connections to or from your computer.
- Standard user
- An everyday account that can use and install apps but cannot change other users' settings.
- Software Update
- The part of macOS that downloads and installs fixes and new versions.
- Lockdown Mode
- An optional Apple setting that limits some features to protect people at risk of highly targeted attacks.
Sources and further reading
- Protecting against malware in macOS. Apple Platform Security, Apple. https://support.apple.com/guide/security/protecting-against-malware-sec469d47bd8/web, accessed 28 Nov 2026.
- Update macOS on Mac. Apple Support. https://support.apple.com/en-us/108382, accessed 28 Nov 2026.
- Safely open apps on your Mac. Apple Support. https://support.apple.com/en-us/102445, accessed 28 Nov 2026.
- Change Users and Groups settings on Mac. Mac User Guide, Apple. https://support.apple.com/guide/mac-help/set-up-users-guests-and-groups-mtusr001/mac, accessed 28 Nov 2026.
- Protect data on your Mac with FileVault. Mac User Guide, Apple. https://support.apple.com/guide/mac-help/protect-data-on-your-mac-with-filevault-mh11785/mac, accessed 28 Nov 2026.
- Block connections to your Mac with a firewall. Mac User Guide, Apple. https://support.apple.com/guide/mac-help/block-connections-to-your-mac-with-a-firewall-mh34041/mac, accessed 28 Nov 2026.
- Back up your Mac with Time Machine. Apple Support. https://support.apple.com/en-us/104984, accessed 28 Nov 2026.
- Two-factor authentication for Apple Account. Apple Support. https://support.apple.com/en-us/102660, accessed 28 Nov 2026.
- Top tips for staying secure online. National Cyber Security Centre (NCSC). https://www.ncsc.gov.uk/collection/top-tips-for-staying-secure-online, accessed 28 Nov 2026.
- About Lockdown Mode. Apple Support. https://support.apple.com/en-us/105120, accessed 28 Nov 2026.