ComfyUI Model Path Not Detected: Fix extra_model_paths.yaml
Fix ComfyUI model path not detected, extra_model_paths.yaml not loading models, path format errors, and missing model dropdowns step by step.
Community Knowledge
This page is based on common ComfyUI troubleshooting patterns and has not been fully tested across all environments. Back up your environment before changing packages.
Use this page when the model file exists on disk but the running ComfyUI process is not scanning the folder that contains it: extra_model_paths.yaml not loading models, an empty model dropdown, or path does not exist create containing directory first. This is a configuration issue, not a package issue — do not install Python packages to fix a missing model dropdown.
Fast answer
- Check that your models are in the correct subfolder inside
ComfyUI/models/ - If using external paths, verify
extra_model_paths.yamlsyntax and path format - Restart ComfyUI after any path changes — it only scans model folders at startup
Triage
| Check | Good result | If it fails |
|---|---|---|
| The running ComfyUI folder is the one you edited | The terminal or launcher points to the same ComfyUI/ directory | Stop and edit the active install, not an old copy |
extra_model_paths.yaml exists in the ComfyUI root | The file sits next to main.py, not inside models/ | Copy or rename extra_model_paths.yaml.example first |
| YAML uses spaces and readable Windows paths | base_path: D:/AI/models or a quoted path with spaces | Replace tabs and fragile backslash paths |
| The mapped subfolder contains files | D:/AI/models/checkpoints/ lists the checkpoint files | Fix the folder structure before editing more YAML |
| The model type matches the loader | Checkpoints, LoRAs, VAE, CLIP, ControlNet, diffusion models use different folders | Use the safetensors folder map |
If the workflow still has missing custom nodes, fix those first — a missing node can hide the later missing-model error because the loader never registers. If the file exists but the dropdown is empty for a different reason, use cannot find model.
How ComfyUI finds models
ComfyUI checks two places at startup:
- Default folder:
ComfyUI/models/<type>/(e.g.,ComfyUI/models/checkpoints/) - Extra paths: folders listed in
ComfyUI/extra_model_paths.yaml
If neither contains the model, the dropdown is empty.
Step 1: Verify the default model folder
dir ComfyUI\models\checkpoints\
dir ComfyUI\models\loras\If your model file is listed, the path is not the problem — restart ComfyUI and check again.
Step 2: Check extra_model_paths.yaml
If you use external folders, open ComfyUI/extra_model_paths.yaml. In a normal checkout, start by copying or renaming extra_model_paths.yaml.example.
Correct format:
my_models:
base_path: D:/AI/models
checkpoints: checkpoints/
loras: loras/
vae: vae/Common mistakes:
# WRONG: Using tabs instead of spaces
my_models:
base_path: D:/AI/models # Tab character — YAML requires spaces
# WRONG: Missing trailing slash or wrong separator
my_models:
base_path: D:\AI\models # Backslashes can cause issues
checkpoints: checkpoints # Missing trailing slash (may work but inconsistent)
# WRONG: Path does not exist
my_models:
base_path: E:/Models # Drive E: not mounted or folder does not existYAML is strict: use spaces not tabs (2 or 4), use forward slashes on Windows (D:/AI/models), quote paths with spaces (base_path: "D:/My Models/AI"), and no trailing spaces after values.
Step 3: Test the path manually
dir "D:\AI\models\checkpoints\"If this shows your model files, the path is correct. If not, fix the folder structure.
Step 4: Restart ComfyUI
ComfyUI only reads model paths at startup. After changing extra_model_paths.yaml or adding files, restart and watch the log for YAML parsing errors and lines mentioning your external path:
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-buildIf you keep the config elsewhere, launch with the same --extra-model-paths-config every time, but a single root-level extra_model_paths.yaml is easier to verify.
Subfolder mapping reference
The YAML keys must match ComfyUI's expected model type names:
| YAML key | Model type | File extensions |
|---|---|---|
checkpoints | SD/SDXL/FLUX checkpoints | .safetensors, .ckpt |
loras | LoRA weights | .safetensors |
vae | VAE models | .safetensors, .pt |
controlnet | ControlNet models | .safetensors, .pth |
clip | CLIP text models | .safetensors |
clip_vision | CLIP vision models | .safetensors |
diffusion_models | Flux or standalone diffusion models | .safetensors, .gguf |
upscale_models | Upscaling models | .pth, .pt |
embeddings | Textual inversions | .safetensors, .pt |
Verify
Before deciding the path is fixed, confirm all four:
- A file under the default
ComfyUI/models/folder appears after restart. - A file under the external folder from
extra_model_paths.yamlappears after restart. - The active ComfyUI folder is the same folder where you edited
extra_model_paths.yaml. - The loader node matches the model type (checkpoint loader for checkpoints, LoRA loader for LoRAs, and so on).
Related errors
- ComfyUI Cannot Find Model File
- Where ComfyUI Stores Checkpoints
- Where to Put Safetensors in ComfyUI
- Install Models in ComfyUI
- ComfyUI Workflow Missing Nodes
Source References
Start free with Wonderful Launcher if this affects your real ComfyUI environment. It keeps launcher-native repair, task logs, and runtime checks in one place; credits are only for image generation and metered tools.
Download Wonderful LauncherSee credit packagesDid this fix your issue?
Your answer helps prioritize verified ComfyUI repairs.