USB hardware
The first versions of the USB standard specified connectors that were easy to use and would have long life spans. Later revisions added smaller connectors that were useful for compact portable devices. Faster development of the standard gave rise to another family of connectors that allowed additional data links. All versions of USB specify cable properties.
Version 3.x cables, marketed as SuperSpeed, added a data link. In 2008, USB 3.0 added a full-duplex lane made of two twisted pairs of wires, with one differential signal of serial data for each direction. In 2014, the USB-C specification added a second full-duplex lane.
USB has always been able to provide some power to peripheral devices, but the amount has increased over time. The modern specifications, called USB Power Delivery (USB PD), allow up to 240 watts. Early USB 1.0/2.0 provided up to 2.5 W, USB 3.0 provided up to 4.5 W, and later Battery Charging specifications provided up to 7.5 W. USB PD 1.0 began in 2012 with up to 60 watts, PD 2.0 version 1.2 in 2013 along with USB 3.1 reached up to 100 W, and USB PD 3.1 in 2021 raised the maximum to 240 W.
USB has been selected as the charging format for many mobile phones and other peripheral devices and hubs, which reduced the spread of proprietary chargers. Since USB 3.1, Power Delivery has been part of the USB standard. A standard USB-C cable can carry at least 60 watts and at least USB 2.0 speed (480 Mbit/s half-duplex).
In 2019, USB4, which uses only the USB-C connector, added connection-oriented video and audio abilities (DisplayPort) and compatibility with Thunderbolt 3 and later.
Connectors
Main article: USB-C
USB uses a tiered star-like network topology, and its connections have a direction. Ports are either downstream-facing or upstream-facing. Ports on a computer, and on hubs that connect devices, face downstream. Ports on the devices themselves face upstream. Older connectors had different shapes for each role, so two computers or two devices could not be plugged into each other by mistake. The newer USB-C connector is reversible, and it replaces all earlier USB connectors.
Older USB connectors came in Standard, Mini, and Micro sizes, and they were later called "legacy" connectors. USB has also become faster over time, with versions that include SuperSpeed data transfer. Colors are often used to show what each port can do, but the shape and size of the connector show which devices fit together.
| Pin | Name | Wire color | Description | |
|---|---|---|---|---|
| 1 | VBUS | Red or | Orange | +5 V |
| 2 | D− | White or | Gold | Data− |
| 3 | D+ | Green | Data+ | |
| 4 | GND | Black or | Blue | Ground |
| Pin | Name | Wire color | Description |
|---|---|---|---|
| 1 | VBUS | Red | +5 V |
| 2 | D− | White | Data− |
| 3 | D+ | Green | Data+ |
| 4 | ID | None (only used in connectors, not cables) | When a cable is connected to a Mini- or Micro-AB receptacle, the ID pin indicates to the On-The-Go device whether the plug is the Type-A (host) or Type-B (peripheral device) end of its cable, causing the device to behave as a host or peripheral accordingly. Type-A plug (host end): connected to GND Type-B plug (peripheral device end): not connected |
| 5 | GND | Black | Signal ground |
| Color | Location | Description | ||||||
|---|---|---|---|---|---|---|---|---|
| White (required by USB standards) | Receptacles and plugs | USB 1.0/1.1: Low-Speed (1.5 Mbit/s) – Full-Speed (12 Mbit/s) Micro‑A, Mini‑A | ||||||
| Black (required by USB standards) | Receptacles and plugs | USB 2.0: Hi-Speed USB (480 Mbit/s) Micro‑B, Mini‑B | ||||||
| Gray (required by USB standards) | Receptacles | Micro‑AB, Mini‑AB | ||||||
| Blue (Pantone 300 C) (recommended in USB standards) | Receptacles and plugs | Indicates a Standard‑A connector that supports USB 5Gbps (introduced as SuperSpeed in USB 3.0), and possibly USB 10Gbps (introduced in USB 3.1) | ||||||
| Teal blue (not part of USB standards) | Receptacles and plugs | Indicates a Standard‑A or Standard‑B connector that supports USB 10Gbps (introduced as SuperSpeed+ in USB 3.1) | ||||||
| Green (not part of USB standards) | Receptacles and plugs | Type‑A or Type‑B, Qualcomm Quick Charge (QC) | ||||||
| Purple (not part of USB standards) | Plugs only | Type‑A or Type‑C, Huawei SuperCharge | ||||||
| Yellow or red (not part of USB standards) | Receptacles only | Red: Usually Always On Yellow: Always On, Passive Power Delivery High-current or sleep-and-charge | ||||||
| Orange (not part of USB standards) | Receptacles only | Always On, Passive Power Delivery High-retention connector, mostly used on industrial hardware | ||||||
| Type | Receptacle | Plug | |||||
|---|---|---|---|---|---|---|---|
| Width (mm) | Height (mm) | Depth (mm) | Width (mm) | Height (mm) | Length, min (mm) | ||
| Standard-A | 12.5 | 5.12 | 8.88 | 12.0 | 4.5 | 11.75 | |
| USB 2 Standard-B | 8.45 | 7.78 | 8.88 | 8.0 | 7.25 | 11.75 | |
| USB 3 Standard-B | 10.8 | 10.44 | |||||
| Mini-B | 6.9 | 3.1 | 5.5 | 6.8 | 3.0 | 6.8 | |
| USB 2 Micro-B, Micro-A, Micro-AB | 6.9 | 1.85 | 3.5 | 6.85 | 1.8 | 5.4 | |
| USB 3 Micro-B, Micro-A, Micro-AB | 12.25 | 12.2 | |||||
| Type-C (USB-C) | 8.34 | 2.56 | 6.2 | 8.25 | 2.4 | 6.51 | |
| † The receptacle dimensions are for the receptacle openings only and do not include the surrounding plastic or metal housing. The plug dimensions are the outer dimensions of the plug body metal mating part only and do not include the cable overmold or strain relief. | |||||||
| Plug | Compatible receptacles | ||||||
|---|---|---|---|---|---|---|---|
| Current | USB4 2.0 / USB 3.2 / USB4 | Type‑C | Type‑C | ||||
| Legacy | USB 3.x | Host (Type‑A) | USB 3.0 Standard‑A | USB 3.0 Standard‑A | USB 2.0 Standard‑A | ||
| USB 3.0 Micro‑A | USB 3.0 Micro‑AB | ||||||
| Peripheral (Type‑B) | USB 3.0 Standard‑B | USB 3.0 Standard‑B | |||||
| USB 3.0 Micro‑B | USB 3.0 Micro‑AB | USB 3.0 Micro‑B | |||||
| USB 2.0 and earlier | Host (Type‑A) | USB 2.0 Standard‑A | USB 3.0 Standard‑A | USB 2.0 Standard‑A | |||
| USB 2.0 Micro‑A | USB 3.0 Micro‑AB | USB 2.0 Micro‑AB | |||||
| Mini‑A | Mini‑AB | Mini‑A | |||||
| Peripheral (Type‑B) | USB 2.0 Standard‑B | USB 3.0 Standard‑B | USB 2.0 Standard‑B | ||||
| USB 2.0 Micro‑B | USB 3.0 Micro‑AB | USB 3.0 Micro‑B | USB 2.0 Micro‑AB | USB 2.0 Micro‑B | |||
| Mini‑B | Mini‑AB | Mini‑B | |||||
| Receptacle | Compatible plugs | ||||||
|---|---|---|---|---|---|---|---|
| Current | USB4 2.0 / USB 3.2 / USB4 | Type‑C | Type‑C | ||||
| Legacy | USB 3.x | Host (Type‑A) | USB 3.0 Standard‑A | USB 3.0 Standard‑A | USB 2.0 Standard‑A | ||
| Peripheral (Type‑B) | USB 3.0 Standard‑B | USB 3.0 Standard‑B | USB 2.0 Standard‑B | ||||
| USB 3.0 Micro‑B | USB 3.0 Micro‑B | USB 2.0 Micro‑B | |||||
| On-The-Go (Type‑AB) | USB 3.0 Micro‑AB | USB 3.0 Micro‑A | USB 3.0 Micro‑B | USB 2.0 Micro‑A | USB 2.0 Micro‑B | ||
| USB 2.0 and earlier | Host (Type‑A) | USB 2.0 Standard‑A | USB 3.0 Standard‑A | USB 2.0 Standard‑A | |||
| Mini‑A | Mini‑A | ||||||
| Peripheral (Type‑B) | USB 2.0 Standard‑B | USB 2.0 Standard‑B | |||||
| USB 2.0 Micro‑B | USB 2.0 Micro‑B | ||||||
| Mini‑B | Mini‑B | ||||||
| On-The-Go (Type‑AB) | USB 2.0 Micro‑AB | USB 2.0 Micro‑A | USB 2.0 Micro‑B | ||||
| Mini‑AB | Mini‑A | Mini‑B | |||||
Plug at A end (host) Plug at B end (peripheral) | Current | Legacy | Deprecated | ||||
|---|---|---|---|---|---|---|---|
| Type-C | USB 3.0 Standard‑A | USB 3.0 Micro‑A | USB 2.0 Standard‑A | USB 2.0 Micro‑A | Mini‑A | ||
| Current | Type‑C | Up to 80 Gbit/s, or 120 Gbit/s either direction and 40 the other (USB4 Gen 4) | Up to 10 Gbit/s (USB 3.2 Gen 2×1) | Prohibited | Up to 480 Mbit/s half duplex (USB 2.0) | Prohibited | Prohibited |
| Legacy | USB 3.0 Standard‑B | Up to 10 Gbit/s (USB 3.2 Gen 2×1) | Up to 10 Gbit/s (USB 3.2 Gen 2×1) | —N/a | |||
| USB 3.0 Micro‑B | |||||||
| USB 2.0 Standard‑B | Up to 480 Mbit/s half duplex (USB 2.0) | —N/a | Up to 480 Mbit/s half duplex (USB 2.0) | Prohibited | Prohibited | ||
| USB 2.0 Micro‑B | Up to 480 Mbit/s half duplex (USB 2.0) | Up to 480 Mbit/s half duplex (USB 2.0) | |||||
| Mini‑B | Prohibited | ||||||
Plug Legacy receptacle | Current | Legacy |
|---|---|---|
| Type‑C | USB 2.0 Micro‑A | |
| USB 3.0 Standard‑A | Up to 10 Gbit/s (USB 3.2 Gen 2×1) to connect a legacy peripheral device to a Type‑C host | —N/a |
| USB 2.0 Micro‑B | Up to 480 Mbit/s half duplex (USB 2.0) to connect a legacy charger or host to a Type‑C power sink (consumer, e.g. a cell phone or computer) or peripheral device | |
| USB 2.0 Standard‑A | —N/a | Up to 480 Mbit/s half duplex (USB 2.0) to connect a peripheral device to an On-The-Go device |
Cabling
USB cables use a twisted pair of wires to reduce noise and crosstalk. SuperSpeed needs separate differential pairs for sending and receiving data, and these are usually shielded. Because of this, SuperSpeed cables have twice as many wires and are wider.
Each USB version sets a maximum cable length. For USB 1.1, the limit is 5 metres (16 ft 5 in) for full speed devices and 3 metres (9 ft 10 in) for low speed devices. For USB 2.0, the limit is 5 metres (16 ft 5 in) for high speed devices, mainly because of the round-trip delay allowed for responses. For USB 3.0, the limit is 1 metre (3 ft 3 in) for cables with a micro-series plug and 3 metres (9 ft 10 in) for cables without one.
See also: USB hub § Power
Upstream USB connectors supply power at a nominal 5 V DC through the V_BUS pin to downstream devices. At first, the allowed voltage could vary by ±5%. When the USB Type-C specification came out in 2014, the USB-IF raised the upper limit to 5.5 V to fight voltage drop at higher currents. Later updates allowed much higher voltages, while still working with older devices through a handshake before the voltage goes above 5 V. Devices have limits on how much power they can draw, measured in unit loads. For USB 2.0, one unit load is 100 mA, and for SuperSpeed devices it is 150 mA. Low-power devices may draw one unit load, and high-power devices may draw up to five unit loads (500 mA), or six (900 mA) for SuperSpeed devices. Some devices need more power than one port can give, so they use an external supply instead. Since USB 2.0, overcurrent protection has been standardized. USB Battery Charging defines charging ports that can supply between 0.5 and 1.5 A. Before that standard, Apple's iPod and iPhone chargers showed how much current was available through voltages on the data lines. USB On-The-Go devices use a single port for charging and for connecting to a host, and an Accessory Charger Adapter lets them connect to a charger and to a USB hub at the same time. In July 2012, the USB Promoters Group finished the USB Battery Charging extension called USB Power Delivery, which can deliver more than 7.5 W to devices with greater power needs. It uses BMC coding, BFSK signaling, a DC coupled low-frequency BMC data channel to reduce RF interference, and the USB-C connector. Before Power Delivery, the USB Battery Charging Specification limited phone charging to 7.5 W, so companies such as Qualcomm used Quick Charge and VOOC to deliver more power.
Sleep-and-charge USB ports can charge devices even when the computer is switched off. Laptops from Acer Inc., Packard Bell, and Lenovo use their own names and symbols for this feature. Starting in 2007, all new mobile phones applying for a license in China had to use a USB port for battery charging. In 2007, the Open Mobile Terminal Platform group, whose members included Nokia, Samsung, Motorola, Sony Ericsson, and LG, agreed on Micro-USB as the common connector for mobile devices. The GSM Association, CTIA – The Wireless Association, and the International Telecommunication Union later supported this choice. In 2009, the European Commission organized an agreement to use micro-USB for smartphones sold in the European Union, under the common external power supply specification. The International Electrotechnical Commission (IEC) released its version of this standard in 2011. In 2022, the Radio Equipment Directive 2022/2380 made USB-C required for mobile phone charging from 2024, and for laptops from 2026. Many non-USB charging methods, such as those from Huawei, MediaTek with Pump Express, Motorola TurboPower, OnePlus, Realme, and Samsung, charge faster than the standard. Some USB devices, such as optical disc drives, motors, and lamps, need extra power, and the standard limits the inrush current when a device first connects. Some small gadgets, like vacuum cleaners, lava lamps, and the iPad, Barnes & Noble Nook Color, draw more power than the standards allow. PoweredUSB is an older, non-USB extension, used in point-of-sale systems to power barcode readers, credit card terminals, and printers.
Main article: Universal charger
Main article: PoweredUSB
| Specification | Current (max.) | Voltage | Power (max.) |
|---|---|---|---|
| Low-power device | 100 mA | 5 V | 0.50 W |
| Low-power SuperSpeed (USB 3.0) device | 150 mA | 5 V | 0.75 W |
| High-power device | 500 mA | 5 V | 2.5 W |
| High-power SuperSpeed (USB 3.0) device | 900 mA | 5 V | 4.5 W |
| Battery Charging (BC) 1.2 | 1.5 A | 5 V | 7.5 W |
| Single-lane SuperSpeed+ (USB 3.2 Gen 2×1) device | 1.5 A | 5 V | 7.5 W |
| Power Delivery 3.0 SPR | 3 A | 5 V | 15 W |
| Power Delivery 3.0 SPR | 3 A | 9 V | 27 W |
| Power Delivery 3.0 SPR | 3 A | 15 V | 45 W |
| Power Delivery 3.0 SPR | 3 A | 20 V | 60 W |
| Power Delivery 3.0 SPR Type-C | 5 A | 20 V | 100 W |
| Power Delivery 3.1 EPR Type-C | 5 A | 28 V | 140 W |
| Power Delivery 3.1 EPR Type-C | 5 A | 36 V | 180 W |
| Power Delivery 3.1 EPR Type-C | 5 A | 48 V | 240 W |
Up to 5 unit loads; with non-SuperSpeed devices, one unit load is 100 mA. Up to 6 unit loads; with SuperSpeed devices, one unit load is 150 mA. Up to 6 unit loads; with multi-lane devices, one unit load is 250 mA. >3 A (>60 W) operation requires an electronically marked cable rated at 5 A. >20 V (>100 W) operation requires an electronically marked Extended Power Range (EPR) cable. | |||
| Profile | +5 V | +12 V | +20 V |
|---|---|---|---|
| 0 | Reserved | ||
| 1 | 2.0 A, 10 W | —N/a | —N/a |
| 2 | 1.5 A, 18 W | ||
| 3 | 3.0 A, 36 W | ||
| 4 | 3.0 A, 60 W | ||
| 5 | 5.0 A, 60 W | 5.0 A, 100 W | |
Default start-up profile | |||
| Power | Minimum USB‑C cable required | Voltage | Current | |||||
|---|---|---|---|---|---|---|---|---|
| ≤ 15 W | Any | 5 V | ≤ 3.0 A | |||||
| ≤ 27 W | 9 V | |||||||
| ≤ 45 W | 15 V | |||||||
| ≤ 60 W | 20 V | |||||||
| ≤ 100 W | 5 A, or 100 W | 20 V | ≤ 5.0 A | |||||
| ≤ 140 W | 240 W | 28 V | ≤ 5.0 A | |||||
| ≤ 180 W | 36 V | |||||||
| ≤ 240 W | 48 V | |||||||
60 W label required on both plug bodies by current standard, not required on older cables Electronically marked USB PD Extended Power Range 240 W label required on both plug bodies | ||||||||

Quiz time!
5 questions about USB hardware
Why did older USB connectors have different shapes for each role?
Pictures
Keep exploring
This article is a child-friendly adaptation of the Wikipedia article on USB hardware, available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.