How to Get Rid of Virus or Malware on iPhone - 8 Ways to Troubleshoot

Campbell Adams | Oct 13, 2022

5-year smartphone engineer, with rich experience in iOS software issues. He presents the most actionable solutions for readers in the most easy-to-understand manner.

How to get rid of malware on an iPhone

Did Your iPhone Really Get a Virus?

You should beware of alerts on your iPhone screen claiming the device is infected. Apple does not send security warnings, so the danger message is probably an attacker trying to defraud you.

These fake alert popups are likely to occur as you browse on Safari. Supposing you encounter such an alert, close that browser window. Clearing your browser history will do the trick if closing the window doesn't remove the warning message.

Steps:

  1. Open Settings > Safari.
  2. Hit Clear History and Website Data > Clear History and Data.
Clear Safari browser history.

Can iPhones Get Viruses

iPhones are among the safest mobile phones globally, but even they can be prone to malware, especially if the iPhone is jailbroken. A high-value phishing attack can also compromise your iPhone. However, such cases are rare and very unlikely for the regular iPhone user. This is because Apple tightly controls the iOS ecosystem and limits the possibility of infection.

If your iPhone is infected, it will likely start behaving strangely. An affected iPhone also tends to become slower and has poor battery performance. Your iPhone may also have unfamiliar apps if it has malware. These apps can cause your iPhone to use more cellular data than you expect, surpassing your data plan's allowance. Viruses or malware can also overtake significant space on your iPhone's storage.

 Inspect your apps list for any unfamiliar apps.

Downloading third-party apps from malicious developers or clicking unknown links can bring a virus to your iPhone. These unknown links are often found on the internet and social platforms or may be sent by hackers via iMessage. Your iOS device can also catch malware if you visit malicious or insecure websites. In other cases, the virus or malware originates from a privacy breach. This happens when hackers gain access to your iPhone and inject a virus.

 Insecure websites can cause iPhone malware.

Now that you know how your iPhone can get malware or viruses and what happens to the iPhone, I will show you how to deal with the menace.

How to Clear the iPhone Calendar Virus

The calendar virus is malware that causes reminders and events to pop up randomly in the Calendar app on your iPhone. It is commonly caused by unknowingly subscribing to a 3rd-party calendar service. Hackers hide this service in emails, messages, web pages and pop-ups with links.

Clicking on the link takes you to the calendar app and allows the hackers to send you spam calendar events. Apple is partially at fault for this virus since it lets anyone send you a calendar invite, even people not on your contact list. Fortunately, this problem is relatively easy to deal with.

Steps:

Method 1: Clear the virus on iPhone Calendar via iPhone Settings.

  1. Open Settings > Calendar.
  2. Tap Accounts > Subscribed Calendars.
  3. Delete the Calendar virus via the Calendar app.
  4. Choose any unfamiliar calendar you didn't subscribe to and hit Delete Account.

Method 2: Delete spam events via the iPhone Calendar app.

  1. Open your iPhone's Calendar The app will show you all events, including spam events. Check the color of spam event invites.
  2. Press the Calendars button at the bottom.
  3. Locate the spam event's color and hit thei button next to it.
  4. Tap Delete Calendar to erase spam events from your iPhone.
  5. Delete the iPhone Calendar virus by deleting spam events

Viruses From Third-Party Applications

Third-party app stores and developers are known to offer plenty of safe applications. However, there is also a high chance they may offer a dangerous or harmful app. These malicious apps can infect your iPhone with malicious code like ransomware and adware.

If you suspect your iPhone has a virus, you can delete any recently installed apps you suspect, then identify and delete any unknown apps in your app list. You may have accidentally downloaded the third-party app wreaking havoc on your iOS device. Once you locate such an app, disable its notifications and permissions, then delete it.

Steps:

To deny permissions:

  1. Open Settings > privacy.
  2. Select the app, then toggle off all permissions.
  3. Toggle off app permissions.

To disable notifications:

  1. Open Settings > Notifications.
  2. Scroll to the target app and tap it.
  3. Toggle the button beside Allow Notifications to turn it off. This disables all notifications.
  4. Disable app notifications

