Minecraft Stuttering Fix: Stop Lag Spikes and FPS Drops
Published
On this page
Minecraft can run at hundreds of FPS and still feel choppy, because most of its stutter comes from Java garbage collection, render distance, and chunk loading rather than a weak GPU. This guide fixes Minecraft stuttering and lag spikes on PC — for both Java and Bedrock editions — so movement and building feel smooth.

Work top to bottom — the RAM and render-distance fixes solve most cases before you touch anything else.
Java vs Bedrock: different causes
- Java Edition stutter is mostly JVM garbage-collection pauses, wrong RAM allocation, high render distance, and the default renderer. Mods fix most of it.
- Bedrock Edition stutter is usually render distance, drivers, and background apps — there’s no RAM slider to tune, so the fixes are simpler.
Most of this guide is Java-focused because that’s where the stutter usually lives; Bedrock players can skip to the render-distance, driver, and Windows sections.
Java: allocate the right amount of RAM
More RAM is not better. Over-allocating makes the garbage collector pause longer when it runs, which shows up as a periodic freeze.
- In the launcher, open Installations → your profile → More Options.
- Set
-Xmxto a sensible amount:- Vanilla / light packs:
4G - Medium modpacks:
6G–8G - Only go higher if you get out-of-memory crashes.
- Vanilla / light packs:
- Leave several GB free for Windows and other apps.
If you’re on a big modpack and still see periodic freezes, the JVM’s garbage collector is the cause — the mods below help more than raw RAM.
Java: install Sodium (the biggest single fix)
For Java Edition, Sodium rewrites the rendering engine and cuts frame-time spikes more than any setting.
- Install Fabric (mod loader).
- Add Sodium (rendering), Lithium (game logic / tick performance), and FerriteCore (memory use).
- Launch and test — 1% lows usually improve immediately.
If you want shaders, use Iris alongside Sodium. Prefer OptiFine? It also helps and adds shader support, but Sodium generally gives steadier frame pacing.
Lower render distance and cap FPS
High render distance forces constant chunk generation, the number-one source of movement stutter on both editions.
| Setting | Recommended value |
|---|---|
| Render Distance | 12–16 chunks |
| Simulation Distance | 8–10 chunks |
| Max Framerate | Cap just below refresh |
| VSync | Off |
| Graphics | Fast |
| Smooth Lighting | Off if still hitching |
Uncapped FPS lets the engine render ahead and spike between chunk loads. Cap it: 141 for 144 Hz, 237 for 240 Hz, 117 for 120 Hz.
Update your GPU driver and force the right GPU
- Install the latest stable GPU driver.
- If stutter started after a driver update, roll back to the previous version, or clean-install with DDU.
- On laptops, force Minecraft (and
javaw.exefor Java) onto the discrete GPU in Windows Graphics settings — integrated-GPU fallback is a common cause of Minecraft stutter on laptops.
Install Minecraft on an SSD
Chunk data streams from disk as you move. On a hard drive, that turns into traversal hitching. Move the game (and its world saves) to an NVMe or SATA SSD and keep 15–20% free space.
Windows fixes worth trying
- Enable Game Mode (Settings → Gaming → Game Mode → On).
- Disable unnecessary startup apps and overlays — see Disable Xbox Game Bar and Game DVR.
- Set the Windows power plan to High Performance — see Best Windows Power Plan for Gaming.
- Close browsers and capture tools while playing.
For smoother movement and steadier frame delivery, also read The Ultimate Guide to Timer Resolution for Gaming — lowering the Windows timer from 15.6ms to 0.5ms tightens the scheduler that paces your frames, which helps the micro-stutter that lingers after garbage-collection and chunk spikes are handled.
If shaders are causing the stutter
Shaders are VRAM- and GPU-heavy, so hitching with shaders on is usually a load problem:
- Lower the shader preset.
- Drop render distance to 12 chunks.
- Make sure your GPU has VRAM headroom (watch it with an FPS/VRAM overlay).
- If it only stutters with shaders, that’s expected load — not a general optimization bug.
Related guides
- Minecraft Lowest Input Lag Settings
- Minecraft Stretched Resolution Guide
- How to Fix Lag Spikes in Games
- The Ultimate Guide to Timer Resolution for Gaming
Most Minecraft stutter comes down to three things: right-sized RAM allocation, a performance mod like Sodium on Java, and a sensible render distance on an SSD. Fix those before blaming your hardware.
Frequently asked questions
Why does Minecraft stutter and lag spike on a good PC?
Minecraft stutter is rarely about raw GPU power. Java Edition runs on the JVM, so most lag spikes come from garbage collection, wrong RAM allocation, or high render distance forcing constant chunk loading. On a strong PC the fix is usually allocating a sensible amount of RAM (not too much), lowering render distance a step, and installing a performance mod like Sodium rather than upgrading hardware.
How much RAM should I allocate to Minecraft?
For vanilla or light modpacks, 4 GB is plenty; 6-8 GB covers most medium modpacks. Allocating too much RAM actually makes stutter worse because the Java garbage collector pauses longer when it finally runs. Leave enough for Windows and other apps, and only raise allocation if you see out-of-memory errors, not to chase smoother frames.
Does Sodium or OptiFine fix Minecraft stutter?
For Java Edition, Sodium is the single biggest smoothness upgrade — it rewrites the rendering engine and dramatically cuts frame-time spikes, especially with the Lithium and FerriteCore mods alongside it. OptiFine also helps and adds shader support, but Sodium generally produces steadier 1% lows. On Bedrock Edition you don't need either; focus on render distance and driver updates instead.
How do I stop Minecraft lag spikes when loading new chunks?
Chunk-loading hitches come from generating and streaming terrain as you move. Lower render distance to 12-16 chunks, install the game on an SSD, and cap your frame rate just below your refresh rate so the engine isn't rendering ahead. On Java, Sodium plus the Lithium mod smooths the chunk-generation spikes the most.
Why does Minecraft stutter with shaders installed?
Shaders are extremely GPU-heavy and often push VRAM to its limit, which turns into hitching rather than a clean FPS drop. Lower the shader preset, reduce render distance, and make sure your GPU has VRAM headroom. If stutter only appears with shaders, that's a GPU/VRAM load problem, not a general Minecraft optimization issue.