You can’t run a virus scan on an iPhone the way you would on a Windows PC, and you don’t need to. iOS already checks the third-party apps you have installed against malware that Apple has identified, and if one matches, iPhone blocks the app and shows an alert telling you to delete it. So the practical check is a short audit in Settings. Update iOS, look for configuration profiles you didn’t install, review your apps and their permissions, confirm which devices are signed in to your Apple Account, and run Safety Check.
The steps below follow iOS 27, the current iPhone software. Most of them also apply to iOS 26 and earlier releases. Safety Check and Lockdown Mode need iOS 16 or later, and where an option is newer or depends on your region, that’s noted next to the step.
What a malware check on iPhone really looks at
Malware is any software built to steal information, show unwanted ads, track you, or damage the device. On an iPhone, it rarely behaves like an old-style computer virus that copies itself from file to file. The real risks are more ordinary: a scam website that tricks you into typing your password, a configuration profile that someone talked you into installing, an app that asks for far more access than it needs, or another person who knows your Apple Account password.
A few more terms come up in this guide:
- Sandboxing: every third-party app runs in its own walled-off space. According to Apple’s platform security documentation on app sandboxing, this is designed to stop apps from gathering or changing information stored by other apps or making changes to the device.
- Configuration profile: a file that adds settings for things like a work email account, a school Wi-Fi network, or a VPN. Legitimate ones come from employers and schools. A profile you don’t recognize deserves a closer look.
- MDM (mobile device management): a system that lets an organization manage a phone remotely. It is normal on a company-owned iPhone and a red flag on a personal one you never enrolled.
- Jailbreaking: modifying iOS without Apple’s permission. Apple explains in its page on unauthorized modification of iOS that jailbreaking removes security layers and can open the door to malware and spyware, along with crashes and faster battery drain.
Because of sandboxing, an app from the App Store that calls itself a “virus scanner” can’t look inside your other apps the way desktop antivirus software does. Some of those apps offer useful extras such as web filtering or breach alerts, but none of them replaces the checks below, and a “scan complete, 3 threats found” screen is not proof of anything.
What you need first
- Your iPhone passcode and your Apple Account password. Several steps ask for one or both.
- A current backup if you think you might end up resetting settings or erasing the phone later. Apple’s page on how to back up iPhone covers iCloud and computer backups.
- About 15 to 20 minutes, and a Wi-Fi connection for the software update.
Check your iPhone for malware in Settings
Work through these in order. The early steps close known security holes, and the later ones look for signs that someone or something has access it shouldn’t.
- Install the latest iOS update. Open Settings > General > Software Update. The screen shows your installed version and whether an update is available. If one is, tap Download and Install. While you’re there, tap Automatic Updates and turn on Automatically Install so future fixes arrive overnight while the phone charges on Wi-Fi. Apple says your data and settings stay unchanged when you update iOS.
- Turn on Background Security Improvements. Go to Settings > Privacy & Security > Background Security Improvements and turn on Automatically Install. These are smaller security fixes Apple can deliver between full iOS updates. If you don’t see this option, your iPhone is on an older iOS version, so finish step 1 first. Apple describes it on the page for Background Security Improvements.
- Look for configuration profiles and device management. Go to Settings > General > VPN & Device Management. Any installed profiles are listed here. If you see one you don’t recognize on a personal iPhone, tap it to read who issued it and what it contains before you decide anything. Removing a profile is covered in the next section, because it has side effects.

- Review every app on the phone. Go to the Home Screen and swipe left past all your Home Screen pages to reach App Library, which shows your apps, including any you removed from the Home Screen. Tap the search field at the top, or scroll to browse the alphabetical list. Look for anything you don’t remember installing, apps with generic names, or duplicates of apps you already have.
- Check what your apps are allowed to access. Go to Settings > Privacy & Security and tap categories such as Location Services, Camera, Microphone, Photos, Contacts and Local Network. Each one lists the apps that asked for access, and you can turn access off for any of them. A flashlight app with microphone access, for example, is worth removing.
- Open the App Privacy Report. In Settings > Privacy & Security, tap App Privacy Report. If it’s off, turn it on and come back in a few days. Apple says the report shows how apps use the permissions you granted and their network activity, which makes it easier to spot an app contacting far more web domains than its job requires. See control access to information in apps.
- Confirm which devices are signed in to your Apple Account. Open Settings, tap your name at the top, then scroll down to the device list. Tap any device you don’t recognize to see its details. Apple’s article on how to review devices signed in to your Apple Account explains that signed-in devices can receive verification codes and sync with iCloud, so an unfamiliar one matters more than an unfamiliar app.

- Run Safety Check. Go to Settings > Privacy & Security > Safety Check, tap Manage Sharing & Access, tap Continue, then follow the prompts. Safety Check walks you through people you share location and content with, apps with privacy permissions, devices connected to your Apple Account, and your passcode and Apple Account password. Apple’s guide to managing information sharing with Safety Check has the details.

