Emacs Slow Startup

Share
Workaround available Windows, macOS, Linux Updated November 14, 2026Based on 4 user reportsHow we research

Quick answer

Emacs starts slowly when init loads too many packages eagerly or native compilation runs at launch. Defer packages, byte-compile, and run Emacs as a daemon with emacsclient.

Most likely fix: Find what is slow

How to fix it

Try these in order — the most common fix is first.

  1. 1. Find what is slow

    1. Run M-x emacs-init-time
    2. Profile with M-x profiler-start before loading init, or use the benchmark-init package
    3. Remove or defer the biggest offenders
    Did this fix it?
  2. 2. Defer package loading

    1. With use-package, add :defer t or :commands
    2. Use autoload and eval-after-load instead of require
    3. Move heavy setup into hooks that fire on first use
    Did this fix it?
  3. 3. Run Emacs as a daemon

    1. Start with emacs --daemon
    2. Open files with emacsclient -c or emacsclient -t
    3. The init cost is paid once per login
    Did this fix it?
  4. 4. Tame native compilation

    1. Set native-comp-async-report-warnings-errors to nil
    2. Let the first launch finish compiling; later launches are faster
    3. If memory is a problem, test with native compilation disabled
    Did this fix it?

Symptoms

Seconds pass before the first window is usable, the *Messages* buffer shows long load times, or the CPU spikes right after launch.

Why it happens

  • Packages loaded eagerly with require instead of being deferred
  • Native compilation of packages running in the background after launch
  • A very large init file or many customization files
  • Many packages loaded at startup on slow disks or Windows

This guide also covers

  • emacs slow startup
  • why is emacs so slow to start
  • emacs startup time

Still not working?

If GNU Emacs keeps failing, you're not alone. See every GNU Emacs problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

The same problem in other apps

All slow, laggy or resource-hungry guides →

Other GNU Emacs errors