Yes, macOS comes with a built-in antivirus program called XProtect. However, it only offers basic protection against malware and isn’t as comprehensive as a third-party solution.