How to Check Your iPhone for a Virus or Malware
Can iPhones get viruses? The real warning signs, how to check your iPhone for malware, and how to remove calendar spam and fake pop-ups.
Real iPhone viruses are very rare, because every app runs in its own sandbox and can't change the system or other apps. But iPhones can still get fake virus pop-ups, calendar spam, bad configuration profiles and scam apps. Here's how to check yours and clean it up.
Signs Something Is Wrong
- Pop-ups in Safari saying "Your iPhone has a virus!" (these are always fake ads).
- Strange events in your Calendar with links, like "You won a prize".
- An app you don't remember installing.
- Unknown profiles or a VPN you didn't set up.
- Sudden battery drain or data use from one app.
How to Check Your iPhone for Malware

- Update iOS. Settings › General › Software Update. Updates close the security holes real spyware uses.
- Check for profiles. Settings › General › VPN & Device Management. If you see a profile you didn't install (and it's not from your school or work), tap it and tap Remove Profile.
- Remove calendar spam. Settings › Apps › Calendar › Calendar Accounts. Delete any subscribed calendar you don't recognize.
- Review your apps. Swipe to the App Library and delete anything you don't know. Check Settings › Battery for apps using lots of background power.
- Run Safety Check. Settings › Privacy & Security › Safety Check shows who and what has access to your data and lets you reset it.
- Check your Apple Account. Settings › [your name] › Devices. Remove any device you don't own, and change your password if something looks wrong.
How to Stop Fake Virus Pop-Ups in Safari
Never tap the pop-up or call the phone number on it. Close the tab, then go to Settings › Apps › Safari and turn on Block Pop-ups and Fraudulent Website Warning. Clear History and Website Data if they keep coming back.
Do iPhones Need Antivirus Apps?
No. Antivirus apps on the App Store can't scan other apps because of the sandbox. Most are really VPN or web-filter apps. Keeping iOS updated is the best protection.
Sideloading Safely
If you sideload apps, only download IPAs from the developer's official page, and avoid "tweaked" or "++" copies of paid apps. See our guide to sideloading safely and check any IPA with our free IPA Inspector before installing.
Worried About Spyware?
If you think you're targeted by advanced spyware (for example as a journalist or activist), turn on Lockdown Mode in Settings › Privacy & Security. It blocks many attack paths at the cost of some features.
Frequently Asked Questions
Can iPhones get viruses?
Real viruses are very rare on iPhone because apps run in a sandbox. Fake virus pop-ups, calendar spam, bad profiles and scam apps are much more common, and they're easy to remove.
How do I check my iPhone for a virus?
Update iOS, check Settings › General › VPN & Device Management for unknown profiles, delete unknown calendar subscriptions and apps, and run Safety Check.
Is the 'your iPhone has a virus' pop-up real?
No. It's a scam ad in Safari. Close the tab without tapping anything and turn on Block Pop-ups in Safari settings.
Do I need an antivirus app on my iPhone?
No. iPhone antivirus apps can't scan other apps. Keeping iOS updated is the best protection.
How do I remove calendar virus events on iPhone?
Go to Settings › Apps › Calendar › Calendar Accounts and delete the subscribed calendar that adds the spam events.