ThisCalculator

Everyday

How to Make iPhone Lock Screen Change by Location

Updated · Standard formula, shown below

How to Make iPhone Lock Screen Change by Location

This guide shows you how to set up your iPhone so the lock screen automatically changes based on where you are—for example, showing a work-focused wallpaper when you arrive at the office and a relaxing one when you get home. You’ll use the built-in Shortcuts app and the Focus feature, which work together to trigger a lock screen change whenever you cross a location boundary. No third-party apps are needed, and the whole setup takes about ten minutes.

What You’ll Need

  • An iPhone running iOS 16 or later (the Shortcuts and Focus features are fully supported from iOS 16 onward).
  • Location Services enabled for the Shortcuts app. Go to Settings > Privacy & Security > Location Services and make sure it’s on, then scroll to Shortcuts and set it to While Using the App or Always.
  • At least two lock screens set up in your gallery. You can create them in Settings > Wallpaper or by pressing and holding the lock screen and tapping the + button.
  • Your iPhone must have a SIM card or eSIM with cellular data (or be connected to Wi-Fi) for location detection to work reliably.

Step-by-Step

  1. Create your lock screens. Press and hold the lock screen until the gallery appears. Tap the + in the top-right corner to add a new one. Design one for each location you want (e.g., a work lock screen and a home lock screen). When you have them all, make sure you can see them by swiping through the gallery.
  2. Open the Shortcuts app. It’s a purple icon with white symbols. If you don’t have it, download it for free from the App Store.
  3. Create a new personal automation. Tap the Automation tab at the bottom, then tap the + in the top-right corner. Choose Create Personal Automation.
  4. Select the location trigger. Scroll down and tap Arrive (or Leave, depending on what you want). Use the search bar to find your location, or tap the map to drop a pin. You can adjust the radius by dragging the blue circle—a smaller radius (like 100 meters) makes the trigger more precise. Tap Done.
  5. Choose the action. Tap Add Action, then search for Set Wallpaper. Select it. You’ll see a Wallpaper field—tap it and choose Current Wallpaper. This is important: the automation will use whatever lock screen is currently active when you run it, so you need to set the correct one manually before testing.
  6. Turn off “Ask Before Running.” In the automation setup screen, toggle off Ask Before Running. This makes the change happen automatically without a notification prompt. Confirm by tapping Don’t Ask when prompted.
  7. Save the automation. Tap Done in the top-right corner. Your automation is now saved.
  8. Repeat for each location. Create another automation for the second location (e.g., a “Leave” automation for home, or an “Arrive” automation for home). Each one should have its own Set Wallpaper action.
  9. Set the correct lock screen for each automation. For each automation, you need to manually set the lock screen that should appear when the trigger fires. To do this, go to your lock screen, press and hold, and swipe to the one you want (e.g., the work wallpaper). Then run the automation by tapping it in the Shortcuts app (or by physically arriving at the location). The automation will capture that wallpaper.
  10. Test it. After setting up, physically leave and re-enter the location to see if the lock screen changes. If it doesn’t, check the troubleshooting section below.

Common Mistakes

  • Leaving “Ask Before Running” on. If you don’t turn this off, you’ll get a notification asking to confirm every time, which defeats the purpose of automation.
  • Using the wrong wallpaper field. In the Set Wallpaper action, you must select Current Wallpaper—not a specific photo. The automation uses whatever is active at the time you run it.
  • Not setting the lock screen before running the automation. If you run the automation while the wrong lock screen is active, it will save that wrong one. Always set the desired lock screen first.
  • Location radius too large. A huge radius (like 1 km) might trigger the automation when you’re still far away, causing unexpected changes.
  • Location Services disabled for Shortcuts. If the Shortcuts app can’t access your location, the trigger will never fire.
  • Creating an “Arrive” automation for a place you’re already at. The trigger only fires when you cross the boundary. If you’re already there, it won’t activate until you leave and come back.

Tips

  • Use Focus modes for more control. Instead of directly setting the wallpaper, you can create a Focus (like “Work” or “Home”) and assign a lock screen to that Focus. Then, set up a location automation that turns the Focus on/off. This also changes the lock screen and can filter notifications.
  • Name your automations clearly. In the automation list, tap the name at the top to rename it (e.g., “Arrive at Work – Set Work Wallpaper”). This makes it easier to manage.
  • Use “Leave” for home. If you want the home lock screen to appear when you leave work, you can set a “Leave” automation for your workplace. That way, the change happens as you’re driving home, not when you arrive.
  • Combine with time conditions. In the automation trigger, you can add a time condition (e.g., only on weekdays) to avoid weekend triggers.
  • Keep your lock screens in the gallery. Don’t delete the lock screens you use in automations, or the automation may fail.

Troubleshooting

  • Automation doesn’t trigger at all. Check that Location Services is on for Shortcuts (Settings > Privacy & Security > Location Services > Shortcuts). Also, ensure you’re actually crossing the boundary—try a smaller radius or a different location point. Restart your iPhone if needed.
  • Automation triggers but the wrong wallpaper appears. This happens when the automation captured the wrong lock screen. Re-run the automation after manually setting the correct lock screen. To re-run, go to the Automation tab, tap the automation, and tap the play button (or toggle it off and on).
  • “Ask Before Running” keeps coming back. After turning it off, iOS may re-enable it if you edit the automation. Double-check the toggle after any edit.
  • Location trigger is unreliable. Location-based triggers depend on your iPhone’s GPS and network. If you’re in a building with poor GPS, it may not detect your arrival. Try using Wi-Fi or Bluetooth beacons as alternative triggers (e.g., connecting to your home Wi-Fi).
  • Automation runs but lock screen doesn’t change. Make sure the lock screen you set is still in your gallery. If you deleted it, the automation has nothing to switch to. Also, ensure you’re not in Low Power Mode, which can delay background tasks.
  • Shortcuts app crashes. Update your iPhone to the latest iOS version, and restart the Shortcuts app. If the problem persists, try recreating the automation from scratch.

Frequently Asked Questions

Do I need to keep the Shortcuts app open for this to work?

No, the automation runs in the background. However, your iPhone must be powered on and not in Airplane Mode.

Will this drain my battery?

Location-based automations use GPS, which can have a minor impact on battery life. The effect is usually small, but if you notice significant drain, try using a larger radius or a Wi-Fi trigger instead.

Can I use this to change the lock screen to a specific photo?

Yes, but you need to set that photo as your lock screen first, then run the automation while that lock screen is active. The automation will save the current wallpaper, not a specific photo you pick.

Does this work with the always-on display on iPhone 14 Pro and later?

Yes, the lock screen change applies to the always-on display as well. The wallpaper will update when the trigger fires.

Can I set up more than two locations?

Absolutely. Create as many automations as you need, each with its own location trigger and lock screen. Just remember to set the correct lock screen before running each automation.

Will this work if I’m traveling abroad?

Yes, as long as your iPhone has a network connection (cellular or Wi-Fi) and Location Services is enabled. The trigger is based on GPS coordinates, so it works anywhere on Earth.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.