ComfyUI keyboard shortcuts for Windows, Linux and Mac

Default keyboard and mouse shortcuts of ComfyUI, with Windows / Linux and Mac bindings side by side. Rows follow the official shortcut page and the README of release v0.39.0, checked against the keybinding file of the frontend it installs (v1.53.10); documented keys that this frontend no longer binds are left out. Sidebars and canvas tools sit on single letters, Ctrl + Enter queues a run, and every binding can be reassigned in the in-app settings.

53 shortcuts in 5 sections. Checked row by row against ComfyUI documentation on . Edited by Jay.

Workflow and queue 10

An empty Mac cell means the row comes from a source that prints a single list (the README, the frontend keybinding file, the Mask Editor page). The README adds that Ctrl can be replaced with Cmd on macOS.

The README still prints Ctrl + Backspace (delete the current graph) and Ctrl + D (load default graph). Neither is in the default keybinding file any more; in the current list Backspace alone deletes the selected nodes.

ActionWindows / LinuxMac
Queue promptAdd the current workflow to the generation queue.Ctrl+EnterCmd+Return
Queue prompt (front)Places the job first in the queue instead of last.Ctrl+Shift+EnterCmd+Shift+Return
InterruptCancels the generation that is running.Ctrl+Alt+EnterCmd+Option+Return
Save workflowCtrl+SCmd+S
Load workflowCtrl+OCmd+O
UndoCtrl+ZCmd+Z
RedoCtrl+YCmd+Y
Refresh node definitionsReloads the node list so models downloaded after startup show up.RR
Load workflow from imageDrop a PNG that ComfyUI generated on the page to restore its workflow, seeds included.DragDrag
Close workflowBound only in the ComfyUI desktop app.Ctrl+W—

Canvas and view 10

ActionWindows / LinuxMac
Pan canvasHold the key down and move the cursor to slide the canvas.SpaceSpace
Pan canvasMiddle-click+DragMiddle-click+Drag
Zoom in or outZooms with the wheel even when the wheel is set to pan.Ctrl+Scroll—
Zoom inAlt+=Option+=
Zoom outAlt+-Option+-
Fast zoomDrag vertically with the left mouse button held.Ctrl+Shift+Drag—
Fit view to selectionFrames the whole graph when nothing is selected...
Lock canvasMakes the canvas read-only until it is unlocked.HH
Unlock canvasSwitches read-only mode off again.VV
Toggle minimapAlt+Shift+M—

Node operations 20

ActionWindows / LinuxMac
Search nodes to addOpens the quick-search palette for adding a node.Double-clickDouble-click
Node context menuOn a Load Image node the menu includes Open in Mask Editor.Right-clickRight-click
Select all nodesCtrl+ACmd+A
Add node to selectionCtrl+ClickorShift+ClickCmd+ClickorShift+Click
Move selected nodes togetherShift+DragShift+Drag
Copy node(s)Copies the selection; the two paste keys differ in which links come along.Ctrl+CCmd+C
Paste node(s)Pasted copies drop the links that came from nodes outside the copied set.Ctrl+VCmd+V
Paste with ConnectPasted copies stay wired to the outputs of nodes outside the copied set.Ctrl+Shift+VCmd+Shift+V
Delete nodeRemove the selected node(s) from the canvas.DeleteorBackspaceDeleteorBackspace
Group nodesWrap selected nodes in a group frame.Ctrl+GCmd+G
Mute/unmute nodeToggle a node on or off without deleting it.Ctrl+MCmd+M
Bypass or unbypass nodeA bypassed node behaves as if removed, with its wires joined straight through.Ctrl+BCmd+B
Collapse or expand nodesAlt+COption+C
Pin or unpin itemsPP
Convert selection to subgraphCtrl+Shift+E—
Exit subgraphEscEsc
Disconnect all wires from slotCtrl+Alt+Click—
Move multiple wiresApplies when the drag starts on a slot rather than on a node.Shift+DragShift+Drag
Increase token weightWith the cursor in a prompt text box, raises the weight of the selected text or word.Ctrl+Up—
Decrease token weightLowers the weight; the step size is the Ctrl+up/down precision setting.Ctrl+Down—

Panels and interface 8

The documentation page still lists Q for a queue sidebar and F for focus mode. The keybinding file of frontend v1.53.10, the version ComfyUI v0.39.0 installs, binds neither key, so both are left out here.

