Android

How to keep the flashlight on while using the camera

The fix is a camera app that drives the light itself.

InspectCam open on a phone under a kitchen sink: the garbage disposal and the outlets below it are lit, with the settings gear at the top left, the tool buttons down the right side, and the yellow Light on button and the shutter at the bottom of the screen.
InspectCam™ under a sink, light on. Photo: Tony Webster, CC BY 2.0, cropped. Phone frame: Android Studio device art, Apache 2.0.
Get InspectCam™ freeFree on Android. Tap once and the light stays on.

By , developer of InspectCam™ · Published · Last updated

On most Android phones the flashlight goes off when a camera app opens, because the camera takes exclusive control of the LED. Which phones differ, and how, is in the per-manufacturer section below. The fix is a camera app that drives the light itself rather than relying on the system flashlight. Switching to video mode also keeps the light on in most stock camera apps.

You turn the flashlight on from the quick settings panel. You open the camera to photograph whatever you're looking at. The light goes out. Turn it back on and it goes out again, or the toggle simply refuses to respond while the camera is running.

This is not a fault with your phone, and it is not something you have configured wrongly. It is how both Android and iOS arbitrate access to the LED, and it has worked this way for about a decade. Here is what's actually happening and what genuinely fixes it.

Why Android turns the flashlight off

The LED next to your rear camera is not a separate torch. It is the camera's flash unit, and it belongs to the camera hardware. Android exposes it two different ways, and the two ways do not cooperate.

Torch on flashlight holds the LED Camera opens it claims the camera device Torch drops the flash went with the camera
The LED is part of the camera, not a separate torch. Only one thing can hold it, and the camera app wins.

When an app opens the camera, it takes control of that camera device, including its flash unit. Android's own documentation is explicit about the consequence: torch mode is turned off and becomes unavailable when the camera device the flash unit belongs to becomes unavailable, or when the camera resources needed to keep the torch on are taken by higher-priority camera activity. Opening the camera app is exactly that.

Source: Android developer reference, CameraManager.setTorchMode().

So the sequence is: your flashlight holds the LED, the camera app opens and claims the camera, and the system drops your torch to hand the hardware over. The camera app then decides what the LED does, and most stock camera apps only offer flash-at-capture for photos, not continuous light.

Why this matters more than it sounds

The obvious workaround (set flash to "on" and take the shot) produces a photo, but it doesn't let you see. You're aiming a camera into a dark space with no preview of what's in there, firing blind and inspecting the result afterwards.

It also can't solve the problem people most often describe: the shadow cast by their own hand and phone. Continuous light lets you move the phone until the shadow is out of the way. A flash that fires at the instant of capture gives you no chance to adjust.

What works and what doesn't

Every approach people try, and whether it actually gives you a live view with the light held on.

Ways to get the flashlight and camera running together on Android
What you tryLive view with light?What actually happens
Flashlight from quick settings, then open the camera No The camera claims the flash unit and the system drops your torch.
Open the camera first, then pull down quick settings No The toggle is usually greyed out, or switches itself straight back off.
Set the stock camera's flash to "On" No Fires only at the moment of capture. You still can't see beforehand.
Stock camera, switch to video mode Usually Video mode offers continuous light on most phones. Works, but you're in video.
A camera app that drives the light itself Yes One app owns both, so there's no conflict to lose. The reliable answer.
Two apps in split-screen No Still two apps contending for one flash unit. The conflict is unchanged.
Rebooting, clearing cache, reinstalling No Nothing is broken. This is designed behaviour, not a fault.

Aiming in the dark is the real problem

The table above says a flash "fires only at the moment of capture", which sounds like a technicality. In a dark cavity it is the whole difficulty.

A flash lights one instant: the one where the shutter opens. Everything before it, finding the thing, framing it, deciding what you want sharp, happens in the dark, and you don't see the result until the picture already exists. So you shoot, look, adjust, shoot again.

Before the flash Light on
The same leaking trap, darkened on the left to show what you aim at before a flash fires, and lit on the right. With the light on, the drip is the first thing you see. Photo: "Leaking PVC Pipe Under Sink - P Trap" by Tony Webster, CC BY 2.0, via Wikimedia Commons, cropped, left copy darkened

A light that stays on puts the steps back in their normal order: see the spot, tap it to focus, then take the picture. It is the sequence you would use in daylight, and it is the practical reason to want continuous light rather than a brighter flash. InspectCam™ keeps its light on through the photo itself, which we've checked on a Pixel 6a. The guide to keeping the flash on while taking a picture goes through it step by step.

The video-mode trick

If you don't want to install anything, this is the workaround that costs nothing.

  1. Open your normal camera app.
  2. Switch to video mode.
  3. Turn the flash on. In video mode it becomes a continuous light rather than a flash.
  4. You now have a live view with the LED held on. Take a still by grabbing a frame, or just use it to look.
PHOTO MODE dark while you aim FLASH VIDEO MODE LIT THE WHOLE TIME
The video-mode trick in a phone's own camera app: in photo mode the flash only fires for the picture, and in video mode, on most phones, it stays on so you can see.

The catches are real. You're in video mode, so the still-photo controls are gone and any frame you extract is at video resolution rather than full sensor resolution. Some camera apps drop the light again when you stop recording. And on a few phones the video light is dimmer than full torch output.

For a quick look under a sink it's completely adequate. For anything you need to document properly, it isn't.

If the video itself is what you're after, turning on the flashlight while recording video covers where the switch is on each phone and how to film a dark space so it shows.

If it's still photos you're after, the guide to keeping the flash on while taking a picture covers why flash mode only lights the photo, why it blinks twice, and how to aim in the dark.

Using a camera app that holds the light

The durable fix is to stop having two things fight over one LED. If a single app opens the camera and drives the flash unit, there is no conflict, because there is no second claimant. The light stays on because nothing else is competing for it.

InspectCam in video mode on a phone held into the cabinet under an old kitchen sink: the bottom of the sink, the chrome drain pipe and its tee, the trap going down through a white shelf, and the floor of the cabinet below it, all lit by the phone’s light. The tool buttons run down the right side, with the red record button and the yellow Light on button at the bottom.
InspectCam™ in video mode under an old kitchen sink: the drain, the trap and the bottom of the cabinet in one view. One app holds the light and the live view, so the light stays on while you look and while you record. Photo: “Under the Sink - Plumbing in Early 1900s Brownstone Apartment” by Tony Webster, CC BY 2.0, via Flickr, cropped, edges darkened; app controls from a real screenshot. Phone frame: Android Studio device art, Apache 2.0.

This is what a camera app can do that the system flashlight cannot, and it's why the answer to this question is always "use a different camera app" rather than "change a setting".

What to look for:

InspectCam™ is built for this: it holds the LED on with a live camera view, for seeing into dark, tight spaces, and it keeps the screen awake while you use it. It's free for the light, the live view, photos and video. Android users can install it from Google Play.

What people use it for

The jobs this comes up in most, and what each one needs from the app:

A real InspectCam screenshot under a sink, in a phone frame: the supply hoses and shut-off valves lit by the phone's light. A real InspectCam screenshot behind a wall-mounted TV, in a phone frame: the row of ports on its back lit by the phone's light.
Real InspectCam™ screenshots from our test phone, shown in a device frame: the hoses under a sink, and the ports on the back of a wall-mounted TV, with the light on. These are from an earlier version: the 0.6× chip and the two-camera button (Both here, Dual now) appear only on phones that support them, and Timer, Mirror and Touch lock (on the right here, in Tools now) are free for everyone. Phone frame: Android Studio device art, Apache 2.0.

More of them, with the places they come up, are on the home page. If you do this for work, see who InspectCam™ is for, or the page for home inspectors.

Samsung, Pixel and Xiaomi differences

The underlying behaviour is the same everywhere, but the details vary.

CAMERA CLOSED The tile turns the light on CAMERA APP OPEN Greyed out, or straight back off
The part every brand shares: while a camera app is open, the flashlight tile is usually greyed out or switches itself straight back off. Each brand's quirk below comes on top of that.

Samsung Galaxy

Samsung's camera app offers a continuous light in video mode, and the quick-settings torch reliably drops when the camera opens. Older Galaxy models let a flashlight widget hold the LED through a camera launch; that stopped working on newer ones, which is why long-time Samsung owners are often the most surprised by this.

Google Pixel

