How to Find Default Gateway on Mac

Kyle Wood

Mac, Tutorials

Have you ever needed to find the default gateway on your Mac? The default gateway is an important network parameter that allows your computer to communicate with other networks. In this tutorial, we will walk you through the steps to find the default gateway on your Mac.

Method 1: Using Network Preferences

To find the default gateway using Network Preferences, follow these steps:

  1. Step 1:

    Click on the Apple menu in the top-left corner of your screen and select “System Preferences”.

  2. Step 2:

    In the System Preferences window, click on the “Network” icon.

  3. Step 3:

    Select your active network connection from the list on the left-hand side, such as Wi-Fi or Ethernet.

  4. Step 4:

    In the right-hand pane, click on the “Advanced..” button.

  5. Step 5:

    In the Advanced window, navigate to the “TCP/IP” tab.

  6. Step 6:


    You will find your default gateway listed next to “Router”.

Method 2: Using Terminal

If you prefer using Terminal, follow these steps to find the default gateway:

  1. Step 7:


    Open the Terminal application. You can do this by searching for “Terminal” in Spotlight or navigating to “Applications > Utilities > Terminal”.

  2. Step 8:

    In the Terminal window, type the following command and press Enter:

    netstat -nr | grep default

  3. Step 9:

    The default gateway IP address will be displayed next to “default”.

Method 3: Using Network Utility

If you prefer a graphical interface, you can use Network Utility to find the default gateway. Here’s how:

  1. Step 10:


    Open Finder and navigate to “Applications > Utilities > Network Utility”.

  2. Step 11:


    In the Network Utility window, click on the “Info” tab.

  3. Step 12:


    Select your active network connection from the list on the left-hand side.

  4. Step 13:


    Your default gateway will be listed next to “Router”.

Congratulations! You have successfully found the default gateway on your Mac using different methods. Whether you prefer using Network Preferences, Terminal, or Network Utility, you can now access this crucial network parameter with ease.

Remember, the default gateway is essential for your Mac to communicate with other networks. Make sure to note down the default gateway address whenever you need it for troubleshooting or advanced network configuration.

Happy networking!

Android - iPhone - Mac

 © 2023 UI-Transitions

Privacy Policy