Why Is Neovim So Slow? (Startup Lag and Large Files)
Workaround available Windows, macOS, Linux Updated October 21, 2026
Quick answer
Neovim itself is fast; slowness almost always comes from plugins, syntax/Treesitter on huge files, LSP in big projects, or a slow terminal. Compare with nvim --clean, then profile.
Most likely fix: Confirm it's your config.
Symptoms
Startup taking seconds, typing lag, freezes on save, or stutter in large files.
Why it happens
- Too many eagerly-loaded plugins
- Heavy highlighting on very large files
- LSP or formatter doing work on every save
- Slow terminal emulator or a Debug build
How to fix it
Try these in order — the most common fix is first.
1. Confirm it's your config
- Run nvim --clean (or nvim -u NORC) and compare
- If clean is fast, bisect plugins by disabling half at a time
2. Profile startup
- Run nvim --startuptime startup.log and check the slowest entries
- With lazy.nvim, open :Lazy profile
- Lazy-load plugins by filetype, command or key
3. Handle big files
- Use a big-file plugin (e.g. bigfile.nvim) that disables Treesitter/LSP above a size threshold
- Or turn off highlighting for that buffer (:syntax off, or :lua vim.treesitter.stop())
4. Check build and terminal
- Run :version and make sure the build type is Release/RelWithDebInfo, not Debug
- Use a fast GPU terminal such as kitty or alacritty
This guide also covers
- why is neovim so slow
- neovim slow startup
- neovim lag large file
- neovim freezes on save
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 Colors Wrong in tmux
- Neovim Escape Key Delay in tmux
- Mason Failed to Install Language Server in Neovim
- Neovim Autocomplete Not Working (blink.cmp / nvim-cmp)
- Neovim Config Broke After Updating to 0.12
- Neovim Python Provider Not Working (pynvim)