What pinging an IP address does and why you need it

Pinging an IP address sends a small test packet to that address and waits for a response, telling you whether a device is reachable on your network and how fast the connection is. When something on your home network stops working — a printer won't print, a camera goes offline, a computer can't reach the router — pinging is the first thing to try. It takes 30 seconds and tells you whether the problem is the device itself, the connection between devices, or something else entirely.

A ping works the same way on Windows, Mac, and Linux. The command is identical. You do not need special software or administrator access. If a ping succeeds, the device is powered on and connected. If it fails, you know to look at cables, WiFi settings, or the device's power state before you waste time on anything else.

Key Takeaways

  • Open Command Prompt on Windows or Terminal on Mac and type ping followed by the IP address you want to test, then press Enter.
  • A successful ping shows response times in milliseconds; anything under 100ms on a home network is normal, and over 500ms suggests a connection problem.
  • If a ping fails, the device is either off, disconnected from the network, or blocking ping requests — check power and WiFi connection first.
  • You can find a device's IP address by looking in your router's connected devices list or by typing ipconfig (Windows) or ifconfig (Mac) to see your own address.

How to ping on Windows

Open the Start menu and type cmd into the search box. Click Command Prompt when it appears. A black window will open with a blinking cursor.

Type ping 192.168.1.100 (replace 192.168.1.100 with the actual IP address you want to test) and press Enter. The command will send four test packets and show you the results. Each line shows the response time in milliseconds. If all four succeed, you see "Reply from [IP address]" four times. If all four fail, you see "Request timed out" four times.

Close the Command Prompt window when you are done. You do not need to save anything.

How to ping on Mac

Open Spotlight by pressing Command and Space together. Type terminal and press Enter. A white window will open with a command prompt.

Type ping -c 4 192.168.1.100 (replace 192.168.1.100 with the IP address you want to test) and press Enter. The -c 4 tells the Mac to send exactly four pings and then stop; without it, the ping will continue forever and you will need to press Control and C to stop it. You will see four lines of results showing response times.

Close the Terminal window when you are done.

Understanding ping results

A successful ping shows four lines, each with "bytes=32" or similar, followed by a time in milliseconds. On a home network, response times between 1ms and 100ms are normal. Times between 100ms and 500ms mean the connection is slow but working. Times over 500ms suggest interference, distance from the router, or a congested network.

If you see "Request timed out" for all four pings, the device is not responding. This usually means the device is powered off, disconnected from WiFi, or has a firewall blocking ping requests. Some devices — particularly phones and tablets — block pings by default for privacy. Check that the device is on and connected to your network before assuming the connection is broken.

If you see a mix of successful and failed pings, the connection is unstable. This often points to WiFi interference, a device moving in and out of range, or a router that is struggling with too many connections at once.

Finding the IP address you need to ping

Log into your router's admin page by opening a web browser and typing 192.168.1.1 or 192.168.0.1 into the address bar. Most routers use one of these addresses. If neither works, look on the back of your router for a label showing the admin address.

Enter your router's username and password. If you have never changed these, they are usually printed on the router's label as well — often "admin" and "admin" or "admin" and the router's serial number.

Look for a section called "Connected Devices", "DHCP Clients", "Device List", or "Attached Devices". This page shows every device on your network and its IP address. Find the device you want to test and note its IP address.

Alternatively, if you want to find your own computer's IP address, open Command Prompt on Windows and type ipconfig, then press Enter. Look for "IPv4 Address" — that is your computer's address. On Mac, open Terminal and type ifconfig, then press Enter. Look for "inet" followed by a number — that is your address.

When a ping fails and what to do next

If a device does not respond to a ping, start by checking the obvious: Is the device powered on? Is it connected to your WiFi network? Walk over to it and look for lights or status indicators. If the device is off or shows no connection, turn it on or reconnect it to WiFi, wait 30 seconds, and ping again.

If the device is on and connected but still does not respond, the device itself may be blocking pings. Some phones, tablets, and security-conscious computers refuse to respond to ping requests. Try pinging a different device to confirm your network is working, then move on to testing the unresponsive device in other ways — for example, by trying to reach it through an app or by checking whether it can reach the internet.

If you cannot ping your router itself (usually at 192.168.1.1), your computer is not connected to the network at all. Check your WiFi connection, restart your router, and try again.

Ping response times and what they mean for your network

Response times tell you more than just whether a device is reachable. They show you the quality of the connection. A device on the same WiFi network should respond in 5ms to 50ms. A device on a wired connection should respond in 1ms to 10ms. If a device that should be close is responding in 200ms or more, something is wrong — the device may be far from the router, the WiFi signal may be weak, or there may be interference from other networks or devices.

Consistent response times mean a stable connection. If times jump around wildly — one ping at 20ms, the next at 300ms, the next at 40ms — the connection is unstable. This usually points to WiFi interference from microwaves, cordless phones, or neighboring networks. Try moving the device closer to the router or moving the router away from other electronics.

Frequently Asked Questions

Can I ping a device on someone else's network?

No. A ping only works on devices you can reach directly — devices on your own network or devices on the internet with public IP addresses. You cannot ping a device on a neighbor's network or a friend's home network unless you are physically connected to it.

Why does my phone not respond to pings?

Many phones and tablets block ping requests for privacy and battery reasons. This is normal and not a sign of a problem. If you need to test whether your phone is on the network, try opening a web browser and visiting a website instead.

What does "Destination host unreachable" mean?

This message means your computer found a route to the IP address but the device at that address refused the connection or does not exist. Check that you typed the IP address correctly. If you did, the device may be offline or the IP address may have changed.

Is pinging safe? Can it damage a device?

Pinging is completely safe. It sends only a tiny amount of data and cannot damage or harm any device. It is one of the most basic network tools and is used by network professionals every day.

How often should I ping devices on my network?

Ping once when you suspect a problem, then again after you make a change to confirm it worked. You do not need to ping regularly. If you want to monitor a device continuously, use a dedicated monitoring tool instead of pinging manually.