How to Check and Change the MTU in Windows 10

To change the MTU in Windows 10, open Command Prompt as an administrator and run netsh interface ipv4 set subinterface "Wi-Fi" mtu=1480 store=persistent, using your adapter’s name and the size you want. Most home networks work best with the default of 1500, so only change it if you have a reason to.

Applies to: Windows 10. Checked against Microsoft Learn on September 27, 2026.

What MTU is

MTU (maximum transmission unit) is the largest packet your PC sends over a network, in bytes. If it’s larger than your connection allows, packets get split up or dropped. That can make some websites or apps load slowly or not at all. A VPN or some internet connections need a smaller MTU than 1500.

Check your current MTU

  1. Open Command Prompt as an administrator. See how to open Command Prompt in Windows 10.
  2. Run:

netsh interface ipv4 show subinterfaces

  1. Look at the MTU column next to your adapter, such as Wi-Fi or Ethernet.
Windows 10 Command Prompt showing netsh interface ipv4 show subinterfaces with the MTU of each adapter
Run the command (1) and find your adapter’s MTU (2).

Find the right size with ping

  1. In Command Prompt, run this, using a website you normally use:

ping www.example.com -f -l 1472

  1. If you see Packet needs to be fragmented but DF set, lower the number (try 1452, then 1432) and run it again.
  2. When you get normal replies, add 28 to that number. That’s your best MTU. For example, if 1452 works, your MTU is 1452 + 28 = 1480.
Windows 10 Command Prompt showing a ping test that fails at 1472 bytes and works at 1452 bytes
A size that’s too big fails (1). A size that works (2) plus 28 is your MTU.

Change the MTU

  1. In the admin Command Prompt, run this, using your adapter’s name and the MTU you found:

netsh interface ipv4 set subinterface "Wi-Fi" mtu=1480 store=persistent

  1. You should see Ok.
  2. Run netsh interface ipv4 show subinterfaces again to check it.

The change works right away and stays after you restart. To go back to normal, run the same command with mtu=1500.

Change it with PowerShell

Open PowerShell as an administrator and run:

Set-NetIPInterface -InterfaceAlias "Wi-Fi" -NlMtuBytes 1480

To see the current values, run Get-NetIPInterface.

Frequently asked questions

Will a smaller MTU make my internet faster?

Not usually. It only helps if the current MTU is too big for your connection. For other tips, see how to increase internet speed in Windows 10.

How do I test my connection after changing it?

Check your ping to see if it improved. See how to check ping in Windows 10.

Some websites still won’t load. What else can I try?

See how to fix Wi-Fi and network problems in Windows 10.

Microsoft’s references are ping and Set-NetIPInterface. More help is on our Windows Help & Guides page.

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy