Complete ComfyUI keyboard shortcuts and commands reference — 24 shortcuts across 3 categories. Quick reference cheat sheet for Windows & Mac.
| Shortcut | Action |
|---|---|
| Ctrl + Scroll | Zoom in/out |
| Middle click + drag | Pan canvas |
| Space + drag | Pan canvas |
| Ctrl + Shift + H | Fit to screen |
| H | Center view |
| F | Focus selection |
| Ctrl + A | Select all nodes |
| Shortcut | Action |
|---|---|
| Double click (canvas) | Add node menu |
| Right click (node) | Node context menu |
| Ctrl + C | Copy node(s) |
| Ctrl + V | Paste node(s) |
| Ctrl + D | Duplicate node |
| Delete | Delete node |
| Ctrl + Z | Undo |
| Ctrl + Y | Redo |
| Ctrl + G | Group nodes |
| Ctrl + M | Mute/unmute node |
| Ctrl + B | Pass data through without processing (bypass). |
| Shortcut | Action |
|---|---|
| Ctrl + Enter | Queue prompt |
| Ctrl + Shift + Enter | Queue first |
| Ctrl + S | Save workflow |
| Ctrl + O | Load workflow |
| Ctrl + Shift + S | Save as image |
| Drag PNG onto canvas | Import workflow |
ComfyUI is a node graph, so the first shortcuts to learn are spatial: Ctrl + Scroll zooms, Space + drag or Middle click + drag pans, F snaps the view to your selection and Ctrl + Shift + H fits the entire workflow on screen. Double click (canvas) opens the searchable add-node menu — 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.
ComfyUI embeds the full workflow JSON in every PNG it saves — which is why Drag PNG onto canvas rebuilds the exact graph that produced an image, and Ctrl + Shift + S saves the canvas as an image carrying that metadata. 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) or [keyword] weakens — and BREAK splits a long prompt into separately-attended chunks.
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.
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.
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.
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.
Two equivalent gestures exist: hold Space + drag with the left button, or 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. H recenters and Ctrl + Shift + H fits everything if you get lost.
Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"