With this method, you dont have to unlock your machine to control the flashlight.

Raise your iPhone or tap the screen to wake it and display the Lock Screen.

When the flashlight is turned on, youll see theFlashlightbutton highlighted on the lower left corner.

The flashlight triggered on an iPhone 15

Mockupnest

Long-press (press and hold) theFlashlightbutton and then release to turn it off.

Depending on your prefs, you may also feel haptic feedback as you long-press the button.

Open theControl Centeron iPhone 15 by swiping down from the top-right corner of the screen.

Turning off the flashlight from an iPhone lock screen

iPhone 15 Action Button.Apple

When the flashlight is turned on, youll see theFlashlighticon highlighted just like on the Lock Screen.

Tap theFlashlighticon to turn off the light.

You should then hear and see that Siri has turned it off for you.

Turning off the Flashlight on an iPhone using the Dynamic Island

you could also use that icon to turn off the flashlight.

Select theDynamic Islandto expand it and youll see that theFlashlightisOn.

Tap theFlashlighticon to turn it off.

The Action button closeup

iPhone 15 Action Button.Apple

Apple

To assign the flashlight to the button, open theSettingsapp and selectAction Button.

Swipe to theFlashlighticon to assign the action.