How to Lock iPhone Camera Focus and Exposure (AE/AF Lock)
In this article
To lock focus and exposure on an iPhone, open the Camera app, tap and hold on your subject until you see “AE/AF Lock” at the top of the screen, then lift your finger. The focus and exposure stay fixed even if you move the phone. To unlock, tap anywhere on the screen. This is useful when you want consistent lighting or focus across multiple shots, or when the camera keeps hunting for a subject. You do not need any extra app or accessory—just your iPhone’s built-in Camera app. The exact wording of on-screen labels can vary slightly by iOS version, device model, and region.
What You'll Need
- An iPhone with the built-in Camera app (any model from iPhone 6s or later running a modern iOS version).
- Good lighting helps the camera lock faster, but it is not required.
- No additional apps, tripods, or accessories are necessary.
Step-by-Step
- Open the Camera app. From the Home Screen or Lock Screen, tap the Camera icon. You can also swipe left on the Lock Screen (on most iPhones) or press the Side button quickly (if configured).
- Choose the rear or front camera. AE/AF Lock works on both, but the steps are identical. Tap the flip button if needed.
- Point the camera at your subject. Make sure the subject is roughly in the center of the frame for the initial lock. You can reframe after locking.
- Tap and hold on the subject. Press and hold your finger on the area you want to focus on. A yellow square (or rectangle) appears, and after about a second you will see “AE/AF Lock” at the top of the screen. The yellow square may pulse once to confirm the lock.
- Lift your finger. The lock remains active. The focus and exposure are now fixed at the point you selected.
- Adjust exposure if needed. With the lock active, you can drag the small sun icon (next to the yellow square) up or down to brighten or darken the scene. This changes the locked exposure without unlocking focus.
- Take your photo or video. Press the shutter button. The lock persists for subsequent shots until you tap elsewhere or close the Camera app.
- Unlock when done. Tap anywhere on the screen (not on the yellow square) to release the lock. The yellow square disappears and “AE/AF Lock” goes away.
Common Mistakes
- Tapping instead of holding. A quick tap only focuses and meters for that moment; it does not lock. You must press and hold until “AE/AF Lock” appears.
- Lifting your finger too early. If you release before the lock indicator shows, the camera may not lock. Hold for about one second.
- Dragging the sun icon too far. Over-adjusting exposure can blow out highlights or crush shadows. Make small adjustments and check the preview.
- Forgetting to unlock. If you move to a different scene, the old lock may give poor results. Tap to unlock and re-lock on the new subject.
- Using digital zoom after locking. Zooming in or out after locking can change the effective focus distance and may cause blur. Lock after zooming if possible.
Tips
- For video, AE/AF Lock is especially useful to prevent the camera from refocusing or changing exposure when something moves through the frame.
- You can lock on a bright area to avoid overexposure, then reframe to include darker areas.
- If the lock does not hold, try tapping a high-contrast edge (like a corner or text) rather than a flat, uniform surface.
- On iPhone models with LiDAR (Pro models), focus locking works similarly, but low-light performance may vary.
- Use a tripod or steady surface for long exposures or when locking focus for a series of shots.
Troubleshooting
- “AE/AF Lock” does not appear. Make sure you are pressing and holding, not tapping. Also check that the camera lens is clean and that you are not in a very low-light scene where the camera struggles to focus.
- Lock releases on its own. Moving the phone drastically or changing zoom may break the lock. Re-lock after adjusting zoom or position.
- Exposure slider missing. The sun icon appears only after a lock or a tap-to-focus. If you do not see it, tap and hold again.
- Camera app freezes. Force close the Camera app (swipe up from the bottom and swipe the Camera card away) and reopen it. If the problem persists, restart your iPhone.
- Focus is blurry after locking. You may have locked on a low-contrast area. Unlock and try locking on a subject with more texture or edges.
Frequently Asked Questions
Does AE/AF Lock work in video mode?
Yes. The same tap-and-hold gesture locks focus and exposure in Video mode, which helps keep consistent focus and brightness during recording.
Can I lock focus and exposure separately?
No, the built-in Camera app locks both together with AE/AF Lock. Third-party camera apps may offer separate controls, but the default app does not.
Will the lock stay if I switch to another camera mode?
No. Switching between Photo, Video, Portrait, or other modes resets the lock. You need to re-lock after changing modes.
Does AE/AF Lock work on the front camera?
Yes, the tap-and-hold gesture works on the front camera as well, though the on-screen indicator may appear slightly differently depending on the iPhone model.
Can I use AE/AF Lock with the flash?
Yes, but the flash fires only at the moment of capture, so the locked exposure is based on ambient light. The flash may still affect the final image, so check the preview.
Why does my iPhone not show the yellow square?
Make sure you are using the built-in Camera app and that you are tapping and holding on the viewfinder. If the square still does not appear, try restarting the app or your iPhone.