Skip to main content

How to remove viruses and malware from your iPhone or iPad

While Apple’s highly contained ecosystem has a reputation for malware resistance, that doesn’t mean it’s completely immune. Devices like iPhones and iPads can still experience viruses or hacking attempts, especially if a user downloads a file with malware or selects a hostile link.

Difficulty

Easy

Duration

15 minutes

What You Need

  • iPhone or iPad

If you think that some kind of malware may have been downloaded to your iOS or iPadOS device, it’s a good idea to take immediate action. Follow our steps to clear your iPhone or iPad of troublesome viruses.

Download updates and restart

Updates can patch vulnerabilities and help deal with the latest malware attacking Apple platforms, so you should always start with this step. Even if you have automatic updates turned on, there’s still a chance they aren’t download because your Apple device may need a specific connection or timeframe to do it. Here’s how to make sure updates are applied.

Step 1: Head to the Settings app. Here, select the General section from the menu.

Choose Software Update in General.

Step 2: Select Software Update.

Select Download and Install on Apple Device.

Step 3: Download and Install the latest update. This can take some time, but eventually your device will restart.

Step 4: If there are no updates, perform a manual reboot as an alternative.

Clear your browsing history

Deleting your browser history can clear up performance issues and ensure that viruses don’t return. Here’s how to do it on Safari — it’s similar on other browsers as well.

Step 1: Open Settings once more and scroll down to your apps to select Safari.

Clear Safari History.

Step 2: Scroll down in Safari to find the option to Clear History and Website Data. Select it and wait for Safari to complete the process.

Choose to remove the app.

Remove unknown apps

Your next important step is to go through all the apps in your phone and remove those that you don’t need, or that you don’t recognize. Some malware will automatically upload unwanted apps, or new, untrustworthy apps could be the source of viruses and should be removed.

Removing apps is very easy on iPhones or iPads. Simply give the app in question a long press, and then select Remove and confirm. Do this with all suspicious apps and any recently downloaded apps you don’t need.

Restore to a previous version using an iCloud backup

If you’ve tried everything and are still experiencing suspicious signs like unwanted downloads, unexplained account charges, lots of crashing, etc., then there’s another step you should take. You can restore your Apple device to a previous version by using your iCloud backup, which is typically enabled during setup. This is especially important if you’ve confirmed that there’s malware on your device, because it’s one of the only ways to really be sure you’ve removed it.

Step 1: Head back to Settings, and select General to proceed. Scroll down until you find Transfer or Reset iPhone/iPad and select it.

Choose to Transfer or Reset iPad or iPhone.

Step 2: Choose Erase All Content and Settings. Follow the instructions, but try to avoid creating a brand new iCloud Backup. The goal is to go to a backup from before any malware was downloaded, so choose Erase Now at this screen.

Select Erase All Content and Settings.

Step 3: When your iPhone/iPad is finished erasing, it will prompt you to set up again and give you an option to Restore from iCloud Backup. Choose this, and your device will restore to an earlier version. It’s a good idea to plug it in and give it time for this process.

Step 4: If you don’t have an iCloud Backup, this process will restore your device to factory settings and delete all your data. Only do this if you’ve tried everything else, and it’s clear a virus is still crashing your system.

If you want to make it less likely that your Apple device faces trouble in the future, take a look at our guide on the best antivirus apps you can get for your iPhone.

Editors' Recommendations

Tyler Lacoma
If it can be streamed, voice-activated, made better with an app, or beaten by mashing buttons, Tyler's into it. When he's not…
Apple’s next MacBooks and iPads could be in serious trouble
The MacBook Pro open on a wooden table.

Hype has been growing for Apple’s upcoming M3 chips, which are expected to splash down in a slate of Macs and iPads later this year. Yet one leaker has come along to spoil the party and has claimed that we won’t see anything of the sort until 2024.

That idea comes from Twitter leaker Revegnus, who tweeted that there would be “No M3 Mac or iPad for this year.” That will be disappointing news to anyone looking forward to laying their hands on the latest and greatest Apple silicon chips in the coming months.

Read more
This little-known feature is my favorite part of using a Mac and iPhone together
Person using iPhone and MacBook.

Apple’s ecosystem attracts plenty of praise for how all the company’s devices work seamlessly together -- and rightly so. But among all the admiring glances cast toward AirDrop, Continuity Camera and Sidecar, there’s another feature that feels a little unloved -- yet it’s a superb perk of using multiple Apple devices together.

That feature is Universal Clipboard, a handy little timesaver that shuns the spotlight and simply works diligently in the background. Yet that simple nature -- it just works, as the saying goes -- is part of what makes it so great to use.

Read more
9 new Apple products that could launch in 2023
The back of the iPhone 14 Pro Max.

As it currently stands, 2023 has already been a busy year for Apple. The company launched a new yellow iPhone 14, brought back the HomePod, and refreshed its Mac lineup with an M2 Mac mini and M2 MacBook Pro. But what else is on the docket? As it turns out, a lot more. From new iPhones, an upgraded Apple Watch, and possibly an AR headset, here are nine products we still expect from Apple in 2023.
iPhone 15 and iPhone 15 Pro

If there is any Apple product with an upgrade cycle that’s literally like clockwork, it’s the iPhone, which is always out in the fall. This year, we can expect the iPhone 15 lineup to include an iPhone 15, iPhone 15 Plus, iPhone 15 Pro, and iPhone 15 Pro Max. However, it is rumored that the iPhone 15 will have a bigger 6.2-inch display this year, but the rest of the lineup will have the same sizes as before.

Read more