<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 12.0.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 12.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/NWInterface/InterfaceType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network11NWInterfaceV13InterfaceTypeO"
  },
  "title" : "NWInterface.InterfaceType"
}
-->

# NWInterface.InterfaceType

Types of network interfaces, based on their link layer media types.

```
enum InterfaceType
```

## Topics

### Interface Types

[`NWInterface.InterfaceType.wifi`](/documentation/Network/NWInterface/InterfaceType/wifi)

The network interface type used for communication over Wi-Fi networks.

[`NWInterface.InterfaceType.cellular`](/documentation/Network/NWInterface/InterfaceType/cellular)

The network interface type used for communication over cellular networks.

[`NWInterface.InterfaceType.wiredEthernet`](/documentation/Network/NWInterface/InterfaceType/wiredEthernet)

The network interface type used for communication over wired Ethernet networks.

[`NWInterface.InterfaceType.loopback`](/documentation/Network/NWInterface/InterfaceType/loopback)

The network interface type used for communication over local loopback networks.

[`NWInterface.InterfaceType.other`](/documentation/Network/NWInterface/InterfaceType/other)

The network interface type used for communication over virtual networks or networks of unknown types.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)