Static IP Address on macOS (Local Network)
This guide explains how to configure a static IP address on macOS so the
computer always uses the same IP address inside the local network (LAN).
A static IP provides predictable and stable local networking.
It does not affect internet connectivity, VPN addresses, or public IPs.
Supported systems
- macOS Ventura
- macOS Sonoma
- Newer macOS versions
Applies to Mac computers using:
Important notice
Configuring a static IP changes how the Mac connects to the local network.
Incorrect values may cause:
- Loss of local network connectivity
- Loss of internet access
- Inability to reach other devices on the LAN
Before continuing, make sure you know your current network information.
Required network information
Before configuring a static IP, you must know:
- Current local IP address
- Subnet mask
- Router (gateway) IP address
- DNS server addresses
- One free IP address in the same network range
If you do not know these values, follow this guide first:
→ How to find network information on macOS
Do not continue until you have this information.
Choosing a static IP address
The static IP you choose must:
- Be in the same subnet as the router
- Not be used by another device
- Preferably be outside the router’s DHCP range
Example network:
- Router IP:
192.168.1.1
- Subnet mask:
255.255.255.0
- Valid static IP:
192.168.1.50
Avoid using:
- The router IP itself
- IPs already assigned to other devices
Configure a static IP on macOS
Static IP configuration is done through System Settings.
Open network settings
- Open System Settings
- Go to Network
- Select the active connection:
- Wi-Fi (wireless)
- Ethernet (wired)
- Click Details… (or Advanced… depending on macOS version)
Configure TCP/IP settings
- Open the TCP/IP tab
- Locate Configure IPv4
- Change the value from Using DHCP to Manually
Set the static IP configuration
Enter the following values:
-
IP Address
The static IP you chose (example: 192.168.1.50)
-
Subnet Mask
Same as your current configuration (example: 255.255.255.0)
-
Router
Router IP address (example: 192.168.1.1)
Configure DNS servers
- Open the DNS tab
- Add DNS servers as needed
Common options:
- Router IP (for local DNS)
- Public DNS servers:
The order matters. The first server is used by default.
Apply the configuration
The network connection may briefly disconnect and reconnect.
Common problems
No internet connection
- Verify the router (gateway) IP
- Check DNS server configuration
- Ensure the IP is within the correct subnet
IP address conflict
- Another device may already be using the same IP
- Choose a different unused IP and apply again