How to Find Router IP Address on Windows (5 Easy Methods)
Complete guide for Windows 11, 10, 8, and 7 with step-by-step instructions and screenshots
Quick Answer: Fastest Method
Press Windows + R, type cmd, press Enter, then type:
ipconfig | findstr "Default Gateway"
Your router's IP address will appear next to "Default Gateway"
Table of Contents
Method 1: Using Command Prompt (Recommended)
The Command Prompt method is the fastest and most reliable way to find your router's IP address on any Windows version. This method works on Windows 11, 10, 8, 7, Vista, and even XP.
Step 1: Open Command Prompt
There are several ways to open Command Prompt on Windows:
- Windows 11/10: Press Windows + R, type
cmd, and press Enter - Alternative: Press Windows + X and select "Command Prompt" or "Windows Terminal"
- Search method: Click Start, type "cmd" or "Command Prompt", and click the result
- Run as Administrator: Right-click Command Prompt and select "Run as administrator" (optional)
📸 Screenshot placeholder: Windows Run dialog with 'cmd' typed
Step 2: Execute the ipconfig Command
In the Command Prompt window, type the following command and press Enter:
ipconfig
This command displays basic network configuration information for all network adapters on your computer.
📸 Screenshot placeholder: Command Prompt with ipconfig output
Step 3: Locate the Default Gateway
Look for the section that corresponds to your active network connection (usually "Ethernet adapter" or "Wireless LAN adapter Wi-Fi"). Find the line that says "Default Gateway" - the IP address next to it is your router's IP address.
Example Output:
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 192.168.1.105
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
In this example, 192.168.1.1 is your router's IP address.
Step 4: Filter Results (Optional)
For a cleaner output showing only the default gateway, use this filtered command:
ipconfig | findstr "Default Gateway"
This will display only the default gateway lines, making it easier to spot your router's IP address.
💡 Pro Tip
For even more detailed network information, use ipconfig /all to see comprehensive network adapter details including DNS servers, DHCP settings, and physical addresses.
Method 2: Using PowerShell (Advanced Users)
PowerShell offers more advanced networking commands and better formatting options. This method is particularly useful for system administrators and power users who prefer modern command-line tools.
Step 1: Open PowerShell
Launch PowerShell using one of these methods:
- Windows 11/10: Press Windows + X and select "Windows PowerShell" or "Terminal"
- Search method: Press Windows, type "PowerShell", and click the result
- Run dialog: Press Windows + R, type
powershell, and press Enter
📸 Screenshot placeholder: PowerShell window opening
Step 2: Use Get-NetRoute Command
PowerShell provides several commands to find the default gateway. The most effective is:
Get-NetRoute -DestinationPrefix 0.0.0.0/0 | Select-Object NextHop
This command specifically looks for the default route (0.0.0.0/0) and displays the next hop, which is your router's IP address.
Step 3: Alternative PowerShell Commands
Here are additional PowerShell commands for finding your router's IP:
Simple Gateway Lookup:
(Get-NetRoute | Where-Object {$_.DestinationPrefix -eq "0.0.0.0/0"}).NextHop
Detailed Network Information:
Get-NetIPConfiguration | Select-Object InterfaceAlias, IPv4DefaultGateway