Blender How-ToQuick answers, tested in Blender 5.2.2 LTS and 4.2.23 LTSAI add-on
Blender how-to

How to Add Depth of Field (Blur Background) in Blender

Select the camera, open the Data tab in the Properties editor, and tick the checkbox in the Depth of Field panel header. Then set Focus on Object to your subject and lower the F-Stop value so everything behind it blurs.

Or do it by typing one line ↓

Mode
Object Mode, Properties editor (camera selected)
Menu
Properties › Data tab › Depth of Field
Shortcut
F12 (render to check the blur)
AFTERRender with Depth of Field on, focused on the Cube at F-Stop 0.5: the background is softer.
Render with Depth of Field on, focused on the Cube at F-Stop 0.5: the background is softer.

Enable Depth of Field

Tick the box in the Depth of Field panel header on the camera's Data tab.

Pick the focus

Set Focus on Object, or type a Focus Distance.

Lower the F-Stop

Lower F-Stop values give more blur. Press F12 to check.

Before and after

BEFORERender with Depth of Field off: the distant cube and sphere are as sharp as the foreground cube.
Render with Depth of Field off: the distant cube and sphere are as sharp as the foreground cube.
AFTERRender with Depth of Field on, focused on the Cube at F-Stop 0.5: the background is softer.
Render with Depth of Field on, focused on the Cube at F-Stop 0.5: the background is softer.
A neon alley at night after the rain, built in Blender with the AI Scene Builder add-on
This alley was built inside Blender from typed requests

AI Scene Builder is a Blender add-on. You type what you want, and it builds it in your scene: buildings, neon signs, wet pavement, fog and lights. Nothing in this picture was modeled by hand.

Try it free: 15 credits, no card

On a phone now? The add-on runs in Blender on a computer. Send yourself the link and open it there.

Step by step (Blender 5.x)

  1. Click the camera in the viewport or Outliner so it is the active object.
  2. In the Properties editor, open the Data tab (the camera icon).
  3. In the Depth of Field panel, tick the checkbox in its header to enable it.
  4. Set Focus on Object to your subject (for example the Cube). To focus by distance instead, leave it empty and set Focus Distance.
  5. Open the Aperture sub-panel and lower F-Stop, for example to 0.5. Lower numbers give more defocus, higher numbers a sharper image.
  6. Press F12 (or Render › Render Image) to see the blurred background.

Other ways to do it

  • Cycles: the same Depth of Field panel and its Aperture sub-panel are on the camera's Data tab.
  • Viewport preview: in the Shading popover, under Options, tick Depth of Field.
  • Aperture › Blades sets the number of blades for polygonal bokeh shapes.

Common snags

No blur appears

The Depth of Field checkbox is off, so the settings are greyed out. Tick the box in the panel header.

Panel not visible

The Data tab only shows camera settings when the camera is the active object. Click the camera first.

Blur is too weak

The F-Stop is too high or the subject sits close to the background. Lower F-Stop (try 0.5) and check Focus on Object.

Or type one line in AI Scene Builder

AI Scene Builder is a Blender add-on that carries out the steps for you from one typed request. For this task, type a request like this one, using your own object names:

Turn on depth of field for the camera, focus on the Cube and set the f-stop to 0.5 to blur the background
An evening market streetAn evening market street built with the add-on from 11 typed requests. See every request →
Try it free: 15 credits, no cardBlender 4.2 or newer. Plans from $19 a month.

Questions

How do I blur the background in Blender?

Enable Depth of Field on the camera's Data tab, set Focus on Object to your subject and lower the F-Stop.

What does F-Stop do in Blender?

It controls the blur amount. Lower numbers give more defocus and higher numbers give a sharper image.

How do I focus without an object?

Leave Focus on Object empty and type a Focus Distance in the Depth of Field panel.

What the pictures show

  • Before: Depth of Field was off and F-Stop was 2.8, with no focus object.
  • After: Depth of Field was on, Focus on Object was the Cube and F-Stop was 0.5.
  • Edge sharpness of the distant background fell from about 154.7 to 150.6 in Blender 5.x.
  • In Blender 4.2 LTS it fell from about 164.3 to 162.6.