Reduce game network latency in Windows 7 or Vista


After installing Windows 7 I noticed a slight increase in network latency in several online games. It wasn’t a big deal – I’m talking 200-300ms, but this is on a connection that was reliably < 100ms in the past. Beyond the obvious settings in Windows or on your router, here’s a list of tweaks that may help quite a bit. It involves disabling Nagle’s algorithm, also commonly known as TCP no delay, which is basically an optimization of network traffic that tries to reduce overall packet volume but can cause extra latency in the connection. This should work on Windows 7 or Vista, though the same principle can probably applied to other operating systems as well.

  1. From a command prompt (usually in All Programs -> Accessories -> Command Prompt) run “regedit”
  2. Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces
  3. Browse the items under interfaces until you find one that has an IPAddress entry matching the network interface you want to affect (typically LAN IP addresses start with 192.168 or 10.0); note that if your IP address is automatically assigned by a DHCP server you may need to look for a matching DhcpIPAddress instead of IPAddress
  4. Right-click on the interface and select New > DWORD (32-bit) Value, name it “TcpAckFrequency”
  5. Right-click the new TcpAckFrequency value and select Modify, enter “1″ (Hexadecimal radio button should be selected)
  6. Right-click on the interface and select New > DWORD (32-bit) Value, name it “TCPNoDelay” (note that TCP is all uppercase this time – that’s intentional)
  7. Right-click the new TCPNoDelay value and select Modify, enter “1″ (Hexadecimal radio button should be selected)
  8. Verify that both TcpAckFrequency and TCPNoDelay now show up in the adapter’s property list with types REG_DWORD and values 0×00000001
  9. Exit regedit and reboot (reboot is necessary for the changes to take effect!)
  10. Play a game and enjoy your new low ping

This decreased my ping in most games from 200-300ms to 50-60ms, which matches the latency I would see via a tracert to the game’s server.

