What to do if your iPad has a virus

If your iPad is running slowly, showing pop-ups you didn't click, or displaying ads in places they shouldn't appear, a virus or malware may be present. The fastest way to remove it is to restart your iPad in Safe Mode, then delete any unfamiliar apps you installed recently. 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.

iPad viruses are less common than on Android devices because Apple's App Store has stricter review rules and the operating system isolates apps from each other. However, malware can still arrive through phishing links in emails or messages, fake apps that slip through review, or websites you visit in Safari. The steps below will help you identify what's wrong and remove it.

Key Takeaways

  • Restart your iPad normally first, then try Safe Mode, before attempting a factory reset.
  • Delete any apps you don't recognize or recently installed, especially games or utility tools.
  • A factory reset through Settings > General > Transfer or Reset > Erase All Content and Settings removes all malware but also erases everything on your device.
  • Back up your photos, documents, and other files to iCloud or a computer before erasing your iPad.
  • After restoring, avoid downloading apps outside the App Store and be cautious with email links and attachments.

Restart your iPad normally and check for unfamiliar apps

Start by powering off your iPad completely and turning it back on. This clears temporary files and stops many malware processes from running. After the restart, go to your home screen and look through all your apps—swipe through multiple screens if needed. Delete anything you don't recognize or don't remember installing, especially games, utility tools, or apps with generic names.

To delete an app, press and hold its icon until a menu appears, then tap Remove App > Delete App. If an app won't delete or you can't find it, note its name and move to the next step. Check your Safari browsing history to see if you visited any suspicious websites recently. Open Safari, tap the Bookmarks icon (looks like an open book), then tap History to review your recent activity.

Boot into Safe Mode to disable third-party apps

Safe Mode starts your iPad with only Apple's built-in apps running, which stops most malware from loading. To enter Safe Mode, power off your iPad completely. Then power it back on and immediately press and hold the Volume Up button until you see the "Slide to Power Off" screen. Release Volume Up, then press and hold the Power button until the screen goes black and restarts. You'll see "Safe Mode" in the bottom left corner when it finishes booting.

In Safe Mode, try using your iPad normally for a few minutes. If the slowness, pop-ups, or ads disappear, the problem is likely a third-party app. Exit Safe Mode by restarting normally (power off and on without holding any buttons), then delete the suspicious apps you identified earlier. If the problem persists in Safe Mode, the malware may be deeper in the system, and a factory reset is your next option.

Back up your data before a factory reset

A factory reset erases everything on your iPad and reinstalls the operating system. Before you do this, back up your photos, documents, contacts, and any other files you want to keep. The easiest way is through iCloud: go to Settings > [Your Name] > iCloud and make sure the toggle for iCloud Backup is on. Then go to Settings > [Your Name] > iCloud > iCloud Backup and tap Back Up Now. This may take several minutes depending on how much data you have.

Alternatively, connect your iPad to a Mac or Windows computer with a USB cable, open Finder (Mac) or iTunes (Windows), select your iPad, and click Back Up Now. This creates a local backup on your computer. Either method works—iCloud is more convenient if you don't have a computer nearby, but a computer backup is faster if you have a lot of data.

Perform a factory reset through Settings

Once your data is backed up, go to Settings > General > Transfer or Reset. Tap Erase All Content and Settings. You'll be asked to enter your Apple ID password and confirm. The iPad will then erase all data and reinstall iPadOS from scratch. This process takes 10 to 30 minutes depending on your iPad model and internet speed. Your iPad will restart several times during this process—do not turn it off or disconnect it from power.

When the reset finishes, your iPad will show the setup screen as if it's brand new. You can sign in with your Apple ID and restore your backup from iCloud or your computer. Choose Restore from iCloud Backup or Restore from Mac/PC, then select the backup you just created. Your photos, contacts, and documents will return, but any malware will be gone because it was erased along with everything else.

Restore from your backup carefully

When you restore from a backup, you're putting your files back, but not the malware—the malware was erased in the factory reset. However, if the malware came from an app you had installed, that app won't be in your backup either because backups don't include apps themselves, only your data and settings. When restoration finishes, your iPad will re-download apps from the App Store based on your purchase history.

Before re-downloading apps, review what you had installed. Don't reinstall anything you don't recognize or anything you suspect caused the problem. If you're unsure whether an app is legitimate, search for it online or check its reviews in the App Store before downloading it again.

Prevent future malware on your iPad

Download apps only from the App Store, not from websites or email links. The App Store reviews apps before they're published, though some malware still gets through. Avoid clicking links in emails or text messages from people you don't know, and be suspicious of messages that ask you to update your password or confirm your Apple ID. Apple will never ask you to do this through email or text.

Keep your iPad updated by going to Settings > General > Software Update and installing any available updates. Updates patch security holes that malware exploits. Turn on two-factor authentication for your Apple ID by going to Settings > [Your Name] > Password & Security > Two-Factor Authentication. This makes it harder for someone to access your account even if they get your password.

Frequently Asked Questions

Can I remove a virus without erasing my iPad?

Yes, if the virus is a third-party app. Restart in Safe Mode, identify which app is causing the problem, and delete it. If the problem stops, you've removed the malware. If it continues in Safe Mode, the malware is part of the system itself, and a factory reset is necessary.

Will a factory reset remove all viruses?

Yes. A factory reset erases the entire operating system and reinstalls it fresh, which removes any malware. However, you lose all data on the device unless you back it up first. The backup itself won't contain malware because backups store only your files and settings, not system-level malware.

What if my iPad won't turn on or is frozen?

Force restart your iPad by quickly pressing Volume Up, then Volume Down, then pressing and holding the Power button until you see the Apple logo (usually 10 to 15 seconds). If it still won't respond, connect it to a computer and use Finder (Mac) or iTunes (Windows) to restore it, which performs a factory reset through your computer.

Can I get a virus from visiting a website on Safari?

Visiting a malicious website won't directly install a virus on your iPad, but it can trick you into downloading a fake app or clicking a link that leads to phishing. Be cautious with links in emails and messages, and avoid downloading files from untrusted websites.

Do I need antivirus software on my iPad?

No. iPad's operating system design makes traditional antivirus software unnecessary and largely ineffective. Staying updated, using the App Store, and being cautious with links and downloads provide better protection than any app can offer.