Best Minecraft Server Settings to Reduce Lag
Low TPS and rubber-banding ruin a server. Here are the settings that actually move the needle — view distance, entity limits, Paper tuning, JVM flags and world pre-generation — to get back to a smooth 20 TPS. A well-provisioned Minecraft server makes most of these easy to hit.
Minecraft "lag" is usually low TPS (the server can't keep up 20 ticks per second) rather than network ping. The biggest causes are too much view/simulation distance, too many entities, unoptimised plugins and not enough (or badly configured) RAM.
Work through these settings in order — most servers see a big jump just from the first three.
What you'll need
A quick checklist before you begin — have these ready and the rest is easy.
- Access to your server.properties and (on Paper) the paper config files.
- The ability to set custom JVM start flags.
- A profiler — Paper's built-in spark (/spark) is ideal.
- Knowing your real bottleneck: low TPS (server) vs high ping (network).
Settings that boost TPS
Lower view & simulation distance
These are the single biggest TPS levers. Drop view-distance to 6–8 and simulation-distance to 4–6 in server.properties. Players barely notice; your server breathes.
view-distance=7 simulation-distance=5
Switch to Paper
If you're on Vanilla or Spigot, move to Paper. It includes dozens of performance patches and a tunable paper-world-defaults.yml for chunk and entity behaviour.
Cap entities and mob spawns
In Paper config, limit per-chunk mob counts and tighten spawn ranges. Huge mob/animal farms and item piles are common TPS killers.
Use Aikar's JVM flags
Don't just set -Xmx. Aikar's flags tune the G1 garbage collector to avoid lag spikes. Set Xms equal to Xmx so the JVM doesn't resize the heap.
java -Xms6G -Xmx6G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -jar server.jar nogui
Pre-generate the world
Generating new chunks as players explore is expensive. Use a plugin like Chunky to pre-generate your world border in advance so exploration is smooth.
Audit your plugins
One badly-written plugin can tank TPS. Use a profiler (Paper's built-in spark) to find the worst offenders, then update or remove them.
/spark profiler --timeout 60
Hardware and hosting
Single-core speed wins
Minecraft is largely single-threaded — high CPU clock beats more cores. Pick a host with fast CPUs.
NVMe storage
Fast disks mean quick chunk loads and saves, reducing stutter on a busy server.
DDoS = lag too
An attack floods your connection and spikes lag. Anti-DDoS keeps traffic clean so TPS stays stable.
Common problems & fixes
Hit a snag? These are the issues people run into most — and how to solve them.
TPS is still low after lowering view distance
Profile with /spark to find the real cause — it's often a heavy plugin or a huge mob/item farm, not view distance alone.
Lag spikes every few seconds
That's usually garbage-collection pauses. Apply Aikar's flags and set Xms equal to Xmx.
Server lags when players explore
New chunk generation is expensive. Pre-generate your world with a plugin like Chunky.
Players have high ping but TPS is fine
That's a network issue, not lag — host closer to players and check routing. See our reduce ping guide.
Skip the setup — host it with ESAGAMES
The fastest fix for hardware-caused lag is better hardware. Our Minecraft hosting runs high-clock CPUs and NVMe behind a multi-Tbps Frankfurt network — smooth TPS, low ping, protected.
Frequently asked questions
What causes Minecraft server lag?
Usually low TPS from too much view/simulation distance, too many entities, unoptimised plugins or poor JVM/RAM configuration — not network ping.
What view distance should I use?
6–8 is a good balance for most servers. Lower it further on big public servers; players rarely notice.
Do Aikar's flags really help?
Yes — they tune the garbage collector to avoid the lag spikes you get from default JVM settings, especially on larger heaps.
How do I find a laggy plugin?
Use Paper's built-in spark profiler (/spark profiler) to see exactly which plugins and tasks consume the most server time.
Does more RAM fix lag?
Only up to a point. Past what your server needs, extra RAM does nothing — CPU speed and good configuration matter more.
Can my host reduce lag?
A host with fast single-core CPUs, NVMe storage and Anti-DDoS removes the hardware and network causes of lag, leaving only configuration to tune.
What is TPS in Minecraft and what causes low TPS?
TPS (ticks per second) is the server's heartbeat — 20 is healthy. Low TPS (the "Can't keep up" warning) means the server can't finish a tick in 50 ms, usually from too many loaded chunks, mob farms, redstone, or a weak CPU. Paper/Purpur tuning and reducing view/simulation distance are the main fixes.
What are Aikar's flags and should I use them?
Aikar's flags are a tuned set of JVM garbage-collection flags (G1GC) that smooth out GC pauses on a Minecraft server. Yes — use them on any server with 4 GB or more; they noticeably reduce lag spikes caused by garbage collection. Pair them with the right -Xmx/-Xms values.
Does Paper or Purpur reduce Minecraft lag?
A lot. Paper (and Purpur on top of it) add extensive performance patches and config options that vanilla and Spigot don't have — chunk loading, entity limits, mob spawning tweaks. Switching to Paper is one of the single biggest lag reductions for most servers.
Keep reading
Minecraft is a trademark of Mojang Synergies AB / Microsoft. ESAGAMES is an independent hosting provider and is not affiliated with or endorsed by Mojang or Microsoft.