- Glance at battery and data use. In Settings > Battery, the Daily Usage section highlights the apps behind unusually high use, and View All Battery Usage shows each app’s on-screen and background time. In Settings > Cellular, scroll down to see how much cellular data each app has used. An app you rarely open that shows heavy background activity is worth a second look. Keep in mind that weak signal, an aging battery and normal background tasks like photo syncing also raise usage, as Apple explains in understanding iPhone battery usage.
If none of these turn up anything unusual and your iPhone has never shown a malware alert or a threat notification, there’s no evidence of an infection. Slowness or a warm phone on its own usually has an everyday cause.
Remove what you found
Handle each finding on its own instead of jumping straight to erasing the phone.
Delete an app you don’t trust
- Touch and hold the app on the Home Screen or in App Library.
- Tap Remove App, then tap Delete App.
- Tap Delete to confirm.
Choosing Remove from Home Screen only hides the app in App Library, so make sure you pick Delete App. Data the app stored in iCloud isn’t deleted with it, according to Apple’s page on how to remove or delete apps.
Remove a configuration profile
Before you remove anything: Apple warns that deleting a profile also deletes all of the settings, apps and data tied to it. If the iPhone belongs to your employer or school, or the profile is for your work email, ask that organization’s IT team first, because removing it can cut off your access.
- Go to Settings > General > VPN & Device Management.
- Tap the profile you want to remove.
- Tap Remove Profile, then follow the onscreen prompts.
Apple covers this on its page about how to install or remove configuration profiles.
Sign out an unknown device and secure your account
From the device list under your name in Settings, tap the device you don’t recognize, tap Remove from Account, then confirm. Then change your Apple Account password and make sure two-factor authentication is on. If you’ve noticed other signs, such as verification codes you didn’t request or a password that no longer works, follow Apple’s steps for when you think your Apple Account has been compromised, which also suggest checking with your carrier that no one has set up text message forwarding on your number.
If your iPhone warns that an app contains malware
This is the closest thing iOS has to a scan result. Apple says iPhone regularly checks installed third-party apps for malware Apple has identified, and when it finds a match, it stops the app from opening and shows an alert. The safest response is to tap Delete App right in the alert, or delete the app from the Home Screen or App Library as described above.
You can also open Settings to read more about the specific alert, and if the developer has released a fixed version you may see an option to update it. Settings includes a Re-Enable App option for people who decide to use the app anyway, but Apple warns this could harm your device or compromise your privacy. Unless you have a specific, informed reason, leave it disabled. Apple’s full instructions are in if your iPhone warns you that a third-party app contains malware.
If you get an Apple threat notification
Apple sends threat notifications to people it believes were individually targeted by mercenary spyware, the expensive, highly targeted kind of attack sometimes used against journalists, activists and officials. Apple says the vast majority of people will never be targeted this way. A genuine notification appears on your iPhone Lock Screen and in Settings, arrives by email to the addresses on your Apple Account, and shows as a banner at the top of the page when you sign in at account.apple.com.
Scammers copy these messages, so check the source. Apple states that its threat notifications never ask you to click links, open files, install apps or profiles, or give your Apple Account password or a verification code. To confirm one is real, sign in at account.apple.com directly (type the address yourself rather than tapping a link) and look for the banner. Read more in Apple’s page about Apple threat notifications.
If the notification is genuine, Apple recommends turning on Lockdown Mode and suggests getting expert help. To turn it on:
- Go to Settings > Privacy & Security > Lockdown Mode.
- Tap Turn On Lockdown Mode, then confirm when asked.

