Discovercameras

How to Fix Autofocus Not Working: A Practical Troubleshooting Guide for Cameras and Smartphones

How Autofocus Works and Why It Stops Working

Autofocus systems use phase detection, contrast detection, or hybrid sensors to lock onto a subject quickly and accurately.

When autofocus stops working, the cause is often simple: a setting, a dirty lens, low light, or a software issue.

This guide explains how to fix autofocus not working on DSLR, mirrorless, compact cameras, and smartphones, starting with the fastest checks and moving to deeper hardware and software troubleshooting.

Check the Most Common Settings First

Before assuming there is a hardware fault, confirm that autofocus has not been disabled or overridden by a mode change.

Many focus problems come from a setting that was adjusted accidentally.

  • Switch from manual focus to autofocus. On many lenses, the AF/MF switch on the lens barrel can disable autofocus.
  • Check the focus mode. Single-shot AF, continuous AF, and automatic AF behave differently depending on the subject.
  • Review the drive mode. Some cameras pair focus behavior with burst or subject-tracking modes.
  • Disable focus lock or exposure lock mistakes. If the camera is locked on a previous subject, it may appear unresponsive.

If you use a smartphone, make sure the camera app is not stuck in a third-party mode that limits autofocus or forces manual focus controls.

Clean the Lens and Camera Contacts

Autofocus depends on clear light transmission and reliable electronic communication between the body and the lens.

Smudges, dust, and oxidized contacts can interfere with both.

  • Use a microfiber cloth to clean the front and rear lens elements.
  • Remove dust from the lens mount and camera body contacts with a blower.
  • Inspect the lens for haze, fungus, or moisture damage.
  • Gently clean electronic contacts with a dry, lint-free cloth.

If the camera focuses inconsistently after a lens change, dirty contacts are a common cause.

Always mount the lens securely and check whether the camera recognizes it properly.

Test in Better Lighting and Higher Contrast

Low light and low-contrast scenes are difficult for autofocus systems, especially older contrast-detection designs.

A white wall, a dark subject, or a scene with heavy backlighting can make the focus motor hunt endlessly.

To test whether lighting is the issue:

  • Point the camera at a high-contrast subject, such as text on a sign or an edge between light and dark areas.
  • Move to brighter light or use a focus assist lamp if available.
  • Try focusing at a different distance, since extremely close or far subjects can be harder to acquire.

On smartphones, enabling the rear camera rather than the selfie camera can also improve autofocus performance because the rear module usually has better optics and sensors.

Restart the Device and Reset the Camera App

Software glitches can freeze autofocus or cause lag in focus detection.

A simple restart often clears temporary errors in the camera app, image signal processor, or device firmware.

  • Close the camera app completely and reopen it.
  • Restart the phone, camera, or tablet.
  • Clear the camera app cache on Android if focus problems started after an update.
  • Reinstall a third-party camera app if autofocus only fails in that app.

If autofocus works in one app but not another, the issue is likely software-related rather than mechanical.

Update Firmware, Drivers, and Camera Software

Manufacturers frequently release firmware updates that improve autofocus tracking, subject detection, and lens compatibility.

This is especially important for mirrorless systems and smartphones that rely on ongoing software optimization.

Check for updates in these areas:

  • Camera body firmware for Canon, Nikon, Sony, Fujifilm, Panasonic, and OM System models.
  • Lens firmware for compatible smart lenses or autofocus adapters.
  • Phone operating system updates that affect the camera stack.
  • Camera app updates from the device maker or app developer.

After updating, test autofocus in both photo and video modes, since some devices use different focus behavior in each mode.

Check for Subject, Distance, and Mode Limitations

Autofocus systems are not equally effective in every situation.

Macro shooting, very fast motion, reflective surfaces, and subjects with repetitive patterns can challenge even advanced systems.

  • Macro or close-up work: Many lenses struggle at the minimum focus distance; switch to manual focus if needed.
  • Fast action: Use continuous autofocus and a subject-tracking mode.
  • Faces or eyes: Enable face detection or eye AF when photographing people and animals.
  • Through glass or fencing: Autofocus may lock onto the foreground obstruction instead of the subject.

If autofocus appears to fail only in specific scenes, the camera may be working correctly but hitting a known limitation.

Inspect the Lens and Mount for Physical Problems

Mechanical damage can prevent the autofocus motor from moving elements correctly.

A dropped lens, bent mount, or worn internal drive component may cause grinding, clicking, or complete failure.

Look for these signs:

  • Unusual sounds from the lens during focusing
  • Autofocus hunting with no lock even in ideal lighting
  • Intermittent focus that changes when the lens is moved
  • Error messages related to communication or lens connection

Try another compatible lens on the same body.

If the second lens works, the original lens likely needs service.

If multiple lenses fail, the camera body may be the issue.

Reset Custom Settings and Calibrate Focus When Available

Advanced cameras often allow microadjustments, back-button focus setup, and custom autofocus area controls.

A misconfigured custom profile can make focus seem broken.

  • Restore the camera’s autofocus settings to factory defaults.
  • Disable custom button assignments that change focus behavior.
  • On DSLR models, verify autofocus microadjustment values.
  • Recheck subject-tracking sensitivity and focus-area width on mirrorless cameras.

If you recently created a custom profile or imported settings from another body, that profile may be the source of the problem.

How to Fix Autofocus Not Working on Smartphones?

Phone cameras usually rely on software-driven autofocus systems, so troubleshooting often centers on the camera app, sensor cleanliness, and update compatibility.

  • Clean the rear camera glass with a microfiber cloth.
  • Remove thick cases or lens covers that can obstruct the module.
  • Disable screen protectors or accessories that block light near the camera area.
  • Test with the built-in camera app rather than a social media camera tool.
  • Check whether portrait mode, macro mode, or video mode behaves differently.

If the phone consistently fails to focus at close range, the device may be switching into a fixed-focus or macro limitation rather than true autofocus failure.

When to Seek Professional Repair

If you have tested settings, lighting, software, and lens compatibility and autofocus still does not work, the problem may involve a damaged focus motor, a faulty image sensor, or a mainboard communication fault.

Contact a repair center if you notice:

  • Persistent lens errors across multiple compatible lenses
  • Physical impact, water exposure, or corrosion
  • Autofocus failure after a drop
  • Complete inability to focus in any mode

For smartphones, camera module replacement is often the practical fix when focus hardware fails.

For interchangeable-lens cameras, professional diagnostics can determine whether the body, lens, or mount needs repair.

Quick Checklist for How to Fix Autofocus Not Working

  • Confirm AF is enabled and the lens is not set to manual focus
  • Clean the lens and contacts
  • Test in bright, high-contrast light
  • Restart the device and camera app
  • Update firmware and software
  • Try another lens or another camera app
  • Reset autofocus settings to default
  • Seek repair if physical damage is suspected
Scroll to Top