Pixel behaves the same way. Worth knowing separately: Pixels sometimes get stuck reporting "flashlight camera in use" with both the torch and the camera unavailable, usually after an app crashed while holding the camera. That's a genuine stuck state rather than the normal conflict. A reboot clears it.

Xiaomi, Redmi and POCO

These have a documented history of the torch turning off unexpectedly while the camera is active, including cases where the system still reports it as on. If your light dies a moment after a capture rather than when the app opens, that's this, and toggling the torch off and on again is the usual recovery.

On iPhone

The same thing happens, for the same reason. On an iPhone the flashlight and the camera flash are one LED, so opening the Camera app switches the torch off. Apple treats this as intended behaviour rather than a fault, and there is no setting that changes it.

There is one iPhone-specific cause worth knowing, because it looks like a bug. A slight leftward swipe on the lock screen triggers the camera shortcut, and that is enough to kill the flashlight even if the camera never fully opens. People report their torch switching off "by itself" in a pocket or a bag for exactly this reason.

An iPhone held up at dusk showing its lock screen, with the flashlight button at the bottom left and the camera button at the bottom right; an arrow marks a slight swipe to the left.
A slight swipe to the left on the lock screen starts the camera, and that alone puts the flashlight out. Turning the swipe off stops it. Photo: Nils Benyamin / Unsplash, cropped, marks added

To stop it on iOS 26.1 or later: Settings → Camera, scroll to the bottom, and turn off Lock Screen Swipe to Open Camera. Stray touches can no longer take your light out.

Beyond that, the options are the same as on Android: use video mode for a continuous light, or use a camera app that holds the LED itself. InspectCam™ is coming to iPhone.

Using a borescope with your phone?

If you're doing this because you're inspecting something awkward, a borescope may suit you better than the phone's own camera. On Android, plug it into InspectCam™. Works with: Klein Tools ET16 (tested). Most scopes sold on Amazon won't work. If a scope isn't being detected, the troubleshooting page works through the causes in order. On iPhone, start with why USB borescopes don't work there.

Questions people ask

Why does my flashlight turn off when I open the camera?

Because the LED is the camera's flash unit, not a separate torch. When a camera app opens the camera device, it takes control of the flash along with it, and Android drops the torch to hand the hardware over. It's designed behaviour, not a fault with your phone.

How do I use the camera and flashlight at the same time on Android?

Either switch your camera app to video mode, where the flash becomes a continuous light, or use a camera app that holds the LED on itself. A single app controlling both means there's no conflict for the system to resolve.

Can I keep the flashlight on while taking a picture?

Not with the system flashlight and the stock camera app together. Setting flash to "On" fires the LED only at the moment of capture, so you still can't see what you're aiming at. For continuous light you need video mode or a camera app that drives the light directly.

Why is the flashlight toggle greyed out when the camera is open?

The camera app currently owns the flash unit, so the system won't let a second thing claim it. Close the camera app and the toggle becomes available again.

Does the same thing happen on iPhone?

Yes, and for the same reason: the flashlight and the camera flash are the same LED, so opening the Camera app turns the torch off. On iPhone there is also a lock-screen swipe shortcut that opens the camera and kills the flashlight without you meaning to. On iOS 26.1 or later, turn off Lock Screen Swipe to Open Camera in Settings under Camera to stop it.

Did this used to work on older Android phones?

On some devices, yes. Older phones let a flashlight widget hold the LED through a camera launch. Android's handling of torch mode was formalised in Android 6.0, and since then the camera reliably wins the conflict.

Does turning flash to "On" do the same thing?

No. Flash fires for a fraction of a second as the shutter operates. It lights the photograph but not the preview, so you're aiming blind, and it can't help you move the phone to get your own shadow out of the shot.

Why are my photos in the dark hard to aim?

Because a flash only lights the instant the picture is taken. Framing the shot and choosing what to focus on both happen before that instant, in the dark, so you find out what you photographed after the fact. With a light that stays on you can see the spot, tap to focus on it, and then take the picture.


If your phone behaves differently from what's described here, tell us the model and what it does. Device-specific behaviour is exactly what this page should record.

Ask a question

Something this guide didn’t cover? Ask, and we’ll answer here.

We may publish your question and our answer under your first name. We never publish your email. Privacy policy