Remove the Background with Magic Mask in DaVinci Resolve
How to isolate a person with Magic Mask in DaVinci Resolve, output an alpha channel to replace the background, and what the effect does and does not change in your recording.
The short answer
Magic Mask is an AI-assisted masking tool on DaVinci Resolve's Color page. You mark the subject, Resolve tracks it through the clip, and you send the resulting mask to an alpha output so the area around the subject becomes transparent. Any clip placed on a lower video track then shows through as the new background. Two conditions limit this. First, Magic Mask has historically been a DaVinci Resolve Studio feature, and its interface was redesigned in later releases, so confirm that your edition and version include it and check the exact control names in your copy. Second, the quality of the cutout depends on the footage. Results are generally cleaner when the subject stands out clearly from the background and is sharply focused.
What Magic Mask is and how it differs from other methods
A chroma key, such as Resolve's 3D Keyer, removes a specific color. That approach needs a green or blue screen behind the subject. Magic Mask does not need a uniform backdrop. It uses machine-learning segmentation to separate a person or object from whatever is behind them. A manually drawn and tracked Power Window can also isolate a subject, but it follows a shape you draw rather than the subject's outline. Magic Mask is the practical choice for footage shot without a screen, such as a webcam recording in an ordinary room. A well-lit green screen with a keyer usually gives more predictable edges when you can shoot that way.
Before you start
- Confirm that your Resolve edition and version include Magic Mask.
- Import the subject clip and the replacement background (a still image or video) into the same timeline.
- Place the subject clip on a higher video track than the background, for example the subject on V2 and the background on V1.
- Expect tracking to be demanding on the GPU. Longer or higher-resolution clips take longer to process.
Steps to isolate the subject and replace the background
- 1. Select the subject clip and open the Color page.
- 2. Select a node, or add a new serial node, to hold the mask.
- 3. Open the Magic Mask palette from the palette toolbar.
- 4. Mark the subject in the viewer. Older versions use brush strokes with a Person or Object mode. Newer versions use a point-based selection. Add strokes or points to include missed areas and use the subtract option to exclude unwanted ones.
- 5. Run the tracking controls forward and backward so the mask follows the subject across the whole clip.
- 6. Turn on the mask overlay or highlight view and scrub through the clip. Check edges, hair and moving hands, and add corrections on any frames where the mask drifts.
- 7. Refine the matte with the available finesse controls, such as softening the edge, filling holes and cleaning stray pixels. Control names vary by version.
- 8. Right-click an empty area of the node editor and add an alpha output. Connect the mask node's key output to the alpha output.
- 9. Return to the Edit or Cut page. The area outside the subject should now be transparent, and the clip on the lower track should be visible behind the subject.
Check the result by playing the composite at full quality. If background pixels remain around the subject, go back to the mask node. If the subject flickers or loses parts of their outline, add more strokes or points on those frames and track again. If you want the background clip to look as if it belongs in the scene, consider blurring it slightly or adjusting its color, but treat these as optional creative choices.
What this means for your audio
Magic Mask is a video operation and has no effect on the clip's audio. Removing the visual background does not reduce room noise, echo or keyboard sounds picked up by a webcam's built-in microphone. If the background you replaced was a noisy space, the soundtrack still needs separate treatment. Options include Resolve's audio tools on the Fairlight page, or the Voice Isolation feature in the Studio edition, where your version provides it. You can also improve the recording itself through microphone placement and room choice. Treat any audio cleanup as a separate step and listen back after applying it, because heavy noise reduction can make speech sound processed.
Evidence gaps
No version-specific documentation, benchmark data or test footage was supplied for this guide. The workflow above describes Magic Mask's general documented behavior. Menu labels, palette layout, edition availability and processing speed vary between Resolve releases and hardware setups. Before relying on exact control names, check them against the manual for your installed version.