> ## Content Index
> Fetch the complete content index at: https://www.appsntips.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Turn Off Mobile Data When iPhone Connects to Wi-Fi
- URL: https://www.appsntips.com/turn-off-mobile-data-when-iphone-connects-wi-fi/
- Published: 2025-03-08T14:34:19.000Z
- Updated: 2025-03-08T14:34:19.000Z
- Description: Learn how to auto turn off mobile data on your iPhone when connected to Wi-Fi in this simple and helpful tutorial. Save data and battery life with this easy trick!
- Author: Rachit Agarwal
- Tags: Shortcuts, iPhone, Guide

Your iPhone's constant connection to mobile data drains the battery faster. That’s why it’s recommended that you turn off mobile data when not in use. But let’s face it, most of us forget to do it. So today, I am going to show you how to auto-turn off mobile data when your iPhone connects to Wi-Fi.

## Turn off mobile data when iPhone connects to Wi-Fi

To auto-turn off mobile data when iPhone connects to Wi-Fi, we will use the [Shortcuts](https://www.appsntips.com/home/best-siri-shortcuts-ios/) automation. The shortcuts app comes pre-installed on your iPhone, but if you have deleted it, you can [install it from the App Store link](https://apps.apple.com/us/app/shortcuts/id915249334).

1\. Launch the **Shortcuts app** on your iPhone and tap to open the **Automation** tab.

![Shortcuts app on iPhone showing Automation tab](https://storage.ghost.io/c/79/45/794539e9-2a02-4255-8c35-d208fe7cbac5/content/images/2025/03/Turn-off-mobile-data-when-iPhone-connects-to-Wi-Fi-1.PNG)

2\. Tap the **New Automation** button or the plus sign in the top-right corner.

![plus sign in the top-right corner](https://storage.ghost.io/c/79/45/794539e9-2a02-4255-8c35-d208fe7cbac5/content/images/2025/03/Turn-off-mobile-data-when-iPhone-connects-to-Wi-Fi-2.PNG)

3\. Search for Wi-Fi and tap to add it to the automation.

![Wi-Fi action in automation](https://storage.ghost.io/c/79/45/794539e9-2a02-4255-8c35-d208fe7cbac5/content/images/2025/03/Turn-off-mobile-data-when-iPhone-connects-to-Wi-Fi-3.PNG)

4\. Tap the **Choose** button and choose your Home and Office Wi-Fi. Select the **Any Network** option if you want the automation to run irrespective of which Wi-Fi your iPhone connects to.

![Choose button showing Wi-Fi network screen](https://storage.ghost.io/c/79/45/794539e9-2a02-4255-8c35-d208fe7cbac5/content/images/2025/03/Turn-off-mobile-data-when-iPhone-connects-to-Wi-Fi-4.PNG)

5\. Select the **Run Immediately** option and tap the **Next** button in the top-right corner.

![Run Immediately option](https://storage.ghost.io/c/79/45/794539e9-2a02-4255-8c35-d208fe7cbac5/content/images/2025/03/Turn-off-mobile-data-when-iPhone-connects-to-Wi-Fi-5.PNG)

6\. Search for the **Set Cellular Data** option and add it to the automation.

![Set Cellular Data option](https://storage.ghost.io/c/79/45/794539e9-2a02-4255-8c35-d208fe7cbac5/content/images/2025/03/Turn-off-mobile-data-when-iPhone-connects-to-Wi-Fi-6.PNG)

7\. Tap the **On** field to change it to Off and tap the **Done** button to save the automation.

![Changing on from OFF](https://storage.ghost.io/c/79/45/794539e9-2a02-4255-8c35-d208fe7cbac5/content/images/2025/03/Turn-off-mobile-data-when-iPhone-connects-to-Wi-Fi-7.PNG)

Now, whenever your iPhone connects to Wi-Fi, the automation will automatically turn off the mobile data. 

## Turn on mobile data when Wi-Fi disconnects on iPhone

I also recommend that you create another automation which automatically turns on mobile data when your iPhone leaves the connected Wi-Fi network so you don’t have to turn it on manually. 

1\. We will start by creating a new automation and adding the Wi-Fi action.

![Creating a new automation and adding Wi-Fi action](https://storage.ghost.io/c/79/45/794539e9-2a02-4255-8c35-d208fe7cbac5/content/images/2025/03/Turn-on-mobile-data-when-iPhone-disconnects-to-Wi-Fi-1.PNG)

2\. Tap the **Choose** button and select the Wi-Fi networks. I will **select Any Network**, as I want my mobile data to turn on as soon as my iPhone disconnects from any Wi-Fi network.

![Selecting the Any Network option](https://storage.ghost.io/c/79/45/794539e9-2a02-4255-8c35-d208fe7cbac5/content/images/2025/03/Turn-on-mobile-data-when-iPhone-disconnects-to-Wi-Fi-2.PNG)

3\. Tap to select the **Network Left** option and enable the **Run Immediately** option. Tap the **Next** button to proceed.

![Selecting network left and run immediately option](https://storage.ghost.io/c/79/45/794539e9-2a02-4255-8c35-d208fe7cbac5/content/images/2025/03/Turn-on-mobile-data-when-iPhone-disconnects-to-Wi-Fi-3.PNG)

4\. Search and add **Set Cellular Data** action. 

![Choosing set Cellular data option](https://storage.ghost.io/c/79/45/794539e9-2a02-4255-8c35-d208fe7cbac5/content/images/2025/03/Turn-on-mobile-data-when-iPhone-disconnects-to-Wi-Fi-4.PNG)

5\. Leave the action to turn on the cellular data and tap the **Done** button to save the automation.

![Saving automation](https://storage.ghost.io/c/79/45/794539e9-2a02-4255-8c35-d208fe7cbac5/content/images/2025/03/Turn-on-mobile-data-when-iPhone-disconnects-to-Wi-Fi-5.PNG)

You have now created a set of automation that turns off mobile data when you connect to a Wi-Fi network and turns it back on when you disconnect from Wi-Fi. Before you go, click here to learn how to [transfer photos from iPhone to external hard drive](https://www.appsntips.com/how-to-transfer-photos-from-iphone-to-external-hard-drive/).