EN · $ USD
Minecraft Server Guides

How to Fix Minecraft Server Lag: 12 Checks

7 min read Updated: OyunBulut technical team

In short

To fix Minecraft server lag, first identify the type of lag: if TPS is below 20, the problem is the server; if players stutter while TPS is 20, it's ping or client FPS. For server lag, take a spark profile and check for entity buildup, chunk generation, redstone machines, and heavy plugins, then lower simulation-distance. If tuning isn't enough, you need a RAM and CPU upgrade.

In this guide
  1. Key terms first: TPS, MSPT, and ping
  2. Check 1: Is the lag on the server or the player's side?
  3. Check 2: Rule out network lag
  4. Check 3: Rule out client FPS
  5. Check 4: Take a profile with spark
  6. Check 5: simulation-distance and view-distance
  7. Check 6: Entity buildup
  8. Check 7: New chunk generation
  9. Check 8: Redstone and lag machines
  10. Check 9: Plugins and mods
  11. Check 10: Server software
  12. Check 11: RAM and garbage collection (GC)
  13. Check 12: Are your resources really enough?
  14. Routine maintenance to keep lag from coming back
  15. Quick summary checklist
  16. Next step: The right infrastructure for lag-free growth

Minecraft server lag isn't one problem; it's three separate problems with the same symptom: server lag (TPS drops), network lag (high ping or packet loss), and client lag (low FPS). To find the right fix, you first need to figure out which one you have. The 12 checks in this guide go in order, starting with diagnosis, moving through the most common lag sources, and ending with hardware upgrades.

Key terms first: TPS, MSPT, and ping

  • TPS (Ticks Per Second): The number of game loops the server processes per second. The target and the maximum is 20. Anything below 20 means the server can't keep up.
  • MSPT (Milliseconds Per Tick): How many milliseconds it takes to process a single tick. For 20 TPS, every tick has to finish within 50 ms. Once MSPT goes over 50, TPS starts to drop.
  • Ping: The round-trip time between the player's computer and the server. If ping is high, the player feels delay even when TPS is 20.

Check 1: Is the lag on the server or the player's side?

If you use Paper, Purpur, or Spigot, run this in the console:

tps
mspt

Read the results like this:

SymptomTPS / MSPTLikely source
Broken blocks reappear, mobs teleport, everyone stutters at the same timeTPS below 20, MSPT 50+Server lag
Only some players stutter, others are fineTPS 20Network lag (ping, packet loss)
The screen freezes and the camera stutters, but the game world keeps movingTPS 20Client FPS

Check 2: Rule out network lag

If you get complaints while TPS is 20, the connection is the problem, not the server. Check the ping bars in the player's tab list and ask them to try a wired connection instead of Wi-Fi. If most of your players are in Türkiye, hosting the server in Türkiye naturally reduces latency.

Check 3: Rule out client FPS

If FPS is low on the F3 screen, the problem is on the player's computer. Lowering render distance, using performance mods like Sodium, and turning off heavy shaders usually fixes it. There's nothing to do on the server side.

Check 4: Take a profile with spark

Once server lag is confirmed, stop guessing and start measuring. spark is a profiler that shows which plugin, entity, or process is eating up tick time. It comes built into current versions of Paper; on other server software, you install it as a plugin/mod.

spark tps
spark health
spark profiler start
# wait 2-5 minutes while the lag is happening
spark profiler stop

The stop command gives you a web link. When you expand the lines that take the most time in the report, you'll see the source of the lag by name. We explain how to read the report in detail in our finding Minecraft TPS drops with spark guide.

Check 5: simulation-distance and view-distance

This is usually where the quickest win is. In server.properties:

view-distance=8
simulation-distance=6

Because simulation-distance sets the area where mobs and redstone run, it directly reduces tick load. If you want players to keep seeing far, keep view-distance high and simulation-distance low.

Check 6: Entity buildup

The most common cause of lag is hundreds of entities piling up in one spot: animal farms, dropped items, villager halls, mob farms. To see the entity breakdown across worlds on Paper:

paper entity list

Your options:

  • Lower the spawn-limits values in bukkit.yml.
  • Reduce the entity-activation-range values in spigot.yml; distant mobs get ticked less often.
  • Use merge-radius in spigot.yml to merge dropped items and XP orbs on the ground.
  • Set and announce a rule that caps the number of animals per player.

Check 7: New chunk generation

When players fly into unexplored parts of the map with an elytra or fast mounts, the server keeps generating new chunks, which strains the CPU. The fix is to pre-generate the world and set a world border:

worldborder set 10000
chunky radius 5000
chunky start

Run Chunky pre-generation during hours when few players are online. For details, see our world pre-generation with Chunky guide.

Check 8: Redstone and lag machines

Always-on clock circuits, hundreds of chained hoppers, and fast piston machines quietly push MSPT up. If Hopper, Piston, or block updates are near the top of the spark report, this is why. To deal with deliberate lag machines:

  • Review the hopper and redstone optimization options in the Paper configuration.
  • Set rules that cap hoppers or machines per player.
  • Find the problem area from the coordinates in the spark report and contact its owner.