, , , , ,

  1. #1 by john on November 22, 2011 - 7:27 pm

    oh my god..it doesnt work on me win7.core toduo

  2. #2 by john on November 22, 2011 - 7:27 pm

    please help

  3. #3 by Dylan W on November 22, 2011 - 7:30 pm

    hi, I tried this method and it seemed to be a success; no issues but it didn’t change my latency in anyway, my latency is still 200ms on average which is depressing, any ideas on why this is so?

  4. #4 by Philip on November 26, 2011 - 7:27 am

    hi ive done all the steps, but on step 4, there was already a file called TcpAckFrequency and had a 1 hexadecimal and also how do i check if their in my adapters?

  5. #5 by Zenon on December 7, 2011 - 11:43 pm

    OMG its doesn’t work on my Windows7 Ultimate

    Before 24
    After 30

    ( T__T )

  6. #6 by Errold on December 8, 2011 - 12:21 am

    This worked beautifully. Followed the easy steps and instead of seeing a lot of 100-300ms servers on TF2, they reduced to <100ms
    Thanks so much!

  7. #7 by AWESOME!!!! on December 10, 2011 - 12:01 pm

    Thank you so much for posting this! After trying many tweaks and suggestions on how to improve gaming quality on RoadRunner Internet, I was pretty much convinced it wasn’t the service. Glad to see it was actually my computer, and this simple fix took car of my problem. I used to get frequent, HUGE lag spikes when gaming online. I would even get HUGE spikes just playing over LAN. Implemented this on my computer and no lag over LAN anymore, and the frequency and duration of lag when gaming online has dropped so much it’s a rarity now. Thanks! I’m sharing this with all my gamer friends!

  8. #8 by HUNYAIN ZUDDOZAI on December 11, 2011 - 3:27 am

    could,nt understand # 8 how verify ,,, from where???

  9. #9 by HUNYAIN ZUDDOZAI on December 11, 2011 - 3:35 am

    ACTUALLY WHAT THE HELL IS STEP 8 ‘ SIMPLIFY THAT PLZ!!!

  10. #10 by Dustin on December 18, 2011 - 10:42 pm

    HUNYAIN ZUDDOZAI :

    ACTUALLY WHAT THE HELL IS STEP 8 ‘ SIMPLIFY THAT PLZ!!!

    Step 8 is just asking you to look at the screen and make sure the values you created show up in the property list, as in you didn’t accidentally mistype or cancel them. That’s all.

  11. #11 by Dustin on December 18, 2011 - 10:44 pm

    Zenon :

    OMG its doesn’t work on my Windows7 Ultimate

    Before 24
    After 30

    ( T__T )

    If you’re already in the sub-50ms range this isn’t going to help you. Any latency there is going to be caused by something else and pretty unlikely it’s from your client unless you are connecting to some host really close by on your same ISP! The telltale sign of these settings causing an issue is unable to get below the 100ms mark no matter what you do.

  12. #12 by mohammmed on December 26, 2011 - 9:53 pm

    i have i5 2300
    8gb ram
    1tb hard disk
    1080p hd monitor
    1.6 gb graphics
    even though it laggs,even cs 1.6 laggs when i put xp it dosent lagg xp is ment for gaming

  13. #13 by benny on January 11, 2012 - 5:11 pm

    can someone explain to me what step 3 is? thanks.

  14. #14 by Vasilis on January 24, 2012 - 10:05 pm

    hi
    just did it and ping went Double !
    deleted both Keys and Rebooted but still pings are double,,,
    do u have any plan to fix it ??? Ruined my day…

  15. #15 by gutko on January 27, 2012 - 11:43 am

    before 150-200
    after 50

  16. #16 by tgcremo on February 1, 2012 - 11:34 am

    this mainly works with mmorpg’s or other tcp traffic dependant games, all fast action games like FPS’s only use tcp for background communications masterserver browser ect…, all input/output game data uses udp which doesnt require packet acknowledgement. So this will not lower your latency in those type of games. tf2 mw2/3 bf3 ect…

  17. #17 by tgcremo on February 1, 2012 - 11:36 am

    http://windows7forums.com/windows-7-games/6644-windows-7-gaming-latency-fix.html

    this does the same for those that are uncomfortable editing their registry

  18. #18 by Saii on February 21, 2012 - 12:11 am

    it is your internet, you didn’t need to edit just to have low ping.. i try this 2x but still not work.. contact your ISP and tell what your experiencing it can help you really.

  19. #19 by OMFGTHISWORKS on March 2, 2012 - 1:50 am

    i spent over 10 hours then found this article, problem fixed in less then 1 minute (mysterious problem after windows update) my ping went from 268 in BF3 to 61 and Gmod ping went from 209 to 99, im so glad a old article is still alive. also plus made my internet get more then its full 50 megabits /sec

  20. #20 by otosan on March 18, 2012 - 12:40 pm

    Amazing! This even help me to enjoy football streaming smoother! Before do the tweak, the streaming simply keep lagging because of latency, after tweak it become so smooth!

  21. #21 by Wolfen on March 31, 2012 - 9:41 pm

    the only file in the interfaces section is (Default). Help plz? – Step 3

  22. #22 by brian on April 6, 2012 - 1:20 am

    HUNYAIN ZUDDOZAI :
    ACTUALLY WHAT THE HELL IS STEP 8 ‘ SIMPLIFY THAT PLZ!!!

    what he means is make sure the dword value is what it should be which is stated above

  23. #23 by KAMRON on April 16, 2012 - 6:35 pm

    BEFORE 200-350
    AFTER 200-350
    MINE DIDNT CHANGE HELP PLEASE

  24. #24 by Jordan on April 30, 2012 - 2:12 pm

    Thanks reduced by 100

  25. #25 by Ketchupzz on May 5, 2012 - 8:57 pm

    Tried this out and it didnt work..

    It’s strange because on all games on my region or even on new york i get a min of 60 ping and a max of 160.

    But on the game Super Monday Night Combat a get 180 ping on my region servers and 200+ on the others.. i really dont know why that happens only on this game..

  26. #26 by David on May 16, 2012 - 10:17 pm

    OK, I will try it…

  27. #27 by eugene on May 23, 2012 - 10:43 pm

    this is awesome, thanks a lot guys, i did all the things done, and my ping time has been improve to 79ms before that is 180ms+ really helping me up~ thanks again.

  28. #28 by Brian on May 24, 2012 - 11:58 am

    On step four do you right click the word interfaces that hold the files or one of the IP address’s as its this file that holds them. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces\{CBC8D9C4-EC7E-4501-BBC6-3DE01D678F6C}

  29. #29 by XD on May 29, 2012 - 5:00 am

    Thanks! My latency reduced from 200ms to 199ms.

  30. #30 by Dark on June 7, 2012 - 2:03 am

    i just tried this and i dont have any ip addresses in my interface folder… just ALOT of random strings of letters and numbers like 40 of them with no ip addresses anywhere in them

  31. #31 by Bikly on July 2, 2012 - 6:38 am

    Hey, if i run the 64 bit, should i pick the Q_word or D_word?

  32. #32 by ashrey on July 7, 2012 - 10:23 am

    thank u very much, it works :)

  33. #33 by EnergyStar-3 on July 7, 2012 - 10:38 am

    Need help! : can u make this post in german pls? i dont understand it .

    Please anyone post it with german.

  34. #34 by Gamer007 on July 9, 2012 - 12:50 pm

    YEAHHHH! Awesome, now I can own noobs like I KNEW I was able to *sob :’D Thanks!

  35. #35 by Hassan on July 17, 2012 - 6:51 am

    Hi. I am using WIN 7 Ultimate 64-Bit (6.1, Build 7600) on i3 with 4gb ddr3 ram.
    I tried all these methods, did everything as you have said but I couldnt get a low ping. Help me please I find so trouble in playing Online. Thnx

  36. #36 by Andriel on July 19, 2012 - 1:20 pm

    It’s really weird. These results were from World of Warcraft.

    Before regedit:

    Home Latency (325ms)
    World Latency (193ms)

    After regedit:

    Home Latency (300ms)
    World Latency (400ms)

    I’m from Singapore and the WoW server is hosted in Australia if that helps =/

  37. #37 by Nick on August 12, 2012 - 7:56 am

    When you have windows 64 bits you use 64 instead of 32 I suppose?

  38. #38 by hoss on August 25, 2012 - 4:49 am

    Tried it but it didn’t work for me
    Before regedit 300ms
    after regedit 600ms

  39. #39 by Piper on September 18, 2012 - 11:00 am

    For the noobs who are freaking out because it didn’t work (and apparently can’t form words without the assistance of a “speak and spell” judging by the comments they left) removing the tweaks is a simple matter of re-tracing your steps. Navigate back to where you made the changes. Highlight the values, then right click and delete or just press the delete key on your keyboard. Restart and they’re gone. Or you can just change the hex numbers to 0 in the values you added.

  40. #40 by Jon on October 12, 2012 - 11:26 am

    I have done everthing like he said but my laptop seems to take a very long time to load up.

  41. #41 by Sean B on October 13, 2012 - 11:31 am

    Wow this worked great. I was having terrible latency issues in WOW before and now there’s no problem at all

    Before: > 1000ms
    After: 82ms

  42. #42 by Concerned Wow-player on October 20, 2012 - 11:07 am

    Hi! I could really use some help!
    My MS on WoW was usually fairly high due to my crappy connection (I live pretty far away from civilization). Some days it was fine (100-200ms) and some days it was less fine (300-500ms). So the other day I decided to try your method of decreasing latency and it did not work… my latency is now somewhere around 2k-4k and the game is now unplayable… So, got any tips on how to fix this?

  43. #43 by Concerned Wow-player on October 20, 2012 - 1:46 pm

    It’s not just WoW, everything I do online is now much, much slower! Atm i’ve sent 11,6 mil bytes and recieved 462 mil bytes… which is a tremendous differens. I just… I dunno what to do since I basically cannot use the internet anymore. I really, really need help here!

  44. #44 by Thomas Barry on October 23, 2012 - 8:06 am

    worked wonders, from 55-79 ping to 15- max 23……FUCK YEAH!

  45. #45 by mehran on November 11, 2012 - 12:34 pm

    hi work for 64bit seven ?

  46. #46 by s4eed on November 14, 2012 - 5:05 am

    I’m not sure, what type of connection do i get (connecting via ADSL-router, after each reconnect/reboot my IP is changed, so it’s dynamic), so what happens, if i put those lines into both volumes (IP and DHCP adresses are located in separate ones). Also do i need to uninstal the Leatrix Latency Fix that is currently active for my network interfaces?

  47. #47 by Marc on December 3, 2012 - 6:43 pm

    I have all the folders with DhcpIPAddress which one should i choose?

  48. #48 by Sam on December 26, 2012 - 3:27 pm

    I need specifications on step 3 I don’t understand what DHCP is and I don’t know how to find out if my IPaddress is connected to one either.

  49. #49 by Anonymous on January 3, 2013 - 9:14 pm

    Doesn’t work. My best time went from 25 -> 52 and my cross-country time was unchanged at ~160.

  50. #50 by Serkus on January 12, 2013 - 8:02 am

    It’s worked :D
    Before: 60-100ms
    After: 30-40ms

(will not be published)