Quick answer

In Network settings, click the More (…) or gear menu, choose Set Service Order, drag the connection you want first to the top and click OK. macOS uses the first active connection in that list for internet traffic.

There are times that you might need to change the Service Order for your network interfaces in macOS.

By default the primacy NIC adapter is the LAN adapter which usually is detected as en0. On devices like MacBook Air or MacBookPros the en0 will be assigned to the built-in WiFi adapter and if you use an Apple USB Ethernet or Thunderbolt Ethernet Adapter the en1 or en2 will be assigned to that adapter.

Let me give you and example on why you might need to change the service order for the network interfaces.

Every once in a while I find myself in a situation that I have to connect to a computer remotely to configure an AccessPoint or a Router for internet connectivity, in that scenario I usually require two connections for getting the task done. One connection is required for me to connect to the system which I’m going to use for configuring the AccessPoint and another connection is required for the AccessPoint or the Router to be configured via Ethernet or LAN connection.

If the computer that I’m connecting to has two NICs (LAN and WiFi) like an desktop computer like iMacs or Mac minis when the Ethernet cable is plugged to the system it will be the primary device for connectivity and the WiFi will become the secondary (e.g using a mobile for HotSpot to provide internet connection). If the LAN connection doesn’t provide Internet connection it’s going to cause connectivity issues.

So in order to be able to connect to the client computer we’re gonna have to change the Service Order on network interfaces by making the WiFi adapter the primary.

How to change the service order

Here’e how to change the Service Order:

Open System Preferences

macOS System Preferences window with the Network pane

Select Network and when the Network preferences is open in the left side bar find the Gear icon and click it

Gear menu in macOS Network preferences

Select Set Service Order

Set Service Order option in macOS Network preferences

Now you can drag and change the order of devices.

Dragging Wi-Fi to the top of the network service order in macOS

By clicking OK button the changes will take effect.

Notice that the order of the devices will also change in the Network preferences window.

macOS Network preferences after changing the service order

Related guide: Network Speed Test.

Frequently Asked Questions

Got questions? We've got answers.

Why would I change the service order?
When a Mac has two connections, for example Ethernet to a router you are configuring and Wi-Fi for internet, macOS sends traffic through the first one in the list. Moving Wi-Fi up keeps your internet connection working.
Where is Set Service Order on macOS Ventura and later?
In System Settings › Network, click the More (…) button below the list of services and choose Set Service Order.
What is en0?
The name of the Mac’s first network interface. On desktop Macs it is usually built-in Ethernet; on MacBook Air and MacBook Pro it is usually Wi-Fi.
Does the change last after a restart?
Yes. The order is saved and stays until you change it again.