To delete the app:

  1. Touch and hold the unfamiliar app.
  2. Tap Remove App.(If the app starts to jiggle when you touch it, press the Remove icon in the app's upper left corner.)
  3. Tap the remove icon to uninstall an app.
  4. Tap Delete App > Delete.

Restart Your iPhone

Despite being a simple and common technique, rebooting your iPhone can be the answer to how to remove viruses on iPhone.

Steps:

For iPhone X, 11, 12, 13 and 14:

  1. Press and hold one of the volume buttons with the side button simultaneously until you see the power off slider.
  2. How to restart iPhone X, 11, 12 and later.
  3. Drag the slider, then give your iPhone 30 seconds to shut down entirely.
  4. To turn on your iPhone, press the side button until the Apple logo pops up.

For iPhone SE (2nd or 3rd gen), 6, 7, 8:

  1. Press the side button and hold it till the power-off slider shows up.
  2.  How to restart iPhone SE (2nd or 3rd gen), 6, 7, 8..
  3. Drag the slider, then give your iPhone 30 seconds to shut down entirely.
  4. To turn on your iPhone, press the side button until the Apple logo pops up.

For iPhone SE (1st gen), 5 and earlier:

  1. Press the top button and hold it till the power-off slider shows up.
  2. How to restart iPhone SE (1st gen), 5 and earlier
  3. Drag the slider, then give your iPhone 30 seconds to shut down entirely.
  4. To turn on your iPhone, press the top button until the Apple logo pops up.

Remove Virus From iPhone via Advanced Repair

Mobitrix Perfix is a reliable and reputable iOS repair tool. This software provides a quick and easy way to eliminate viruses or malware on your iPhone instantly. Using Mobitrix Perfix can clear multiple malware at a go.

This makes it suitable for fixing all types of malicious code on your iPhone. Mobitrix Perfix has two repair modes, Standard and Advanced. Use the Advanced mode for this problem.

Steps:

  1. Download Download and install Mobitrix Perfix.
  2. Connect your iPhone to your computer.
  3. On the main menu, click Start > Device Bug > Fix Now.
  4. Tap Advanced Repair > Repair.
star
Trustpilot star

Why Do I Recommend Mobitrix Perfix?

  • You don't need iTunes.
  • It's easy to use, even for non-tech-savvy people.
  • Mobitrix Perfix can repair other iPhone problems as it removes the virus.
Former Apple Technican

Note: This method causes data loss, so you need to back up your iPhone before starting. Click here to learn how to back up.

Restore iPhone via iTunes

While most people think iTunes is just a music player, it does more than that. You can remove malware on your iPhone by restoring the iPhone via iTunes. However, Apple doesn't recommend this method since it is difficult to perform.

Steps:

  1. Launch iTunes on your PC or Mac running on macOS Mojave or earlier. If you have a Mac with macOS Catalina or newer, use Finder.
  2. Connect your iPhone to your computer. If you are asked to enter your iPhone passcode or trust the computer, follow the steps.
  3. Select your iPhone once it appears in your iTunes window.
  4. Restore your iPhone via iTunes.
  5. Click Restore Backup.
  6. Check the date for each backup and select the most relevant.
  7. Hit Restore and wait for the process to finish. Enter the password for your encrypted backup if you are asked to.
  8. Keep your iPhone connected even after it restarts. Wait for the iPhone to sync with your computer, and disconnect it once the sync is over.

Via DFU mode

DFU stands for Device Firmware Update mode. It is a state you can put your iPhone into, so you can be able to fix it via iTunes or Finder. But, if your iPhone has physical damage, such as water damage or a broken screen or port, don't use DFU mode. It can leave your device entirely unusable.

Steps:

  1. DFU Mode erases everything on your iPhone, so you should back up your iOS device before getting started. You cannot back up your iPhone once it is in DFU mode.
  2. Connect your iPhone to your computer and open iTunes or Finder.

For iPhone 8, X, or later:

  1. Quickly press and let go of the Volume Up button, then do the same for the Volume Down button.
  2. Press the Side button and hold it until the screen goes black.
  3. Buttons to put iPhone 8 or later into DFU mode.
  4. Press the Volume Down button again while still holding the Side button.
  5. Hold both for five seconds, then let go of the Side button but continue holding the Volume Down button.
  6. Wait for your iPhone to appear on iTunes or Finder, then let go of the Volume Down button.
  7. iTunes will alert you an iPhone has been detected in recovery mode. Follow the on-screen instructions to remove the virus.

For iPhone 7:

  1. Press the Side and Volume Down buttons simultaneously and hold them.
  2. Wait for 8 seconds, then release the Side button but keep pressing the Volume Down button.
  3. Wait for your iPhone to appear on iTunes or Finder, then let go of the Volume Down button.
  4. iTunes will alert you an iPhone has been detected in recovery mode. Follow the on-screen instructions to remove the virus.
  5. iPhone detected in recovery mode.

For iPhone 6, iPhone SE, and older:

  1. Press and hold theTop and Home buttons.
  2. Press the top and Home buttons.
  3. After 8 seconds, release the Top button but continue holding the Home button.
  4. Wait for your iPhone to appear on iTunes or Finder, then let go of the Home button.
  5. iTunes will alert you an iPhone has been detected in recovery mode. Follow the on-screen instructions to remove the virus.

Bonus Tips

Below are some tips to help protect your iPhone from being infected with malware:

  • Keep your apps updated.

    App updates can remove malware or viruses in apps and contain security patches that enhance the app's protection.

  • Update your iOS.

    iOS updates also carry security improvements. This means that the latest iOS version is always the safest.

  • Download apps from trusted sources.

    It is preferable that you only download apps from the App Store. But, if you have to download a third-party app, ensure the developer or platform is trustworthy.

  • Avoid unknown links.

    Do not click on unknown links, especially if they come from an unknown sender. Also, avoid calendar invites from strangers.

  • Safeguard your email addresses.

    Hackers can easily target you if they gain access to your email. Hence, keep your professional and personal emails private.

  • Use a VPN.

    Most malware threats are from websites. By using a VPN, you can secure and encrypt your connection. This makes it harder for intruders to hack into and send a virus to your iPhone. It also protects you in public networks.

  • Occasionally review who has access to your calendar and remove any unknown or unwanted users.
Summary

If you were wondering how to get rid of viruses on iPhone, now you know everything there is. A virus-infected iPhone can cause many problems, but with this article, you can fix it yourself. However, I recommend using Mobitrix Perfix. This software has a high-efficiency rate and can clean your iPhone in no time. Try Mobitrix Perfix today!