What to do if your iPad has a virus

If your iPad is running slowly, showing pop-ups you didn't click, or draining battery faster than usual, a virus or malware may be responsible. The fastest way to remove it is to restart your iPad in Safe Mode, then delete any apps you don't recognize. If that doesn't work, back up your data and perform a factory reset through Settings > General > Transfer or Reset > Erase All Content and Settings. This wipes everything and reinstalls the operating system fresh.

Most iPad viruses come from apps outside the official App Store, malicious websites, or phishing emails. If you only read from the App Store and avoid suspicious links, your risk is much lower than on a computer — but it's not zero. The steps below will remove what's there and help you avoid it happening again.

Key Takeaways

  • Restart your iPad and check Settings > General > iPhone Storage to delete any unfamiliar apps that appeared recently.
  • If restarting and deleting apps doesn't fix the problem, back up your photos and documents, then erase the entire iPad and restore from backup.
  • A factory reset removes the operating system and reinstalls it, which kills any virus or malware that was running.
  • After removing the virus, only read apps from the official App Store and avoid clicking links in emails or texts from unknown senders.

Restart your iPad and check for unfamiliar apps

The first step is to force your iPad to shut down and restart. Press and hold the top button and either volume button until the power-off slider appears. Drag it to turn off the iPad, wait 10 seconds, then press the top button again until the Apple logo shows. This clears temporary files and stops any malware running in the background.

Once it restarts, go to Settings > General > iPhone Storage (the name is the same on iPad). Scroll through the list and look for apps you don't remember installing. Tap any suspicious app and select Delete App, then Delete App again to confirm. Pay special attention to apps with generic names like "System Update", "Security", or "Cleaner" — these are common malware disguises.

If you see apps from the App Store that you recognize but didn't install, they may have been downloaded by malware. Delete them the same way. After removing suspicious apps, restart your iPad again and see if the problem stops.

Back up your data before a factory reset

If restarting and deleting apps doesn't fix the problem, you'll need to erase your iPad completely and start over. Before you do, save your photos, documents, and any data you want to keep. The easiest way is to back up to iCloud, which stores everything on Apple's servers so you can restore it later.

Go to Settings > [Your Name] > iCloud > iCloud Backup and tap Back Up Now. Wait for the backup to finish — this can take 10 minutes to an hour depending on how much data you have and your internet speed. You can check the progress by going back to the same screen; it will show the date and time of the last backup when it's done.

If you prefer not to use iCloud, you can connect your iPad to a Mac or Windows computer with iTunes or Finder and create a local backup. On a Mac, open Finder, select your iPad in the sidebar, and click Back Up Now. On Windows, open iTunes, select your iPad, and click Back Up.

Perform a factory reset to remove the virus

Once your data is backed up, erase your iPad. Go to Settings > General > Transfer or Reset > Erase All Content and Settings. Enter your Apple ID password and confirm. Your iPad will restart and show the setup screen, just like it did when it was new. This process takes 10 to 20 minutes.

The factory reset removes the entire operating system and reinstalls it from scratch. Any virus or malware is deleted along with everything else. This is the most reliable way to remove a virus that survived the restart and app deletion steps.

After the reset finishes and you see the setup screen, sign in with your Apple ID. When you reach the Apps & Data screen, choose Restore from iCloud Backup and select the backup you just created. Your photos, contacts, messages, and app data will be restored, but the virus will be gone because it wasn't part of the backup.

Restore your apps and data from backup

After you restore from backup, your iPad will read and reinstall all your apps from the App Store automatically. This can take an hour or more depending on how many apps you have. Leave your iPad plugged in and connected to Wi-Fi while this happens.

Once the restore is complete, check that your photos, messages, and documents are back. Open a few apps to make sure they work. If the problem returns — slow performance, unexpected pop-ups, or battery drain — the virus may have been in your backup. In that case, you'll need to set up your iPad as new without restoring from backup, then manually reinstall only the apps you need.

Prevent viruses by using the App Store and avoiding suspicious links

The App Store reviews every app before it's published, so downloading from there is much safer than installing apps from websites or email links. Stick to the official App Store for all your apps. If an app asks you to read it from somewhere else, that's a red flag.

Be cautious with links in emails, texts, and social media, especially from people you don't know. A message that says "Click here to update your Apple ID" or "Verify your account" is often a phishing attempt designed to steal your password or trick you into downloading malware. Apple will never ask you to click a link to verify your account — they'll direct you to Settings instead.

If you accidentally click a suspicious link and land on a fake login page, don't enter your password. Close the browser tab and restart your iPad. If you did enter your password, go to Settings > [Your Name] > Password & Security and change your Apple ID password right away.

When to use Safe Mode if your iPad won't restart normally

If your iPad is so infected that it won't restart normally, you can try Safe Mode. This loads only the essential system files and disables third-party apps, which can help you delete the malware. To enter Safe Mode, restart your iPad normally, but as soon as the Apple logo appears, press and hold the volume up button until you see "Slide to Power Off". Turn it off, wait 10 seconds, then turn it back on while holding volume up until the home screen appears.

In Safe Mode, go to Settings > General > iPhone Storage and delete any unfamiliar apps. Then restart normally to exit Safe Mode. If this works, you may not need a factory reset. If the problem returns, proceed with the factory reset steps above.

Frequently Asked Questions

Can I remove a virus without erasing my iPad?

Sometimes. Restart your iPad, delete unfamiliar apps, and change your Apple ID password. If the problem stops, you're done. If it continues after 24 hours, a factory reset is more reliable because it removes any malware that survived the restart and app deletion.

Will restoring from backup put the virus back on my iPad?

No. Viruses don't survive in iCloud backups because they're not part of your personal data — they're malicious code running on the device itself. When you restore from backup after a factory reset, you get your photos and documents back, but not the virus.

What if I don't remember my Apple ID password?

Go to iforgot.apple.com and follow the steps to reset it. You'll need access to the email address or phone number linked to your Apple ID. If you can't access those, you may need to contact Apple Support before you can erase your iPad.

How long does a factory reset take?

The erase process itself takes 10 to 20 minutes. Restoring your data from backup can take an hour or more depending on how much you have and your internet speed. Keep your iPad plugged in and on Wi-Fi the whole time.

Do I need antivirus software on my iPad?

No. iPad's operating system is designed to prevent malware from running, and the App Store review process catches most threats before they're published. Antivirus apps can't actually scan your iPad the way they do on a computer. Stick to the App Store and avoid suspicious links instead.