iPhone Virus Warning — Real Apple Alert or Browser Scam?

Virus warnings in Safari or any iPhone browser are fake. iPhones don't display virus alerts through web browsers. Here's how to close it safely.

Frequently asked questions

Can a website actually infect my iPhone?
No. iOS has strong sandboxing that prevents websites from accessing your files or installing software. A website cannot scan your iPhone or detect viruses — any site claiming to do so is lying.
Should I install the app or 'cleaner' they're suggesting?
Never. The app is the threat. Installing it may give scammers access to your data or subscribe you to a paid service. Only install apps from the official App Store.
I tapped the link — am I infected?
Tapping a link in a browser pop-up on iPhone does not install malware automatically. Close Safari, go to Settings → Safari → Clear History and Website Data, then restart your phone.
How do I stop these pop-ups from appearing?
Go to Settings → Safari → turn off 'Allow Pop-ups' if it's on. Also clear your browsing history and avoid revisiting the site that showed the alert.
Upload your screenshot for a specific explanation →