How to Change MTU on Windows 11 or 10 (netsh and PowerShell)

To change the MTU on Windows 11 or Windows 10, open Terminal (Admin) and run netsh interface ipv4 show subinterfaces to see your network adapters and their current MTU. Then run netsh interface ipv4 set subinterface "Wi-Fi" mtu=1472 store=persistent, replacing Wi-Fi with your adapter’s name and 1472 with the MTU you want. The change takes effect right away and survives restarts. Most home networks work best at the default of 1500, so only change it if you have a specific reason, like a VPN or a connection that drops large packets.

What MTU is and when to change it

MTU (maximum transmission unit) is the largest packet, in bytes, that your PC sends over a network connection. Ethernet and Wi-Fi use 1500 by default. A lower MTU can help when:

  • You use a VPN or PPPoE internet connection (common with DSL and some fiber), which add extra data to each packet.
  • Some websites load partly or not at all, while others work fine.
  • Your ISP, router, or game recommends a specific value.

Setting MTU too low slows your connection, and a random change rarely improves gaming or download speeds. Find the right value first.

Step 1: Find the best MTU for your connection

  1. Right-click Start and choose Terminal (Admin).
  2. Run ping 8.8.8.8 -f -l 1472. The -f option tells Windows not to split the packet, and -l sets its size.
  3. If you see Packet needs to be fragmented but DF set, lower the number by 10 and try again, like 1462.
  4. When you get normal replies, raise the number a little at a time to find the largest size that works.
  5. Add 28 to that number to get your MTU. For example, 1472 + 28 = 1500, and 1464 + 28 = 1492, which is typical for PPPoE.

Step 2: Check your current MTU and adapter name

In the same window, run:

netsh interface ipv4 show subinterfaces

Note the name in the Interface column, such as Wi-Fi or Ethernet, and its current MTU.

Step 3: Set the new MTU

Run this command, using your adapter name and MTU:

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

You should see Ok. Run the show subinterfaces command again to confirm the change.

Windows Terminal running netsh commands to show and set the MTU for the Wi-Fi interface
(1) Check your adapters and current MTU, then (2) set the new value. (Illustration)

If you use IPv6, set it too: netsh interface ipv6 set subinterface "Wi-Fi" mtu=1492 store=persistent

Change MTU with PowerShell instead

  1. Open Terminal (Admin).
  2. Run Get-NetIPInterface -AddressFamily IPv4 to see adapters and their NlMtu values.
  3. Run Set-NetIPInterface -InterfaceAlias "Wi-Fi" -NlMtuBytes 1492.

How to reset MTU to the default

Run the same command with 1500:

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

Updating or reinstalling the network driver may also reset it.

Troubleshooting

  • “The requested operation requires elevation.” Close the window and open Terminal (Admin) instead.
  • “Element not found.” The adapter name is wrong. Copy it exactly from the show subinterfaces list, including spaces, and keep the quotation marks.
  • No improvement. The problem may be your router or ISP. Many routers have their own MTU setting in the WAN or internet settings.
  • VPN still unstable. Many VPN apps set their own MTU. Check the app’s settings or its support pages.

Frequently asked questions

What’s a good MTU for gaming?

Usually the default 1500, or whatever the ping test shows your connection supports. A lower MTU doesn’t reduce lag and can make things worse.

Can I change MTU in Settings?

No. Windows Settings doesn’t have an MTU option. Some network adapters offer a Jumbo Packet setting in Device Manager, but that’s different and only for local networks that support it.

Does changing MTU need a restart?

No. The change applies immediately. With store=persistent, it also stays after you restart.

Is this the same on Windows 10?

Yes. The netsh and PowerShell commands work the same way on Windows 10 and Windows 11.