How to fix lag on a Minecraft server

Problems and errors · updated 27 November 2026

First find out whether the server is lagging or the player's connection. The server works in ticks, and a healthy one does 20 of them per second (20 TPS). If TPS drops, the server is lagging and everyone feels it.

How to check TPS

On Paper type tps in the console. A result close to 20 is fine, below 15 players feel lag.

If TPS is good and only one player is lagging, the problem is most likely on their side: their internet, Wi-Fi or a slow computer.

Find the cause with the Spark plugin

Install the Spark plugin in the Plugins tab and type:

spark profiler start

Wait a few minutes while the lag happens, then type spark profiler stop. You will get a link to a report that shows what takes up most of the server's time: a specific plugin, mobs, farms or world generation. If you do not know how to read it, send the link on our Discord and we will help you analyse it.

What helps most often

  1. Paper or Purpur instead of Vanilla (how to switch). They are much more efficient with the same amount of RAM.
  2. Lower view-distance and simulation-distance in server.properties, e.g. 8 and 6. This is one of the most effective changes.
  3. Pregenerating the world with Chunky, so the server does not generate terrain while people play.
  4. Fewer mobs and items on the ground. Big farms, hundreds of animals in one place and thousands of dropped items put a heavy load on the server.
  5. Up-to-date plugins, and removing the ones you do not use.

The full list of settings, with examples for bukkit.yml, spigot.yml and paper-world-defaults.yml, is in the Minecraft server optimization guide.

RAM

If the console shows that the server uses almost all of its allocated RAM and TPS drops, the server may need a bigger plan. Keep in mind that Java takes a lot of memory even when everything works well. High RAM usage without TPS drops is not a problem. More in the guide how much RAM a Minecraft server needs.

Frequently asked questions

Does more RAM always help?

No. If one plugin or a huge farm is to blame, extra memory will change little. Check the Spark report first.

The lag always starts at the same time of day.

Check whether a backup is being made at that time or a task in Schedules is running.