We select and review products independently. When you purchase through our links we may earn a commission. Learn more.

How to Turn On the Flashlight by Tapping Your iPhone’s Back

Tired of fumbling around in the dark? With iOS 14 or later on an iPhone 8 or newer, you can quickly turn on and off your flashlight with two or three taps on the back of your iPhone using a feature called Back Tap. Here’s how to set it up.

How Does Back Tap Work?

Back Tap is an iOS accessibility feature that detects physical finger taps on the back of your iPhone using your phone’s built-in accelerometer. It works on the iPhone 8 and newer iPhones. When configured in Settings, you can use two or three taps to launch many different actions on your phone, including shortcuts, which is what we’ll use here to turn on the flashlight.

RELATED: How to Launch Actions by Tapping on the Back of Your iPhone

Creating the Flashlight Toggle Shortcut

To turn the flashlight on and off, we’ll need to create a custom shortcut using the built-in Shortcuts app. To do that, open “Shortcuts.” If you can’t find it, try a Spotlight search: With one finger, swipe down from the middle of your Home screen. Type “shortcuts” in the search bar, then tap the “Shortcuts” icon.


If you see the “Shortcuts” overview screen when the app opens, tap the “My Shortcuts” tab and then select “All Shortcuts.”

On the “All Shortcuts” screen, tap the plus (“+”) button.

The Best Tech Newsletter Anywhere

Join 425,000 subscribers and get a daily digest of features, articles, news, and trivia.

We've got your info - thanks for signing up!
We were unable to subscribe you! Please check your e-mail address or contact us for assistance.
Signing you up...

By submitting your email, you agree to the Terms of Use and Privacy Policy.

Next, you’ll see a “New Shortcut” page where you add the steps (called “actions”) to the shortcut. First, let’s rename the shortcut. Tap the “ellipses” button (three dots).

Tap the “Shortcut Name” text area and rename the shortcut to “Flashlight Toggle,” then tap “Done.”


When you’re back on the shortcut screen, tap “Add Action.”

When the “Actions” panel appears, search for “flashlight.” Tap “Set Flashlight” in the results.

The “Set Flashlight” action will appear in the actions list. By default, it is only set to turn the flashlight on when the shortcut is run. What we want it to do is toggle the flashlight to either turn on or off when the shortcut runs. To do that, tap the word “Turn” within the “Turn flashlight on” phrase.

When the “Operation” menu pops up, select “Toggle.”

Back in the actions list, the “Flashlight” action should now read “Toggle flashlight.” That means if you run the shortcut and the flashlight is off, the flashlight will turn on. If you run the shortcut while the flashlight is on, the flashlight will turn off. You’re programming!

Tap “Done” to finalize the shortcut.


After that, you’ll see your “Flashlight Toggle” shortcut in your list. You can test it now by tapping the shortcut’s button. If the flashlight turns on, tap the shortcut button again to turn it off.

Now you’re ready to go to the next step: linking the shortcut to Back Tap.

Configuring Back Tap to Run the Flashlight Shortcut

Now that we’ve set up the shortcut that will toggle the flashlight on and off, we’ll need to configure how we activate it with Back Tap. To do so, open “Settings.”

In Settings, navigate to Accessibility > Touch.

In “Touch Settings,” select “Back Tap.”

In “Back Tap” settings, choose whether you’d like to activate your flashlight using two taps (“Double Tap”) or three taps (“Triple Tap”) on the back of your phone, then select the matching option.


Next, scroll down through the actions list until you see the “Shortcuts” section. Select the “Flashlight Toggle” shortcut we just created.

Press back once to make sure the change is registered, then exit Settings. The next time you double or triple tap the back of your iPhone (depending on how you set it up), your iPhone flashlight will turn on. Tap the back two or three times again to turn it off. Have fun illuminating dark spaces!

Benj Edwards
Benj Edwards is an Associate Editor for How-To Geek. For over 15 years, he has written about technology and tech history for sites such as The Atlantic, Fast Company, PCMag, PCWorld, Macworld, Ars Technica, and Wired. In 2005, he created Vintage Computing and Gaming, a blog devoted to tech history. He also created The Culture of Tech podcast and regularly contributes to the Retronauts retrogaming podcast. Read Full Bio »