Complete Guide to Running Stable Diffusion Locally (2026): Windows, Mac, Linux
Complete Stable Diffusion Local Installation Hub
Everything you need to run Stable Diffusion offline on Windows, Mac, or Linux. Choose your platform below for step-by-step guides.
Not Sure Which Guide to Choose?
Quick tip: Most beginners should start with the Windows (Forge) or Mac (Draw Things) guides for the easiest setup. Choose Linux if you’re comfortable with terminal commands.
Windows Installation Guide
- Best for NVIDIA GPU users
- Forge (A1111 optimized) & ComfyUI options
- Highest performance & most extensions
Mac Installation Guide
- Optimized for Apple Silicon (M1/M2/M3/M4)
- Draw Things app (App Store) & terminal options
- Simplest setup – start generating in minutes
Linux Installation Guide
- Best for AMD GPU users (ROCm support)
- A1111 & ComfyUI with terminal setup
- Maximum flexibility & customization
Quick Platform Comparison
| Platform | Best For | Setup Time | Hardware Requirement | Recommended Interface |
|---|---|---|---|---|
| Windows | Maximum performance, NVIDIA GPU users | 15-30 minutes | NVIDIA GPU (6GB+ VRAM) | Forge (A1111 optimized) |
| Mac | Apple Silicon users, simplicity | 2-10 minutes | M1/M2/M3 with 16GB+ RAM | Draw Things (App Store) |
| Linux | Advanced users, AMD GPU, customization | 15-40 minutes | Any with terminal knowledge | ComfyUI or A1111 |
Additional Resources
Stable Diffusion Negative Prompts Guide
Master negative prompting to eliminate artifacts, fix anatomy issues, and generate perfect AI images. Get categorized prompt collections and advanced techniques.
Master Negative PromptsStable Diffusion Models Guide
Learn where to download safe models (SD 3.5, Flux.1, custom checkpoints) and how to manage them.
Learn About ModelsTroubleshooting Common Issues
Fix black images, out of memory errors, slow generation, and other common problems.
Troubleshooting GuidePrompting & Advanced Techniques
Master prompt engineering, ControlNet, LoRAs, upscaling, and other advanced features.
Advanced Techniques| Your Priority | Recommended Platform & Method | Setup Time | Best For |
|---|---|---|---|
| Easiest & Fastest Start | Mac: Draw Things (App Store) | 2-5 minutes | Absolute beginners, Apple Silicon users |
| Maximum Power & Best GPU Performance | Windows: Forge/A1111 | 15-30 minutes | NVIDIA GPU owners, extensibility |
| Complete Control & Advanced Workflows | Any OS: ComfyUI | 20-40 minutes | Complex workflows, video, Flux.1 native |
| Open Source Flexibility | Linux: A1111/ComfyUI | 15-30 minutes | Developers, AMD GPU users, customization |
Complete Installation Methods by Platform
๐ฅ๏ธ Windows: Forge (Recommended 2026) – Best Balance of Ease & Power
For most Windows users in 2026, Forge (an optimized fork of Automatic1111’s Stable Diffusion WebUI) is the best starting point. It gives you the familiar tabbed interface with better speed and modern model support than the original A1111.
Key Advantages:
- โ 2-6x faster than original A1111 on same hardware
- โ Lower VRAM usage (runs SDXL on 8GB cards)
- โ Native support for SD 3.5, Flux.1, and other 2026 models
- โ Massive extension ecosystem (ControlNet, LoRAs, upscalers)
- โ Completely offline after setup – no generation limits
Requirements:
- GPU: NVIDIA with 6GB+ VRAM (RTX 2060+) recommended
- RAM: 16GB minimum, 32GB for best performance
- Storage: 40-50GB free SSD space (models are 4-15GB each)
Follow our detailed Windows Forge Installation Guide โ
๐ Mac: Draw Things – Easiest Native Experience
For Apple Silicon Mac users (M1/M2/M3/M4), Draw Things from the Mac App Store provides the best balance of performance and simplicity in 2026. It’s a native Metal-optimized app that works completely offline.
Why Draw Things is Best for Mac:
- โ App Store download – no terminal commands needed
- โ Excellent Metal/MLX optimization for Apple Silicon
- โ Supports SD 1.5, SDXL, Flux.1, ControlNet, LoRAs
- โ Clean, intuitive Mac-native interface
- โ Free with no generation limits
Requirements:
- RAM: 16GB+ recommended (8GB works but limited)
- Chip: Apple Silicon (M1+) for best performance
- OS: macOS 13.5+ (Ventura or later)
Follow our detailed Mac Installation Guide โ
๐ง Linux: Choice Between A1111 & ComfyUI – Maximum Flexibility
Linux offers the most flexibility, especially for AMD GPU users via ROCm. In 2026, you can choose between the beginner-friendly A1111 (Stable Diffusion WebUI) or the more powerful ComfyUI.
Linux Setup Comparison:
| Aspect | A1111 (WebUI) | ComfyUI |
|---|---|---|
| Learning Curve | Low (tabbed UI) | High (node-based) |
| Performance | Good | Excellent (best VRAM usage) |
| Flux/SD3.5 Support | Medium (needs plugins) | Best (native support) |
| Best For | Beginners, extensions | Advanced users, workflows |
Follow our detailed Linux A1111 & ComfyUI Guide โ
๐ Stable Diffusion Online Alternatives
Don’t want to install locally? Here are popular Stable Diffusion online services (as of 2026):
| Service | Free Tier | Best For | Limitations |
|---|---|---|---|
| Clipdrop | 25 images/month | Quick generation, API access | Limited free tier |
| DreamStudio | $10 credit trial | Official Stability AI platform | Credits expire |
| Leonardo.ai | 150 tokens/day | Community features, fine-tunes | Queue times |
| Tensor.art | 100 credits/day | Model variety, Civitai integration | Requires account |
Important: Online services have generation limits, privacy concerns, and may restrict content. Local installation gives you complete freedom, privacy, and unlimited generations.
Understanding Stable Diffusion Interfaces
1. Stable Diffusion WebUI (A1111/Forge)
The classic tabbed interface that made Stable Diffusion accessible. In 2026, most users should start with Forge, which is a performance-optimized fork of the original A1111.
Best if: You want a familiar Photoshop-like interface with thousands of extensions.
2. ComfyUI
A node-based interface that represents workflows as visual graphs. Has a steep learning curve but offers maximum control and efficiency.
Best if: You want reproducible workflows, maximum GPU efficiency, or work with Flux.1 and SD 3.5 regularly.
3. One-Click Installers & Managers
- Stability Matrix: Manages multiple SD interfaces (A1111, ComfyUI, InvokeAI) in one app
- Draw Things/Diffusion Bee: Mac-specific simplified apps
- NMKD GUI: Windows-focused simplified installer
Getting & Managing Stable Diffusion Models
Where to Download Stable Diffusion Models Safely
- Civitai.com: Largest community model hub with ratings, previews, and discussion
- Hugging Face: Official Stability AI models and community uploads
- OpenArt: Curated model collections and discovery
Safety Tip: Always download .safetensors files (not old .ckpt) from trusted sources to avoid potential malware.
Essential Model Types to Download (2026)
- Base Checkpoint: Start with one good all-purpose model
- SDXL: Juggernaut XL or Realistic Vision V6.0
- SD 3.5: SD 3.5 Medium (balanced speed/quality)
- Flux.1: *Flux.1-dev-fp8* (cutting edge, needs 16GB+ VRAM)
- VAE (Visual Autoencoder): Improves color and detail
- LoRAs: Small files that modify style or concepts
- Embeddings/Textual Inversions: Improve prompt understanding
Hardware Requirements Deep Dive (2026 Edition)
| Component | Minimum (Works) | Recommended (Good) | Ideal (Best) |
|---|---|---|---|
| GPU (NVIDIA) | RTX 2060 6GB | RTX 3060 12GB | RTX 4070+ 16GB |
| GPU (AMD) | RX 6700 10GB | RX 7800 16GB | Best on Linux with ROCm |
| RAM | 16GB | 32GB | 64GB+ for training |
| Storage | 100GB HDD | 500GB SSD | 1TB+ NVMe SSD |
| CPU | Any modern | 6+ cores | Matters less than GPU |
VRAM Reality Check for 2026 Models:
- SD 1.5 models: 4-8GB VRAM
- SDXL models: 8-12GB VRAM
- Flux.1/SD 3.5: 12-16GB+ VRAM recommended
Answering Your Search Queries
“stable diffusion how to run locally”
Follow the platform-specific guides above. The process involves:
- Installing prerequisites (Python, Git)
- Cloning/downloading the interface (Forge, ComfyUI, etc.)
- Downloading at least one model checkpoint
- Running the local server
“stable diffusion download”
You’re downloading two things:
- The interface/UI (from GitHub repositories)
- The models (from Civitai, Hugging Face)
All software is free and open source.
“stable diffusion webui”
This refers to the Automatic1111 (A1111) web interface, now largely superseded by Forge for most users. It’s a browser-based interface that runs on your local machine.
“stable diffusion github”
Key GitHub repositories:
- Forge:
github.com/lllyasviel/stable-diffusion-webui-forge - A1111:
github.com/AUTOMATIC1111/stable-diffusion-webui - ComfyUI:
github.com/comfyanonymous/ComfyUI
“stable diffusion online” vs Local
Online: Convenient but limited, monthly fees, privacy concerns
Local: One-time setup, unlimited generations, full privacy, access to all models
“stable diffusion ai image generator”
Stable Diffusion is a text-to-image diffusion model that generates images from text descriptions. When run locally, it becomes your personal AI image generator with no restrictions.
“stable diffusion models”
These are the actual AI “brains” that generate images. Different models have different styles:
- Photorealistic: Realistic Vision, Juggernaut XL
- Anime: Anything v5, Counterfeit
- Artistic: Dreamshaper, Deliberate
- Cutting Edge: SD 3.5, Flux.1
“stable diffusion 3”
As of 2026, Stable Diffusion 3.5 is the latest generally available version from Stability AI. SD3.5 offers better prompt understanding, multi-subject generation, and improved typography.
“stable diffusion image generator”
This refers to the complete local setup: interface + models. Once installed, you can generate unlimited images by typing prompts in your web browser.
Getting Started Checklist
- Choose your platform (Windows/Mac/Linux) based on your hardware
- Pick your interface: Forge for beginners, ComfyUI for advanced
- Download prerequisites: Python 3.10.6, Git
- Get your first model: Juggernaut XL (SDXL) is a great start
- Generate your first image: Use our test prompt below
- Explore extensions: Add ControlNet, LoRAs, upscalers
First Test Prompt (paste in txt2img):
A beautiful cyberpunk city at night, neon lights, rain, flying cars, ultra detailed, cinematic lighting, 8k
Negative prompt: blurry, lowres, bad anatomy, deformed, extra limbs
Sampling method: DPM++ 2M Karras
Steps: 25-30
CFG Scale: 7
Resolution: 1024ร1024
Common Questions Answered
๐ค Which should I choose: Forge or ComfyUI?
- Start with Forge if you’re new to Stable Diffusion
- Switch to ComfyUI when you need more control or better Flux.1 performance
- Many advanced users run both for different tasks
๐ป Can I run this on my laptop?
- MacBooks with M1+ and 16GB+ RAM: Yes, use Draw Things
- Windows laptops with NVIDIA RTX GPU: Yes, 6GB+ VRAM recommended
- Integrated graphics: Very slow, not recommended
๐ Is it really free?
Yes. The software is completely free and open source. You only need:
- A compatible computer (see requirements above)
- Internet to download initially (then 100% offline)
- Electricity to run it
๐ Is local installation more private?
Absolutely. Your prompts and generated images never leave your computer. This is crucial for:
- Commercial work
- Personal/private concepts
- Avoiding content filters and censorship
Troubleshooting Quick Tips
| Problem | Likely Solution |
|---|---|
| Black/blank images | Change VAE in settings or download matching VAE |
| Out of memory errors | Lower resolution, use –medvram flag, close other apps |
| Slow generation | Reduce steps (20-30), use efficient sampler (Euler a) |
| Model not loading | Ensure .safetensors file is in correct folder |
| WebUI not opening | Check Python added to PATH, restart computer |
Next Steps After Installation
Once you have Stable Diffusion running locally:
- Join communities: r/StableDiffusion on Reddit, Civitai forums
- Learn prompting: Experiment with different phrasings, negative prompts
- Try extensions: ControlNet for pose control, ADetailer for face fixes
- Explore workflows: img2img, inpainting, upscaling
- Share your work: Get feedback, learn from others
Ready to begin? Choose your platform guide:
- Windows Installation Guide (Forge Recommended)
- Mac Installation Guide (Draw Things Easiest)
- Linux Installation Guide (A1111 & ComfyUI)
Frequently Asked Questions (FAQ) for Stable Diffusion Local Installation
Getting Started & Platform Choice
I’m a complete beginner. What is the absolute easiest way to start?
The easiest way is to use Draw Things from the Mac App Store if you have an Apple Silicon (M1/M2/M3/M4) Mac. It’s a native app that doesn’t require terminal commands, letting you start generating images in 2-5 minutes.
๐ป I’m on Windows/Linux. What do you recommend?
- Windows (with an NVIDIA GPU): Use Forge, an optimized version of the popular WebUI. It offers the best balance of ease, performance, and access to thousands of extensions. Setup takes about 15-30 minutes.
- Linux or for advanced control: Use ComfyUI. It has a steeper learning curve (node-based interface) but offers maximum flexibility, efficiency, and the best support for cutting-edge models like Flux.1.
Is running Stable Diffusion locally really free?
Yes. All the required software is completely free and open-source. Once installed, it runs 100% offline with no generation limits. You just need compatible hardware
Hardware & Performance
๐ก What are the hardware requirements to run this?
- Minimum (Works): NVIDIA RTX 2060 (6GB VRAM) or equivalent, 16GB RAM, 100GB storage.
- Recommended (Good): NVIDIA RTX 3060 (12GB VRAM), 32GB RAM, 500GB SSD.
- For 2026 models (SD 3.5, Flux.1): 12-16GB+ VRAM is recommended.
Can I run this on my laptop?
- Apple Silicon MacBooks with 16GB+ RAM: Yes, use Draw Things for excellent performance.
- Windows laptops with a dedicated NVIDIA GPU (6GB+ VRAM): Yes, Forge works well.
- Computers with only integrated graphics: Not recommended, as generation will be very slow.
Software, Models & Setup
What exactly do I need to download and install?
You need two main things
- The Interface/UI: This is the software you interact with (e.g., Forge, ComfyUI, Draw Things app).
- The AI Models: These are the “brains” (checkpoint files like
.safetensors) that actually generate images. You download these separately from community hubs.
Where can I download models safely?
Always download modern .safetensors files from trusted sources like Civitai.com, Hugging Face, or OpenArt to avoid potential malware.
๐ Should I just use an online service instead?
Local installation is better if you want:
- Complete privacy (your prompts/images never leave your computer).
- No generation limits or monthly fees.
- Full access to all community models and extensions.
Online services are convenient for quick tests but have limits, fees, and content filters.
Troubleshooting
I get a black image or an out-of-memory error. What do I do?
- Black/blank images: Try changing or downloading the correct VAE file in your interface’s settings.
- Out of Memory errors: Lower your generation resolution, use the
--medvramcommand line flag (for Forge/A1111), and close other applications using your GPU. - Slow generation: Reduce sampling steps to 20-30 and use an efficient sampler like “Euler a.”
Your Next Steps
After installation, a great first step is to join communities like r/StableDiffusion on Reddit or the Civitai forums to learn from others. Then, you can explore advanced features like ControlNet for pose control, LoRAs for custom styles, and upscaling to enhance your images.
I hope this FAQ is helpful! If you have a question about a specific step for your operating system, feel free to ask.
