Skip to main content
  1. Home
  2. Tablets
  3. Computing
  4. How tos

How to remove viruses and malware from your iPhone or iPad

Add as a preferred source on Google
iPad Pro 12.9 inch lifestyle shot.
Image used with permission by copyright holder

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.

Many of the best free antivirus tools are available for iPhone and iPad, but what if you're too late?

Recommended Videos

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.
screenshot / Digital Trends

Step 2: Select Software Update.

Select Download and Install on Apple Device.
screenshot / Digital Trends

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, restart your iPhone (or iPad) 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.
screenshot / Digital Trends

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.
screenshot / Digital Trends

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.
screenshot / Digital Trends

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.
screenshot / Digital Trends

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.

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…
Lenovo’s $1000 flagship Android tablet packs everything you’ll ever need
A 4K screen, giant battery, and keyboard in the box? Lenovo’s new tablet goes all out
The Yoga Tab Plus Gen 2 Featured

Lenovo’s latest high-end tablet is finally available in the US, and the company has jam-packed it with hardware that makes it versatile enough for all kinds of work. The Yoga Tab Plus Gen 2, first unveiled at IFA 2026, is now on sale for $999.99 with 12GB of RAM and 256GB of storage.

For that price, you get a 13-inch 4K display, a 12,700mAh battery, and Qualcomm’s Snapdragon 8 Elite processor. More importantly for anyone hoping to do some actual work on it, Lenovo includes the All-in-One Clamshell Keyboard and Tab Pen Pro 2 in the package.

Read more
XPPen Magic Pro 13 debuts at IFA 2026 as a portable drawing pad for professional creators
XPPen unveils Magic Pro 13 at IFA 2026 for mobile and desktop creation
XPPen

XPPen has unveiled the Magic Pro 13, a new professional drawing pad designed to bridge the gap between creating on the move and working at a desktop setup. The device made its debut at IFA 2026 in Berlin, where XPPen positioned it as an all-scenario creative tool for artists who want professional capabilities without being tied to a fixed workstation.

The Magic Pro 13 is built around a two-in-one concept. It works as a portable drawing pad for capturing ideas away from a desk, while also functioning as a desktop-grade drawing display when connected to a PC. It runs Android 16 and features a 3K, 120Hz display, along with XPPen's new X4 Smart Chip Stylus.

Read more
TCL debuts two new budget friendly 11-inch Android tablets, starting at $190
TCL's budget tablet duo shares everything except the display and a bundled accessory.
tcl-tab-A1

TCL expanded its budget tablet lineup today with two new 11-inch options: the TAB A1 and TAB A1 NXTPAPER. Both share the same core hardware, so your choice mostly comes down to screen finish and whether you want a stylus tossed in. Prices start at $189.99, making this one of the more affordable entries in TCL's tablet catalog right now.

TCL TAB A1, the straightforward budget pick

Read more