---
title: "VAE Decode & VAE Encode (Tiled) — ComfyUI Node Inputs, Wiring & Troubleshooting"
description: "Complete reference for VAE Decode & VAE Encode (Tiled) (Built-in Core) in ComfyUI: input pins (samples (LATENT) or pixels (IMAGE), vae), output pins (IMAGE or LATENT), and Windows setup."
canonical: https://comfy.ink/nodes/vae-decode-encode
updated: 2026-10-17
---

# VAE Decode & VAE Encode (Tiled)

Translates compressed 8x latent tensors into RGB images and back, with tiled variants that eliminate out-of-memory spikes at 4K and in video runs. Package: Built-in Core.

## Facts (2026-10-17)

- **Node / Pack:** VAE Decode & VAE Encode (Tiled)
- **Category:** latent
- **Inputs:** samples (LATENT) or pixels (IMAGE), vae
- **Outputs:** IMAGE or LATENT
- **Source Pack:** Built-in Core

## What VAE Decode & VAE Encode (Tiled) does in a ComfyUI graph

Translates compressed 8x latent tensors into RGB images and back, with tiled variants that eliminate out-of-memory spikes at 4K and in video runs.

On the canvas, this node accepts `samples (LATENT) or pixels (IMAGE), vae` and emits `IMAGE or LATENT`. Every pin is color-coded by data type so you cannot accidentally wire a pixel `IMAGE` tensor into a `LATENT` pin without an intermediate encode step.

## Installation and missing-node recovery on Windows

VAE Decode & VAE Encode (Tiled) ships inside the default ComfyUI core on Windows. Double-click anywhere on the empty [Studio canvas](https://comfy.ink/studio) and type its name to drop it into your graph.

Download the full Windows desktop or portable package at [/download](https://comfy.ink/download) to get started with a clean Python 3.12 environment.

## FAQ

### How do I fix "VAE Decode & VAE Encode (Tiled)" showing up as a red box in ComfyUI?

Update your ComfyUI installation to the latest build from [/download](https://comfy.ink/download) so all recent core nodes are registered.

### What are the main inputs and outputs of VAE Decode & VAE Encode (Tiled)?

Inputs: samples (LATENT) or pixels (IMAGE), vae. Outputs: IMAGE or LATENT.

## Related

- [ComfyUI Nodes Reference](https://comfy.ink/nodes)
- [ComfyUI-Manager](https://comfy.ink/nodes/comfyui-manager)
- [How to Fix Red Missing Nodes in ComfyUI Workflows](https://comfy.ink/howto/fix-missing-custom-nodes-red-boxes)
- [ComfyUI Studio Workspace](https://comfy.ink/studio)
- [KSampler & KSampler (Advanced)](https://comfy.ink/nodes/ksampler)

## Download

Free desktop app: [Download Comfy](https://comfy.ink/download)

Markdown mirror: https://comfy.ink/nodes/vae-decode-encode.md
