The camera focuses quickly, but on the bookshelf behind your cup. A large automatic focus area found something with clear detail. That was not necessarily the subject you wanted.
Begin with a subject that stays still
A subject that can hold roughly the same position. Choose one clear feature, such as the nearer eye or a product label, and compare repeated frames without changing your composition radically. A subject turning towards you is no longer the same still-subject exercise. Small focus areas can also struggle over plain surfaces with little contrast.

Focus mode and focus area do different jobs
The autofocus mode controls how focus responds over time. Single autofocus generally acquires focus for a still subject; continuous autofocus keeps updating for movement. The focus area controls where the camera looks.
For a stationary object, single autofocus with a small selectable area is a manageable starting point. Your camera may call the area a point, spot, or flexible spot.
Put the area on useful detail
Choose an edge or textured part at the distance you want sharp. A plain white surface, reflection, or very dark area can be difficult for autofocus. Moving the point to a clearer detail on the same plane can help.
On a face, the nearer eye is often a useful target. Eye detection can help, but confirm which eye the camera selected and review the result. After using eye detection, magnify the selected eye in playback to check the focus.
A very small area is not always better
A tiny point offers precise placement but can miss a subject when you or the subject moves. A slightly larger area can be easier to keep on a person. It can also include background detail, so check where focus actually lands.
Try two area sizes on the same subject. Compare consistency as well as sharpness. The smallest option is useful only if you can place it reliably.
Be careful with focus and recompose
Focusing in the centre and then turning the camera to reframe can shift the relationship between the focus plane and subject. At close distances with shallow depth of field, the eye may become soft. Moving the focus point towards the intended position avoids a large reframing movement.
Review the important detail
Magnify the subject in playback. If a background edge is sharp and the target is soft, check focus selection. If both show directional streaks, investigate camera shake. A slow shutter can spoil a frame even when autofocus selected the right distance.
Place a cup in front of some books. Focus on a clear edge of the cup, then on the books, without moving the camera. Magnify both files and compare which distance is sharp. Continue with focus and sharpness and portrait practice.
If you sway forwards and backwards while shooting, reconsider focus mode, aperture, and your stance. A smaller focus area alone will not keep the subject at the same distance.
Related lessons
- Why Is Your Moving Subject Blurry When the Background Is Sharp?
- Window Light Portraits: Where to Put Your Subject