Skip to main content

How to find your IP address

Knowing your computer’s IP address is like knowing its digital location. It can help you connect to it in certain applications, or find out what it’s connecting to. Whether your interests in your computer’s IP address are academic or pure intrigue, it doesn’t matter. In this guide, we’ll teach you how to find your IP address in just a few quick steps.

In order for us to find your IP address though, we need to know which one you want to find. There are actually two IP addresses for your system: Your public address and your local address. The former is the one that the world sees when you connect to websites and other computers across the world. The latter is the one that devices like your printer or router use to locate you on your network. Both are easy to find, but the techniques for doing so are a little different.

If you want to find your router’s IP address, here’s how to do so.

Public IP address

There are a number of tools you can use to find your public IP address, but the easiest are online resources. This technique works on both MacOS and Windows PCs.

Step 1: Open your browser of choice and visit

Step 2: Search for what’s my IP?

Step 3: Google will list your public IP address as the top search result.

Alternatively, visit and it too will tell you your public IP address.

Local IP address

Windows 10

Finding your local IP address is a little more convoluted than your public one, but it’s still quick and easy. Here’s how to find your IP address on Windows machines.

Step 1: Open the Windows Command Prompt by searching for CMD in the Windows 10 search box and clicking on the corresponding result. Alternatively press Windows key + R, to bring up the Run box. Type in CMD and press Enter.

Step 2: With the Command Center window selected, type in ipconfig and press enter.

Step 3: You’ll see a lot of information appear on the screen. It’s all related to your local network, but the entry you’re looking for is next to IPv4 address. That number, which likely looks like or similar, is your local IP address.

Here are some more tips on how to use Windows’ Command Prompt.

Windows 7 and 8.1

Finding your local IP address on older versions of Windows uses the exact same method. You still need to access the Command Prompt and input ipconfig. The only difference may be how you access the Command Prompt, though the Run method should work on all of them.


Finding your IP address on Apple’s MacOS is, if anything, a little easier than Windows PCs, so if you’re reading this on an Apple system, follow the quick steps below.

Step 1: Click the Apple logo in the top left-hand corner and select System Preferences from the drop-down menu.

Step 2: Click on the silver globe Network icon to open your network settings menu.

Step 3: In the left side window, look at your internet options and choose the one that’s currently connected, whether Wi-Fi or wired. In the Status section here, you will be able to see information on your IP address.

Step 4: If you can’t see your IP address in the status or want more information, select the Advanced button, and then choose the TCP/IP tab at the top. This will give you information on your IP address and other connection data.

Step 5: Like Windows, you also have the option of seeing your address through a command. Open the MacOS Terminal, which you can find in Utilities, and input the command ifconfig |grep inet, which will return a section of information. At the end of this data should be your IP address.

Now that you know how to find your IP address on MacOS, here’s a guide on how to forget a network.


If you’re on Linux, finding your local IP address is also quick and easy. Start by opening up the terminal by pressing the keys Ctrl + Alt + T at the same time — this usually works on most Linux configurations, but if not, look up the best way to access the command line for your particular Linux machine. When the terminal window pops up, type, hostname -I and select enter. This should directly return your IP address.

Note on IPv6

You’ll see that our examples here use IPv4, which remains the most common protocol for IP addresses (and has been since the internet first came together). However, you’ll also see sections for IPv6, which are often — but not always — blank. IPv6 is a newer IP address standard that’s designed to replace IPv4 as IPv4 runs out of room for new addresses. IPv6 is a slightly different configuration with a lot more room for new addresses and some extra security.

While IPV6 is widely available, adoption remains slow and a lot of internet companies are still resistant to the change. Eventually, IPv6 will replace IPv4, while doing essentially the same things. It can also be found in the same ways — just look for IPv6 information instead of IPv4!

Editors' Recommendations

Jon Martindale
Jon Martindale is the Evergreen Coordinator for Computing, overseeing a team of writers addressing all the latest how to…
Apple Security Research website launches to protect your Mac
Apple Seurity Research website has resources for bug bounty hunters.

Apple just launched a new website that's dedicated to macOS and iOS security and there are already two blog posts that provide examples of what to expect, one providing a deep dive into memory allocation within the XNU kernel at the heart of all Apple devices, and another discussing the improved security bounty process.

The new website will undoubtedly become a critical resource for Apple security researchers, both providing information and serving as a hub for submitting bounties. The Apple Security Research website is also where you can apply for an official Apple Security Research Device (SRD) to help with identifying vulnerabilities by providing special access to what are normally protected areas of iOS.

Read more
MacBooks vs. Windows laptops: Here’s how to choose
The MacOS Monterey and Windows 11 about pages side by side

The MacBooks versus Windows laptops debate has been raging for decades, but never has it been this intense or important. New advances in chip technology are propelling even entry-level MacBooks to high-performance targets, and a shift away from cheap plastics evens the playing field between these two platforms. Both Windows 11 and MacOS are intuitive and clean operating systems. But where they differ comes down to one key element: their ecosystems.

What this means for you is that you must carefully decide where you're going to sink your hard-earned money. The laptop you choose now will greatly influence which accessories you buy, which apps you use, and even what kind of phone you carry. Your entire workflow will depend on the platform you go with, from how you manage windows to keyboard shortcuts. It's not a light decision.

Read more
Update your Mac now to patch this crucial security flaw
The MacBook Air on a table in front of a window.

Apple just released another critical security update with the zero-day fixes appearing in MacOS Monterey 12.6 and Big Sur 11.7. The vulnerability even affects the iPhone and iPad, requiring an update to iOS 15.7 and iPadOS 15.7 to protect these devices.

This is the eighth zero-day this year, putting Apple on track to beat last year's unfortunate record of 12 zero-day flaws.

Read more