Your default gateway IP is the address your devices use to leave your home network and reach the internet

When you open a web browser or send an email, your device doesn't know how to get that data to Google's servers or your email provider's computers. It sends the traffic to a single address first — your default gateway. That address is almost always your router, and it's usually something like 192.168.1.1 or 192.168.0.1. The gateway is the doorway between your private home network and the public internet.

Understanding what your default gateway does matters for security because it's the first place an attacker would target if they wanted to control your entire network. If someone changes your gateway settings, they can intercept all your traffic, redirect you to fake websites, or block your internet entirely. Knowing where to find your gateway and what it should look like is one of the simplest ways to catch tampering early.

Key Takeaways

  • Your default gateway is the IP address of your router, and every device on your network uses it to reach the internet.
  • The most common default gateway addresses are 192.168.1.1 and 192.168.0.1, and you can find yours by checking your router's label or your device's network settings.
  • Attackers who change your gateway settings can redirect your traffic, steal passwords, or block your internet, so checking it occasionally is a basic security habit.
  • Your gateway's username and password are usually printed on the router itself, and changing them from the factory defaults is one of the first steps in securing your network.

How to find your default gateway address

The easiest way is to look at your router itself. Most routers have a sticker on the bottom or back that lists the default gateway address, the username, and the password. It will say something like "Gateway: 192.168.1.1" or "Admin URL: 192.168.0.1". Write down what you see.

If you can't find the sticker or it's worn off, you can find your gateway through your device's network settings. On Windows, open Command Prompt and type ipconfig, then look for the line that says "Default Gateway" — the address next to it is what you need. On Mac, go to System Settings, click Network, select your Wi-Fi connection, and click Details — your gateway will be listed under "Router". On an iPhone or iPad, go to Settings, Wi-Fi, tap the network you're connected to, and look for "Router".

Why attackers target your gateway

Your router sits between your devices and the internet, which means it sees every piece of data that leaves your home network. If an attacker gains access to your gateway, they can see passwords you type, intercept emails, redirect you to fake banking websites, or inject malware into the pages you visit. They can do all of this without touching your individual devices.

The most common way attackers get into a gateway is through the admin panel — the settings page you reach by typing your gateway address into a browser. If you haven't changed the username and password from the factory defaults (often "admin" and "admin" or "admin" and "password"), anyone on your network or anyone who can guess your Wi-Fi password can log in and change your settings.

Changing your gateway's default password

Log into your router by typing your gateway address into a web browser — for example, type 192.168.1.1 into the address bar. You'll be asked for a username and password. Enter the defaults from your router's sticker or manual.

Once you're logged in, look for a section called Settings, Administration, or Security. Find the option to change the admin password and create a new one that's at least 12 characters long and includes numbers, uppercase letters, and symbols. Write it down in a password manager like Bitwarden or 1Password, not in a notebook. Then save your changes and log out.

Some newer routers will force you to change the default password the first time you set them up. If yours did that, you're already ahead — just make sure the password you created is strong and unique.

What to check if your gateway settings look wrong

If you notice your internet is slower than usual, websites are redirecting to strange pages, or you're seeing security warnings that don't seem real, log into your gateway and check a few things. Look at the WAN settings (the settings for your connection to the internet) and make sure the IP address and DNS servers match what your internet provider gave you. If they don't, someone may have changed them.

Check the list of connected devices and see if there are any you don't recognize. Look at the Wi-Fi settings and confirm your network name and password are what you set them to. If anything looks different, change your admin password when ready, then contact your internet provider to ask if the settings are correct.

You don't need to check these things every day, but doing it once every few months takes five minutes and can catch tampering before it causes real damage.

The difference between your gateway and your DNS server

Your default gateway and your DNS server are two different things, and attackers sometimes change one or both. Your gateway is the address your device sends traffic to in order to reach the internet. Your DNS server is the address your device sends requests to when you type a website name — it translates "google.com" into the actual IP address where Google's servers live.

If an attacker changes your DNS server, they can redirect you to fake websites even if you type the real address. For example, they could make your browser go to a fake bank login page when you type your real bank's address. Most home networks use the DNS servers provided by your internet provider, but you can also use public DNS services like Cloudflare (1.1.1.1) or Google (8.8.8.8). If you want to change your DNS, do it in your gateway's settings, not on individual devices — that way all your devices use the same, safer DNS.

Frequently Asked Questions

What if I forgot my router's admin password?

Most routers have a reset button on the back that you can hold for 10 to 15 seconds to restore factory defaults. This will erase all your custom settings, including your Wi-Fi password, so you'll have to set everything up again. Check your router's manual for the exact reset procedure, as it varies by model.

Is 192.168.1.1 always the default gateway?

No. Most home routers use either 192.168.1.1 or 192.168.0.1, but some use 10.0.0.1 or other addresses. The sticker on your router will tell you which one yours uses. If you're not sure, use the ipconfig or network settings method to find it.

Can I change my default gateway address?

Yes, but there's usually no reason to. Changing it makes your network harder to manage and can confuse devices that are trying to connect. Leave it at whatever address your router came with unless you have a specific reason to change it.

Do I need to log into my gateway often?

No. You only need to log in when you're setting up your network, changing your password, checking for unauthorized devices, or troubleshooting a problem. Most people can go months without logging in.

What should I do if I see an unfamiliar device connected to my gateway?

First, check with everyone in your household — it might be a guest's phone or a smart home device you forgot about. If you don't recognize it and no one claims it, change your Wi-Fi password when ready and check your gateway's admin password. If unfamiliar devices keep appearing, your Wi-Fi password may be weak or your router may have a security flaw — check the manufacturer's website for firmware updates.