League of Legends Config: game.cfg, and the Teamfight Drop

League runs at a high frame rate on almost anything, which is why most optimisation advice for it is pointless. The thing worth fixing is narrower and more annoying: the moment five people use their abilities at once and your frame rate falls through the floor.

Last updated 1 August 2026 · League of Legends, Riot proprietary engine

Where the League config folder is

It is inside the game install, not in your documents or app data. Look for a Config folder in:

Riot Games\League of Legends\Config

Usually on your system drive, though the Riot installer lets you put it anywhere, so check where you actually installed it. The file you want is game.cfg.

You will see a second file called PersistedSettings.json in the same folder. That one holds keybinds, HUD scale and interface preferences. Leave it alone — everything on this page is in game.cfg, and the JSON file is the one that will lose you your keybinds if it goes wrong.

Unlike CS2 or Apex, there is nothing to create and no launch option to add. The file is already there and already read; you are changing values, not introducing a mechanism.

Why your edits keep disappearing

Because the client writes the file when it closes, not when it starts. Edit it while any part of League is running and your version is replaced by the client's on exit.

This catches nearly everyone, and it is not obvious, because "close the game" is not enough — the launcher and the client are separate processes and the client is the one that saves. So:

  1. Quit the game and the client. Fully — check the system tray.
  2. Open Task Manager and confirm nothing named League or Riot is still running.
  3. Now edit and save game.cfg.
  4. Start the client. Your values are in place.

One more thing that undoes your work: changing any video setting in game afterwards makes the client rewrite the whole file on exit, including the keys you added. Set the file, then leave the video menu alone.

The teamfight drop, and the keys that address it

Less than in a shooter, and not in the way people mean. Your average is already high on almost any machine, so what is worth fixing is the drop during teamfights.

What happens in that moment is not a graphics load in the usual sense. Five champions cast abilities, and each one spawns particle systems, each with its own lighting and its own draw call. League's renderer is old and does much of that work on a single CPU thread, so the spike lands on your processor rather than your graphics card. That is why someone with a modern GPU still stutters in a fight: the GPU was never the problem.

Which makes the useful settings the ones that reduce work rather than resolution:

KeyWhat it doesWorth it?
EnableParticleOptimizations=1 Lets the renderer batch and simplify particle work. Aimed squarely at the many-abilities-at-once case. Yes — the single most relevant key here
EnableThreadedRendering=1 Moves render submission off the main thread. Helps precisely because the spike is CPU-side. Yes, on any multi-core CPU
WaitForVerticalSync=0 V-sync off. Caps you to your refresh rate and adds a frame of latency when on. Yes, use a frame cap instead
AdaptiveFrameCap=0 Stops the client lowering your cap on its own, which it does to save power and which shows up as inconsistent frame time. Yes, and almost nobody knows it exists
EnableGrassSwaying=0 Static grass. Animation you never look at, in the parts of the map you walk through. Free, if small

The frame cap itself is set with FrameCapType, which takes a mode number rather than an FPS value — one mode is a fixed cap, another is uncapped. The numbers have moved between patches, so the safe approach is to set your cap in the video menu first, close the client, then look at what number ended up in the file and keep it.

League has less to gain than a shooter, and the gain there is depends on your CPU. Our generator writes the file against your actual parts — from €1.49 for one game.

See the plans

How much this is worth: the honest answer

Of the games we write configs for, League has the least to gain, and you should know that before you spend an evening on it.

The reason is structural, not a criticism. The engine is old and light, it was never demanding, and Riot has already tuned it for machines far below yours. There is no hidden renderer to unlock and no equivalent of an Unreal [SystemSettings] block that reaches past the menu. What you have is a modest list of documented keys, two of which are genuinely worth setting.

So calibrate what you expect: this is a consistency change, not a frame rate change. If your average is 240 and it falls to 90 in fights, the goal is to make that floor higher. Your average may not move at all, and that is the change working as intended rather than failing.

If a guide promises you a large FPS increase in League, check whether the before number was taken in the practice tool with nothing happening. That is where large percentage gains come from, and it is not where you play.

What a config cannot fix

Three things people try to solve here that are not settings problems:

Is editing game.cfg safe?

Yes, and the reasoning is the same as for any config file. game.cfg is the game's own settings store. The client writes to it every time you close, and every value in it is one the game put there or would accept from its own menu. Nothing is injected, no game file is patched, and no external program runs.

Anti-cheat looks for software reading or writing the game's memory and for programs sitting between you and the game. A settings file the client itself maintains is neither of those, which is also the reason to keep your changes inside it rather than reaching for a third-party tool.

The reversibility test: delete game.cfg, start the client, and it writes a fresh default one. There is no state to clean up, which makes this the safest file on this site to experiment with — you cannot lose anything except the video settings you would set again in a minute.

Editing it yourself, in four steps

  1. Close the game and the client completely, and confirm in Task Manager. This is the step that matters most, for the reason above.
  2. Copy game.cfg somewhere else first. It takes two seconds and it is your undo.
  3. Open the original in Notepad. Change values in place, keep the [General] and [Performance] headers exactly as they are, and add nothing the file did not already contain.
  4. Start the client, load a practice game, and check your video settings match what you wrote. If they do not, something was still running when you saved.

Then leave the video menu alone. Every visit to it rewrites the file on exit, which is the quiet way this work gets undone a week later without you connecting the two.

Where the numbers come from

The keys above are the general case. The ones that depend on your machine are the frame cap, which has to relate to what you sustain and to your refresh rate, and the quality steps, which depend on how much headroom your CPU has during a fight.

That is the part a guide cannot do for you, and it is what our generator does — you enter your CPU, GPU, RAM, resolution and refresh rate, and it writes game.cfg with those values filled in, plus a report explaining each line. Same keys as above, arithmetic done against your parts rather than a generic machine.

Want it written for your exact hardware?

Pick a plan, enter your specs, download the file. Same keys as this page, with the numbers worked out against your parts and a report explaining every line.

League of Legends from €1.49

See the plans
No account needed One-off payment, no subscription Refund if it does nothing for you Delete the file to reset it
Or start with the free bottleneck calculator to see whether your CPU or GPU is the limit.