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
    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
    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
      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

      About This Article

      Article Summary X

      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,212,105 times.

      Reader Success Stories

      • 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