PDF download Download Article
A quick and easy guide for locating your Mac computer’s IP using System Settings or the Terminal
PDF download Download Article

When your Mac is connected to a network, it is assigned an address on the network called an IP address. The IP address is four sets of digits separated by periods, with up to three digits per set. If the Mac is connected to a local network as well as the internet, then it will have an internal IP address which marks its location on the local network, and an external IP, which is the IP address of your internet connection. Follow this guide to find both.

Quick Steps

  1. Go to Apple Menu > System Settings > Network.
  2. Select your connection type, then click Details next to your current network.
  3. Locate your Mac’s private IP address next to the IP address header.
Section 1 of 3:

Finding Your Internal IP in System Settings

PDF download Download Article
  1. In older versions of macOS, click System Preferences instead.
    Advertisement
  2. You’ll see this option in the menu bar on the left side of the window.
    • In older versions of macOS, look for Network in the main System Preferences window.
  3. Typically, you will be connected to the network via Wi-Fi (wireless) or Ethernet (wired). The connection you are using will say Connected next to it. Click on your connection to see more information.
    • In older versions of macOS, your IP address will be listed directly beneath your connection status, in smaller print. You’ll see this as soon as you select your connection.
  4. Once you click your connection type, a new menu will open listing your available networks. The one you’re currently connected to will appear at the top. Click the Details button next to it.
  5. Near the bottom of the Details menu, you’ll see two headers: one that says IP address and another that says Router. The numbers next to these headers are your Mac’s private IP address and your router’s private IP address, respectively.
  6. Advertisement
Section 2 of 3:

Finding Your Internal IP Using the Terminal

PDF download Download Article
  1. The correct command will depend on whether your connection is wireless (Wi-Fi) or wired (e.g., Ethernet or cable).
    • Wi-Fi connection: Type or copy and paste the command ipconfig getifaddr en0, then press Return.
    • Wired connection: Type or copy and paste ipconfig getifaddr en1 and press Return.
  2. Your Mac’s local IP address will be displayed directly below the command you entered.
  3. Advertisement
Section 3 of 3:

Finding Your External IP

PDF download Download Article
  1. You can even just type in “ip address.” One of the first results will be a box displaying your public IP address.
  2. There are several websites that allow you to easily look up your public IP address. Try a service like Can You See Me or What Is My IP Address to check your external IP address.
  3. Like ipconfig, the ifconfig command will show you your IP address. However, this command shows your public IP rather than your internal or private one. To do it:
    • Launch the Terminal app.
    • Type in curl ifconfig.me and press Return.
    • Copy your public IP address. It may look like an IPv6 address (a long string of numbers and letters in groups separated by colons).
  4. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Can my computer be hacked through my IP address?
    Community Answer
    Community Answer
    Depending on how your computer is connected to the Internet and the type of security in place, your computer may vulnerable for a hack. In reality, chances of your computer being hacked from your known IP address is very unlikely. The trouble of hacker trying to gain access to your computer doesn't justify hacking into your computer unless you have billions of dollars in your bank account accessible from your personal computer. The most easiest way for hackers to gain access to your computer is through virus, not by attacking an IP address.
  • Question
    how to find the iP address on IOS?
    Joseph Bill
    Joseph Bill
    Community Answer
    If you want to find the IP Address go to Settings>Wi-Fi> Then look for your current network. It should tell you the IP address.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

Warnings

  • When using an IP information site from an ISP that uses a transparent web proxy (such as AOL), be aware that the reported IP address may be that of the ISP's web proxy and not your actual IP address.
  • For security and privacy reasons, don’t give out your IP address to people you don’t know and trust.
Advertisement

You Might Also Like

Find the IP Address of Your PC Find Your IP Address on a PC: Windows & Linux
Surf the Web Anonymously with ProxiesSurf the Web Anonymously with Proxies
Open a Mac MiniOpen a Mac Mini
Check a Computer IP Address Find the IP Address of Your PC or Mac
Trace an IP AddressTrace an IP Address
Find Out Your IP Address6 Easy Ways to See Your IP Address on PC, Mac, Android & iOS
Find Your Printer IP Address Find Your Printer's IP Address
Find a Website's IP Address Find a Website's IP Address: 6 Easy Lookup Tricks
Refresh Your IP Address on a Windows Computer Refresh Your IP Address on a Windows Computer
Ping an IP AddressPing an IP Address
Calculate Network and Broadcast Address Find the Network and Broadcast Address (with Examples)
Change Your IP Address (Windows)Change Your IP Address (Windows)
Find the IP Address of a Skype UserFind the IP Address of a Skype User
Acquire a New IP AddressA Step-By-Step Guide to Aquire a New IP Address
Advertisement

About This Article

Luigi Oppido
Co-authored by:
Computer & Tech Specialist
This article was co-authored by Luigi Oppido and by wikiHow staff writer, Megaera Lorenz, PhD. Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years. This article has been viewed 4,218,231 times.
How helpful is this?
Co-authors: 60
Updated: June 26, 2024
Views: 4,218,231
Categories: IP Addresses | Mac
Article SummaryX

To find your internal IP address on a newer Mac, first click on the Apple icon on the upper-left corner of the screen. From here, click on “System Preferences…” in the drop down menu that appears. Then, click the “Network” icon in the box that opens. Once you’ve opened the Network settings, choose the connection you’re using on the left side of the screen, which is usually either wired Ethernet or wireless AirPort. After choosing your connection you will see a number in the middle of the screen, which is your IP Address. To learn how to find your internal IP address on older Macs, read on!

Did this summary help you?

Thanks to all authors for creating a page that has been read 4,218,231 times.

Reader Success Stories

  • Carmen Pepiton

    Carmen Pepiton

    Apr 15, 2017

    "It was because you not only gave me the worded explanation to finding it, but also the visual one, which helps me..." more
Share your story

Is this article up to date?

Advertisement