Skip to content
AI photo eraser

Remove stray hair from photos

Clean up flyaway strands, stray hairs across the face, and wispy hair catching the light in portraits and headshots. Magic Eraser removes the distracting strands while preserving the natural hairline and the rest of the hairstyle.

Last updated

Open Magic Eraser
10M+ users4.9 App Store ratingPhotos processed on-device — never stored
Before and after portrait showing brushed flyaway hairs removed while preserving the natural hairline

How to remove stray hairs and flyaways from a photo

To remove stray hairs from a photo, open Magic Eraser on the web, iOS, or Android, upload your portrait, brush along each flyaway strand — the wisps across the forehead, the single hairs crossing a cheek, or the backlit halo of frizz — and tap Erase. The AI follows the strand's path and rebuilds the clean skin or background underneath. It includes limited free edits after sign-in. Brush over the loose strands while leaving the main hairline untouched, and the hairstyle stays intact. Stray hair removal is the single most time-consuming retouching task in professional portrait work. Every portrait session produces flyaway strands — hairs catching the backlight, wisps blowing across the forehead, single strands crossing the cheek or lip. Even perfectly styled hair produces flyaways in wind, humidity, or static conditions. Professional retouchers spend 10-20 minutes per image painstakingly cloning and healing individual hair strands, working at 200-400% zoom to follow each strand's path against different background textures. Multiply that across a 30-image headshot session and stray hair alone consumes hours. Magic Eraser's AI detects and removes individual stray strands by analyzing their linear pattern against the background, then reconstructing the clean background or skin texture underneath each strand.

Remove stray hair in three steps

  1. 1

    Upload your portrait

    Open Magic Eraser on the web, iOS, or Android and upload the headshot or portrait with flyaway or stray hair you want to clean up.

  2. 2

    Brush over the stray strands

    Paint along each stray hair strand or group of flyaways. For individual strands crossing the face, use a thin brush that follows the hair's path. For clusters of flyaways above the head, use a wider brush to cover the group. Avoid brushing over the main hairstyle edge where you want hair to remain.

  3. 3

    Erase and inspect

    Tap Erase and the AI removes the stray strands, reconstructing the clean background, skin, or clothing underneath. Zoom in to check that all visible flyaways are gone and the hairline edge looks natural. Export the polished portrait.

Best for

  • Professional headshot retouching with flyaway cleanup
  • Wedding and bridal portraits with wind-blown hair
  • Outdoor portrait sessions where hair catches the breeze
  • Studio headshots with backlit hair producing visible flyaways
  • Corporate team photos requiring polished, uniform appearance
  • Beauty and fashion photography with styled hair
  • School portrait day photos with messy hair cleanup
  • Product modeling where stray hair crosses the product

Tips for clean stray hair removal

Work at full zoom when brushing individual strands — precision matters because stray hairs are thin and close to the main hairline. Brush along the strand rather than across it for the cleanest selection. For backlit flyaways (bright hair against a dark background), the AI detects the strand's glow and removes it while preserving the background. For strands crossing the face, the AI reconstructs the skin texture underneath. The most challenging scenario is stray hair crossing other hair — strands that cross over the main hairstyle. Brush carefully to cover only the stray strand, not the styled hair underneath. For outdoor portraits with many flyaways, process the most distracting strands first (those crossing the face or eyes), then address the halo of flyaways above the head. Some photographers intentionally leave a few soft flyaways for a natural look — total removal can make the hairstyle look rigid.

Frequently asked questions

Will it affect the main hairstyle?
Only the areas you brush over are affected. Keep your brush on the stray strands and away from the main hairstyle edge. The AI only removes hair in the brushed area and leaves everything else untouched.
Can it handle backlit flyaways?
Yes. Bright flyaways catching the backlight are actually easier for the AI to detect and remove because they have clear contrast against the darker background.
How precise does the brush need to be?
Moderately precise. The brush should cover the stray strand but avoid the main hairline. You don't need to trace each hair perfectly — a brush slightly wider than the strand works well. The AI identifies the hair pattern within your selection.
Is stray hair removal free?
Yes. Magic Eraser's free tier covers stray hair cleanup. Upload your portrait, brush over the flyaways, and export the polished result.
How do I remove flyaway hairs from a photo on my phone?
Open Magic Eraser in any mobile browser or the iOS or Android app, load the portrait from your camera roll, and pinch to zoom in tight on the flyaways. Brush along each loose strand with your finger and tap Erase. Zooming in is key on a phone — flyaways are thin, so getting close lets you trace the strand without catching the styled hair beside it. The result matches the desktop version.
Can it remove frizz and a halo of flyaways around the whole head?
Yes, though a dense frizz halo takes a little more care than a few loose strands. Brush over the haloed area in sections rather than one big sweep, following the outer edge of the styled hair so you thin the frizz without eating into the hairstyle. Against a plain backdrop it cleans up almost completely; against busy backgrounds, work in smaller passes and review the edge.
Will removing stray hairs leave a blurry or smudged edge on the hair?
It shouldn't, if you brush the loose strands and stop at the main hairline. The AI rebuilds the background or skin the strand crossed, not the hairstyle itself, so the styled edge stays sharp. If an edge looks soft, it usually means the brush went slightly into the styled hair — undo, zoom in further, and trace just the stray strand.