ActionWindows / LinuxMac
Toggle workflows sidebarWW
Toggle node libraryNN
Toggle model libraryMM
Toggle assets sidebarAA
Toggle logs panelOpens or closes the log tab of the bottom panel.Ctrl+`Cmd+`
Show keybindings panelOpens the shortcuts tab of the bottom panel.Ctrl+Shift+K—
Open settingsCtrl+,Cmd+,
Toggle App ModeAlt+MOption+M

Mask editor 5

ActionWindows / LinuxMac
Pan mask canvasSpace+Drag—
Zoom mask canvasCtrl+Scroll—
Undo mask editSame as the Undo button in the top bar of the Mask Editor.Ctrl+Z—
Redo mask editCtrl+Shift+ZorCtrl+Y—
Adjust brush size and hardnessHorizontal movement changes the size, vertical movement the hardness.Alt+Right-click+Drag—

Notes

A canvas you steer, a queue you feed

ComfyUI is a node graph, so the first shortcuts to learn are spatial: Ctrl + Scroll zooms, holding Space while you move the cursor or Middle-click + Drag pans, and . fits the view to your selection, or to the whole graph when nothing is selected. Double-click opens the searchable add-node palette — far faster than right-click browsing once graphs grow past a dozen nodes.

Generation is queue-driven: Ctrl + Enter queues the current prompt, and Ctrl + Shift + Enter pushes it to the front of the queue — the key you want when testing one small change while a batch is already running. Two node toggles look similar but behave very differently: Ctrl + M mutes a node so it produces nothing, while Ctrl + B bypasses it, passing the input straight through unchanged. Mute to cut a branch, bypass to temporarily remove one processing step from a chain.

Workflows travel inside images

ComfyUI embeds the full workflow in the PNGs it generates — which is why dropping one on the page (the Drag row) rebuilds the exact graph that produced the image, seeds included. Ctrl + S and Ctrl + O save and load workflows as files in the usual way. In prompts, parentheses weight terms — (keyword:1.3) strengthens, (keyword:0.7) weakens, and plain (keyword) counts as 1.1 — and with the cursor in a prompt box Ctrl + Up and Ctrl + Down step that number without typing it.

Questions

What is the difference between mute and bypass?

A muted node (Ctrl + M) stops executing entirely — anything downstream that depends on its output will fail or fall back. A bypassed node (Ctrl + B) stays wired but does nothing: input flows through to the output untouched. Use bypass to A/B-test a step like an upscaler; use mute to switch off a whole branch.

Why did dragging a PNG not load its workflow?

The workflow lives in the PNG's metadata, and anything that re-encodes the image — screenshots, messaging apps, most image editors, format conversion to JPG — strips it. Only PNGs saved directly by ComfyUI (or by tools that preserve the metadata) will rebuild on the canvas.

What does Queue Front actually do?

Ctrl + Shift + Enter places the job at the head of the pending queue instead of the tail. When a long batch is running, it lets a one-off test render as soon as the current job finishes, rather than after everything else you queued earlier.

How does (keyword:1.3) weighting work?

The number multiplies the attention given to that term: values above 1 emphasise, below 1 de-emphasise. (keyword:1.3) is a moderate boost; stacking extreme weights tends to distort output, so most workflows stay within roughly 0.7–1.4 and adjust one term at a time. With the text cursor on a term, Ctrl + Up and Ctrl + Down change its weight in small steps.

The canvas will not pan. What am I missing?

Two equivalent gestures exist: hold Space and move the cursor, or use Middle-click + Drag. If Space seems dead, make sure focus is on the canvas and not inside a text widget — click empty canvas once, then pan. . fits the view to the graph if you get lost. H locks the canvas as read-only and V unlocks it, so press V if nodes stop responding.

Do ComfyUI shortcuts work on a Mac?

Yes. The official shortcut page prints a Mac list with Cmd in place of Ctrl and Option in place of Alt — Cmd + Return queues a prompt, Option + C collapses a node — and the README says Ctrl can be replaced with Cmd for the shortcuts it lists.

Sources and checks

Every row on this page was matched to a line in the documentation above on . A binding that could not be found there is not listed.

5 rows from the earlier version of this page were removed in that check: duplicates, and bindings the documentation does not list or lists differently.

Found a wrong or missing key? Tell us and it gets checked against the source. How we verify describes the process and its limits.