Check 9: Plugins and mods

If a single plugin takes most of the tick time in the spark report, update it, review its settings, or look for an alternative. Plugins that run synchronous database queries, scan every player every tick, or are no longer maintained are the usual suspects. To test a plugin, stop the server and temporarily move its jar out of the plugins folder.

Check 10: Server software

The Vanilla server jar has no performance optimizations. On a plugin server, using Paper or the Paper-based Purpur makes a noticeable difference even without changing any settings. Before switching to Paper, make sure your plugins are compatible and that you've backed up your world.

Check 11: RAM and garbage collection (GC)

Periodic freezes lasting a few seconds are usually Java garbage collection pauses. If spark health shows memory usage constantly near the limit or long GC times:

  • Use Aikar's flags in your startup line and set -Xms and -Xmx to the same value.
  • Don't give all of your plan's RAM to Java; leave room for the operating system and Java's off-heap usage.
  • If memory keeps filling up, it's a capacity problem, not a tuning problem.

For details on the parameters, see our JVM settings with Aikar's flags guide.

Check 12: Are your resources really enough?

If you've applied the optimizations above but MSPT still climbs as player count grows, RAM hits the ceiling, and the spark report shows general load instead of a single culprit, your server has simply outgrown its plan. Although Minecraft's main loop runs largely on a single thread, chunk generation, networking, GC, and plugins' async tasks benefit from extra cores.

Situation (guideline)Suitable starting point
Small group, vanilla or light Paper2-6 GB RAM
Plugin survival with 20-40 players8-12 GB RAM
40+ players, many plugins, or a modpack16 GB RAM and 6+ cores

For busy plugin servers and modpacks, the OB-MC-5 Minecraft server with 6 CPU cores, 16 GB of RAM, and 80 GB of NVMe SSD storage gives you a solid foundation to keep growing once you've cleaned up your lag sources. To see which tier your current plan falls into, compare the Minecraft server plans.

Routine maintenance to keep lag from coming back

Lag usually doesn't hit all at once; it builds up over weeks. This short routine helps you catch problems before players complain:

  • Weekly TPS check: Note the tps and mspt values at your busiest hour. MSPT creeping up week over week is the first sign of a growing farm or machine.
  • Plugin updates: Update plugins one at a time, not all together, and take a short spark profile after each update. That way you immediately find the version that hurts performance.
  • Disk space: A nearly full disk slows down world saves and log writes. Regularly clear old logs archives and unneeded world backups from the server folder.
  • Rules: Write down rules for animal counts, hopper counts, and chunk loader use, and share them on the server's Discord. Community rules prevent lag just as much as technical limits do.
  • Restarts: A scheduled restart once a day, at an hour when few players are online, resets the memory fragmentation that builds up on long-running servers.

Quick summary checklist

  1. Measure TPS and MSPT.
  2. Rule out ping problems.
  3. Rule out client FPS.
  4. Take a profile with spark.
  5. Lower simulation-distance.
  6. Clear entity buildup.
  7. Pre-generate the map.
  8. Limit redstone and hopper load.
  9. Find heavy plugins.
  10. Switch to Paper or Purpur.
  11. Fix JVM and RAM settings.
  12. Upgrade resources if needed.

Next step: The right infrastructure for lag-free growth

Tuning fixes most lag, but past a certain point, player count and plugin load need more hardware. OyunBulut Minecraft plans run in our Istanbul data center and come with NVMe SSD storage, DDoS protection, and a web panel; if you run into problems, you can get support through a support ticket. If your server has outgrown its current plan, consider moving to the OB-MC-5 plan with 16 GB of RAM, or browse other Minecraft server plans to match your needs.

Frequently asked questions

What should TPS be on a Minecraft server?

The ideal and maximum value is 20 TPS. Short dips to 18-19 go unnoticed by most players, but anything below 15 means noticeable lag.

How do I tell server lag from ping lag?

Run the tps command in the console. If TPS is below 20, the problem is the server; if TPS is 20 and only some players stutter, the problem is their connection.

Does adding RAM fix lag?

Only if memory is actually running out. If the lag comes from entities, redstone, or a plugin, adding RAM won't make a difference; find the source with spark first.

How do I find the plugin causing lag on my Minecraft server?

Run spark profiler start during the lag for a few minutes, then open the report with spark profiler stop. The plugin eating up the most tick time shows up near the top of the report.

What should simulation-distance be set to?

On busy servers, around 5-6 is a good starting point. view-distance can stay higher so players can still see far.

For this guide

Recommended plans

If resources still fall short after tuning, OB-MC-5 with 6 cores and 16 GB of RAM gives busy plugin servers and modpacks the headroom they need to grow without lag.

OB-MC-5

Recommended

16 GB RAM

$12.58/mo

+VAT

  • Processor6 CPU
  • Disk80 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

2 GB RAM

$3.54/mo

+VAT

  • Processor2 CPU
  • Disk20 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

6 GB RAM

$5.31/mo

+VAT

  • Processor4 CPU
  • Disk45 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

Minecraft — tüm paketler

Need help with setup?

Send questions about your service in a support ticket, and our technical team will walk you through it step by step.