0
100
200
300
400
500
600
700
800
900
1000
1100
0
100
200
300
400
500
600
700
800
900
1000
1100
Guide · Images, masks & shapes

How to Outline a Stroke in Figma

To outline a stroke in Figma, right-click the layer and choose Outline stroke, or press ⌥⌘O on Mac or Ctrl+Alt+O on Windows. Figma converts the stroke into a vector path with a fill, so a 2px line becomes a thin filled shape you can edit point by point.

It's a destructive action: once a stroke is outlined, you can't change its stroke width or dashes any more. Undo (⌘Z / Ctrl+Z) or version history are the only ways back.

Updated Sep 24, 20263 min read
On this page
Outline strokeMac⌥⌘OWindowsCtrlAltO
FlattenMac⌥⇧FWindowsAltShiftF
Outline mode (view only)Mac⌘⇧OWindowsCtrlShiftO
UnionMac⌥⇧UWindowsAltShiftU
UndoMac⌘ZWindowsCtrlZ
01

When to outline a stroke

Figma's help page lists four reasons: removing or extending half-dashes, building custom shapes you then edit in vector edit mode, combining several paths into one object, and scaling a vector so the line thickness scales with it. The last one matters for icons. A stroked icon resized from 24px to 48px keeps its 2px stroke, while an outlined one gets thicker in proportion. (The Scale tool, K, also scales strokes if you'd rather not outline.)

After outlining, the old stroke colour sits in the Fill section. That's also the answer to "how do I fill in a vector": once it's a filled shape, you colour it with a fill like any rectangle. Double-click it to edit the points in vector edit mode.

02

Outline stroke vs Outline mode

These two get mixed up because their shortcuts differ by one key. Outline mode (⌘⇧O / Ctrl+Shift+O) is a view toggle that shows layers as outlines only. It changes nothing in the file. Outline stroke (⌥⌘O / Ctrl+Alt+O) edits the selected layer.

If your shortcuts feel swapped, check Main menu → Preferences → Use old shortcuts for outlines. With it on, Outline stroke moves to ⇧⌘O / Ctrl+Shift+O and the outline view shortcut changes too.

03

Flatten: merge shapes into one vector

Outline stroke only converts strokes. To merge several shapes into a single vector layer, use Flatten: ⌥⇧F / Alt+Shift+F, or right-click → Flatten. Many tutorials still list ⌘E, which isn't Figma's flatten shortcut. Flatten works on vectors, text, frames and sections. On a frame or section it merges the children and removes the container. It's destructive too, so Undo is the only way to reverse it.

A clean icon workflow is: outline the strokes, Union the pieces (⌥⇧U / Alt+Shift+U) so overlaps merge, then Flatten once you're happy. Union keeps things editable. Flatten locks it in. The boolean operations guide explains Union, Subtract, Intersect and Exclude.

Duplicate the layer before outlining or flattening and hide the copy. You keep an editable original without digging through version history.

Outlined shapes also make good custom masks. See how to mask in Figma for the layer order rules.

Ranked listThe best Figma plugins for vectorizing images and SVG in 2026
FAQ

Frequently asked questions

What is the outline stroke shortcut in Figma?

Option+Cmd+O on Mac and Ctrl+Alt+O on Windows. If you turned on Use old shortcuts for outlines in Preferences, it's Shift+Cmd+O / Ctrl+Shift+O instead.

What is the flatten shortcut in Figma?

Option+Shift+F on Mac and Alt+Shift+F on Windows. You can also right-click and choose Flatten. Cmd+E is not Figma's flatten shortcut.

Can you undo outline stroke in Figma?

Only with Undo or by restoring an earlier version from version history. Outlining is destructive, so the stroke settings are gone once it's applied.

What's the union shortcut in Figma?

Option+Shift+U on Mac and Alt+Shift+U on Windows. It merges the selected shapes into a boolean group that stays editable.

Keep learning

More in Images, masks & shapes

All guides in Images, masks & shapes