Fix Minecraft Server Lag: TPS, Ping and FPS
Updated 2026-11-27
"Lag" means three different problems, and each has its own fix. Work out which one you have before changing anything.
| What you see | Kind of lag | Where to look |
|---|---|---|
| Everyone lags at the same time, blocks come back after you break them, mobs freeze and jump | Server lag (low TPS) | The server |
| Only some players lag, others are fine; rubber-banding when you walk | Network lag (high ping) | The connection between player and server |
| The picture stutters or is slow, but blocks break instantly | Client lag (low FPS) | The player's own computer |
Server lag: measure TPS and MSPT
The server runs 20 ticks per second (TPS). Each tick has 50 milliseconds; when ticks take longer (MSPT above 50), the whole game slows down for everyone.
- On Paper, Purpur and Spigot:
/tpsshows the average over the last 1, 5 and 15 minutes. Paper also has/mspt. - On vanilla 1.20.3 and newer:
/tick queryshows the tick rate and how long ticks take.
TPS of 19 to 20 is healthy. If it drops while players complain, the server is the problem.
Find the cause with spark
spark is a free profiler that shows exactly what is using the server's time. Recent Paper versions include it; on other software install the spark plugin or mod.
- Wait until the lag happens, then run
/spark profiler start. - Let it run for a few minutes while players are on.
- Run
/spark profiler stopand open the link it prints. - Expand the busiest entries. Plugin and mod names in the tree show you who is responsible.
Measure before and after every change, so you know what actually helped.
Common causes of low TPS
- Too many entities: big mob farms, item piles and villager halls. On Paper,
/paper entity listshows the entity counts in your current world; add a type, like/paper entity list minecraft:villager, to see the busiest chunks. Then limit the farms there. - Chunk generation: players exploring new land is expensive. Pre-generate the world with a plugin like Chunky and set a world border.
- Distance settings: lower
simulation-distanceto 6 or 8 first, thenview-distance. Our server.properties generator explains both. - One heavy plugin or mod: spark points at it. Update it, configure it, or replace it.
- Redstone and hoppers: large clocks and hopper chains run every tick.
- Memory: if spark shows long garbage collection pauses, check the memory settings. Too little RAM makes Java collect constantly; see the RAM calculator.
Network lag
Ping is the time a packet takes to the server and back. Under 80 ms feels smooth; above 150 ms players notice. Distance is the main factor: a server in Europe will always feel slow from Australia. Choose a server location close to most of your players. If ping is fine but players still rubber-band, look for packet loss on their connection (Wi-Fi is often the culprit) or an attack on the server.
Client lag (FPS)
- Lower the render distance and turn off fancy graphics.
- On Java, performance mods like Sodium (Fabric) raise FPS a lot.
- Give the game 2 to 4 GB in the launcher under Installations, JVM arguments. More rarely helps.
- The F3 screen shows your FPS in the top-left corner.