- Tap Turn On & Restart, then enter your passcode. iPhone restarts in Lockdown Mode.
Expect the phone to work differently afterward. Apple notes that most message attachment types are blocked, some websites load slowly or look broken, FaceTime calls from people you haven’t called in the past 30 days are blocked, and features like SharePlay and Shared Albums are unavailable. Lockdown Mode also turns on for a paired Apple Watch running watchOS 10 or later, and Apple says each of your devices needs it turned on for complete protection. See about Lockdown Mode and the iPhone User Guide page on how to use Lockdown Mode.
You can also turn on Lockdown Mode without a notification if you have good reason to think you’re personally targeted. For everyone else, it adds friction without much benefit.
Scary pop-ups that say your iPhone is infected
A full-screen Safari page claiming “your iPhone has 5 viruses” comes from a website, not from iOS. Apple lists misleading pop-ups and ads that claim your device has a security problem among common scam tactics in its guide to recognizing and avoiding social engineering schemes. Close the tab. Don’t tap anything inside the page, don’t call a phone number it shows, and don’t install the app or profile it pushes.
If the same site keeps reappearing or sending notifications, clear Safari’s history and website data. Apple’s page on how to clear your cache and cookies notes that this also removes notification and location permissions you gave to websites. If you already typed your Apple Account password into a page like this, change the password right away.
When a setting is missing or won’t change
- Nothing to review in VPN & Device Management: Apple’s guide says installed profiles appear on this screen, so an empty list on a personal iPhone you never enrolled with a company or school is the result you want.
- A profile you can’t remove, or one that belongs to your job or school: contact the organization that issued it. Settings from MDM are managed by that organization, so their IT team is the right route, not a workaround app.
- Some Safety Check options are unavailable: Apple says this can happen when Screen Time restrictions are on or an MDM profile is installed. Safety Check may also work a little differently with Stolen Device Protection turned on. See Safety Check for an iPhone with iOS 16 or later.
- Safety Check isn’t in Settings at all: it requires iOS 16 or later, an Apple Account that uses two-factor authentication, and being signed in to that account on the iPhone.
- You installed apps from outside the App Store: in Brazil, Japan and the European Union, iPhone can install apps through alternative app marketplaces or web distribution. Apple says these apps go through a Notarization process for baseline integrity, but each marketplace reviews apps under its own policies. Review those apps first. See about alternative app distribution.
- The update won’t install over the air: connect the iPhone to a Mac or Windows computer with a cable and use Check for Update, as described on Apple’s page for updating iOS.
Last resorts: reset settings or erase the iPhone
If something still seems wrong after removing apps and profiles, step up gradually.
Reset All Settings returns settings (network, keyboard dictionary, location, privacy and Apple Pay cards) to their defaults without deleting your data or media. Go to Settings > General > Transfer or Reset iPhone, tap Reset, then tap Reset All Settings. Read the options carefully on that screen, because Erase All Content and Settings sits right beside it. Apple explains each choice in reset iPhone settings to their defaults.
Warning before erasing: erasing removes all content and settings and returns the iPhone to factory settings. Back up anything you want to keep first, and if you use an eSIM, decide whether to keep it, because erasing it means contacting your carrier to reactivate service. When you’re ready, go to Settings > General > Transfer or Reset iPhone > Erase All Content and Settings, enter your passcode or Apple Account password, then tap Continue. Apple’s page on how to erase iPhone also covers erasing from a computer. If you restore from a backup afterward, skip reinstalling any app you deleted as suspicious and don’t reinstall an unknown profile.
How to tell the check worked
- Software Update says your iPhone is up to date.
- VPN & Device Management shows only profiles you recognize, or none.
- Every app in App Library is one you chose to install.
- Your Apple Account device list shows only your own devices.
- Safety Check shows no sharing or access you didn’t expect.
- No malware alerts or threat notifications appear, and the pop-ups have stopped.
Run through the list again in a week. Repeating steps 3, 7 and 8 from time to time takes only a few minutes.
Common questions about iPhone malware checks
Do I need an antivirus app on my iPhone?
Apple’s own baseline advice for everyone is to keep your software updated, use a passcode with Face ID or Touch ID, use two-factor authentication with a strong Apple Account password, turn on Stolen Device Protection, install apps from the App Store, and avoid links and attachments from unknown senders. Because of app sandboxing, a security app can’t inspect your other apps, so it can’t do what desktop antivirus does. Be especially wary of any app or website that insists you install it to “clean” your phone.
Can someone tell if I’m being recorded through the camera or microphone?
Yes, iOS shows it. A green dot appears at the top of the screen when an app uses the camera, and an orange dot appears when an app uses the microphone without the camera. Control Center also shows which app used them recently. You can then turn off that app’s access in Settings > Privacy & Security. Apple explains the indicators on its page about controlling access to hardware features.
Someone else had my phone for a while. What should I check first?
Start with Safety Check and the Apple Account device list, since a person with physical access is more likely to set up location sharing or sign in on another device than to install malware. If you’re worried about your personal safety, Safety Check also has an Emergency Reset option that immediately stops sharing with all people and apps and resets access. Turning on Stolen Device Protection (in Settings > Face ID & Passcode or Touch ID & Passcode) means someone who learned your passcode still needs your Face ID or Touch ID, and in some cases an hour-long Security Delay, before changing your passcode or Apple Account password.
My iPhone is hot and the battery drains fast. Is that malware?
Usually not. Apple’s battery screen breaks down on-screen time, background activity, weak cellular coverage and notifications for each app, and those everyday causes explain most heat and drain. Treat it as a reason to run the checks above, not as proof. If you want to see how these symptoms line up with real warning signs, there’s a separate breakdown of key signs your iPhone may have a virus.
Is a malware problem the same as being hacked?
Not quite. Most “hacked iPhone” cases involve the account rather than the phone: a reused password, a phished verification code, or someone with access to your Apple Account. The account checks in this guide catch those. For a wider look at account takeover clues, read about how to know if your iPhone is hacked.
Next step
If the audit found nothing, turn on Automatic Updates and Background Security Improvements and leave it there. If it found an unfamiliar app, profile or device, remove it using the steps above, change your Apple Account password, and then work through the cleanup in removing a virus or malicious app from your iPhone.
You must be logged in to post a comment.