Neovim Colors Wrong in tmux
Workaround available macOS, Linux Updated October 21, 2026
Quick answer
Colorschemes look washed-out or different inside tmux because true color (RGB) isn't passed through. Set tmux's default-terminal to tmux-256color and add an RGB terminal-features entry.
Most likely fix: Set the right TERM in tmux.
Symptoms
Colors fine in a plain terminal but wrong inside tmux; :checkhealth warns that neither Tc nor RGB capability is set.
Why it happens
- tmux default-terminal not a 256-color TERM
- Outer terminal's RGB capability not forwarded by tmux
- $TERM mismatch between shell, tmux and terminal emulator
How to fix it
Try these in order — the most common fix is first.
1. Set the right TERM in tmux
- Add set -g default-terminal "tmux-256color" to ~/.tmux.conf
- Restart the tmux server (tmux kill-server)
2. Enable true color passthrough
- Add set -as terminal-features ",xterm-256color:RGB" (match your outer terminal's TERM)
- Older tmux: set -ga terminal-overrides ",xterm-256color:Tc"
3. Test and verify
- Run TERM=xterm-256color nvim outside tmux to compare
- Run :checkhealth inside tmux and confirm the RGB warning is gone
This guide also covers
- neovim colors wrong tmux
- neovim termguicolors tmux
- nvim colorscheme not working in tmux
Still not working?
If Neovim keeps failing, you're not alone. See every Neovim problem users report or the alternatives people switch to.
Other Neovim errors
- Neovim LSP Not Working or Not Attaching
- require('lspconfig') Is Deprecated Warning in Neovim
- Neovim Treesitter Highlighting Not Working
- Neovim Clipboard Not Working (clipboard: No provider)
- Neovim Escape Key Delay in tmux
- Mason Failed to Install Language Server in Neovim
- Why Is Neovim So Slow? (Startup Lag and Large Files)
- Neovim Autocomplete Not Working (blink.cmp / nvim-cmp)
- Neovim Config Broke After Updating to 0.12
- Neovim Python Provider Not Working (pynvim)