Safekipedia

USB hardware

Discoverer · ages 10+Adapted from Wikipedia
A USB Type-C port on a MacBook, a small oval connector used to charge devices and transfer information.

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.

Various legacy USB connectors along a centimeter ruler for scale. From left to right:Micro-B plugProprietary UC-E6 connector used on many older Japanese cameras for both USB and analog AV outputMini-B plug (inverted)Standard-A receptacle (inverted; non-compliant because official USB specifications do not allow for extension cables)Standard-A plugStandard-B plug

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.

Prohibited USB extension cable, plug on the left, receptacle on the right. (USB does not allow extension cables. Non-standard cables may work but cannot be presumed reliable.)
USB 2 Standard, Mini-, and Micro-USB plugs shown end-on, not to scale. Light areas represent cavities.
Micro-B SuperSpeed plug (shown inverted)Power (VBUS, 5 V)Data− (D−)Data+ (D+)ID (On-The-Go)GNDSuperSpeed transmit− (SSTx−)SuperSpeed transmit+ (SSTx+)GNDSuperSpeed receive− (SSRx−)SuperSpeed receive+ (SSRx+)
A yellow charge-only "USB" Type-A receptacle and a USB 3.0 Type-A receptacle, both upside-down, on a front panel with card reader

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.

Standard USB pin assignments
PinNameWire colorDescription
1VBUSRed orOrange+5 V
2D−White orGoldData−
3D+GreenData+
4GNDBlack orBlueGround
Mini- and Micro-USB pin assignments
PinNameWire colorDescription
1VBUSRed+5 V
2D−WhiteData−
3D+GreenData+
4IDNone (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
5GNDBlackSignal ground
Usual USB color-coding
ColorLocationDescription
White
(required by USB standards)
Receptacles and plugsUSB 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 plugsUSB 2.0: Hi-Speed USB (480 Mbit/s)
Micro‑B, Mini‑B
Gray
(required by USB standards)
ReceptaclesMicro‑AB, Mini‑AB
Blue (Pantone 300 C)
(recommended in USB standards)
Receptacles and plugsIndicates 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 plugsIndicates 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 plugsType‑A or Type‑B, Qualcomm Quick Charge (QC)
Purple
(not part of USB standards)
Plugs onlyType‑A or Type‑C, Huawei SuperCharge
Yellow or red
(not part of USB standards)
Receptacles onlyRed: Usually Always On
Yellow: Always On, Passive Power Delivery
High-current or sleep-and-charge
Orange
(not part of USB standards)
Receptacles onlyAlways On, Passive Power Delivery
High-retention connector, mostly used on industrial hardware
USB connector dimensions†
TypeReceptaclePlug
Width (mm)Height (mm)Depth (mm)Width (mm)Height (mm)Length, min (mm)
Standard-A12.55.128.8812.04.511.75
USB 2 Standard-B8.457.788.888.07.2511.75
USB 3 Standard-B10.810.44
Mini-B6.93.15.56.83.06.8
USB 2 Micro-B, Micro-A, Micro-AB6.91.853.56.851.85.4
USB 3 Micro-B, Micro-A, Micro-AB12.2512.2
Type-C (USB-C)8.342.566.28.252.46.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.
USB plug compatibility (and capability)
PlugCompatible receptacles
CurrentUSB4 2.0 / USB 3.2 / USB4Type‑C
A Full-Featured Type‑C plug: a smooth metal shell, 8 by 2.5 millimeters, with rounded sides and rounded edges at the facing end. The end has a narrow slot with all contacts inside. The Full-Featured plug has six shield-contact springs, all more prominent than the four in the other Type‑C plugs, and all contacts are present except the center pair on one side. Type‑C plugs only vary in which contacts are present inside; they cannot be distinguished by touch and are difficult to discern by unaided vision.
Type‑C
A Full-Featured Type‑C receptacle: an opening 8 by 2.5 millimeters with an insulator carrying many contacts floating in the center. (It is also possible for a Type‑C receptacle to simply be the insulator with contacts exposed, with no shell surrounding.) All contacts are present, twelve on each side of the flat insulator. Type‑C plugs only vary in which contacts are present inside so cannot be distinguished by touch.
LegacyUSB 3.x
Host (Type‑A)USB 3.0
Standard‑A
A USB 3.0 Standard‑A plug: a metal shell, 12 by 4 millimeters, with a plastic insulator body occupying the lower half of the space inside the shell. It is distinct from the earlier version only in that it has five additional contacts deep inside and that the insulator is either blue (Pantone 300 C) for USB 5Gbps, or teal blue for USB 10Gbps.
USB 3.0
Standard‑A
A USB 3.0 Standard‑A receptacle: a rectangular opening 5 by 12 millimeters with a wide plastic protrusion above the center, the protrusion having notches on its underside for the five electrical contacts added for USB 3.x, or a single notch for the same.
USB 2.0
Standard‑AA USB 2.0 Standard‑A receptacle: a rectangular opening 5 by 12 millimeters with a wide plastic protrusion inside above the center. It is distinct from the USB 3.0 variant in that the protrusion lacks the notch or notches on its underside for five additional contacts.
USB 3.0
Micro‑A
A USB 3.0 Micro‑A plug: a wide, flat metal shell, 12 by 2 millimeters, in two sections with latch springs protruding from the bottom side. It is distinct from the USB 3.0 Micro‑B plug only in that all outside corners are right angles, where in the Type‑B plug the corners on the upper side of the wider section are chamfered, and that there may be a raised
USB 3.0
Micro‑AB
A USB 3.0 Micro‑AB receptacle: an opening 12 by 2 millimeters, in two sections, distinct from the USB 3.0 Micro‑B receptacle only in that it has no chamfered corners, where the upper corners of the wider section of the USB 3.0 Micro‑B narrow to preclude insertion of a Type‑A plug
Peripheral (Type‑B)USB 3.0
Standard‑B
A USB 3.0 Standard‑B plug: 8 millimeters wide by ten high, with an 8-millimeter-wide lower section and a step inward to the 6-millimeter-wide upper section. There is a vertical bump on each side of the wider section, and on the face a wide rectangular opening in the center of the insulator and a smaller open space at the top, bordered by the shell.
USB 3.0
Standard‑B
A USB 3.0 Standard‑B receptacle: an 8-millimeter-square opening with chamfered upper corners and a narrower opening continuing upward 2 millimeters, and a plastic protrusion in the center of the larger section and a smaller plastic protrusion in the narrow section.
USB 3.0
Micro‑B
A USB 3.0 Micro‑B plug: a wide, flat metal shell, 12 by 2 millimeters, in two sections with latch springs protruding from the bottom side. It is distinct from the USB 3.0 Micro‑A plug only in that the edges of the wider section are chamfered on the upper side and that there may a raised
USB 3.0
Micro‑AB
A USB 3.0 Micro‑AB receptacle: an opening 12 by 2 millimeters, in two sections, distinct from the USB 3.0 Micro‑B receptacle only in that it has no chamfered corners, where the upper corners of the wider section of the USB 3.0 Micro‑B narrow to preclude insertion of a Type‑A plug
USB 3.0
Micro‑B
A USB 3.0 Micro‑B receptacle: an opening 12 by 2 millimeters, in two sections, distinct from the USB 3.0 Micro‑AB receptacle only in that the upper corners of the wider section narrow to preclude insertion of a Type‑A plug
USB 2.0 and earlierHost (Type‑A)USB 2.0
Standard‑A
A USB 2.0 Standard‑A plug: a metal shell, 12 by 4 millimeters, with a plastic insulator body occupying the lower half of the space inside the shell. It is distinct from the later version only in that it lacks five additional contacts deep inside and that the insulator is generally not bright blue.
USB 3.0
Standard‑A
A USB 3.0 Standard‑A receptacle: a rectangular opening five by twelve millimeters with a plastic protrusion inside near the top, the protrusion having notches for the five electrical contacts added for USB 3.x, or a single notch for the same.
USB 2.0
Standard‑A
A USB 2.0 Standard‑A receptacle: a rectangular opening five by twelve millimeters with a wide plastic protrusion inside above the center. It is distinct from the USB 3.x variant in that the protrusion lacks the notch or notches on its underside for five additional contacts.
USB 2.0
Micro‑A
A USB 2.0 Micro‑A plug: a wide, flat metal shell, 7 by 2 millimeters, with latch springs protruding from the bottom side. It is distinct from the USB 2.0 Micro‑B plug only in that all outside corners are right angles, where in the Type‑B plug the corners on the upper side are chamfered, and that there may be a raised
USB 3.0
Micro‑AB
A USB 3.0 Micro‑AB receptacle: an opening 12 by 2 millimeters, in two sections, distinct from the USB 3.0 Micro‑B receptacle only in that it has no chamfered corners, where the upper corners of the wider section of the USB 3.0 Micro‑B narrow to preclude insertion of a Type‑A plug
USB 2.0
Micro‑AB
A USB 2.0 Micro‑AB receptacle: an opening 7 by 2 millimeters, distinct from the USB 2.0 Micro‑B receptacle only in that it is rectangular, where in the Micro‑B receptacle the upper corners narrow to preclude insertion of a Type‑A plug
Mini‑A
A Mini‑A plug: a metal shell 7 by 3 millimeters, narrowing to 6 millimeters in the lower part, with no sharp protrusions. It is distinct from the Mini‑B plug only in that the sides of the wider upper part are flat, where in the Type‑B plug the widest part is only two rounded edges, and that there may be a raised
Mini‑AB
A Mini‑AB receptacle: an opening 7 by 3 millimeters with a gray insulator in the center with the same shape as those of the Mini‑A and ‑B receptacles. The opening of the AB receptacle's opening is the union of those of the A and B receptacles, with only a slight narrowing in the lower half, to allow insertion of either plug type.
Mini‑A
A Mini‑A receptacle: an opening 7 by 3 millimeters with a white insulator in the center with the same shape as those of the Mini‑B and ‑AB receptacles. The A receptacle narrows at the bottom, with little space between the shell and the insulator, to preclude insertion of a B plug.
Peripheral (Type‑B)USB 2.0
Standard‑B
A USB 2.0 Standard‑B plug: 8 by 7 millimeters, with chamfered upper corners. There is a vertical bump on each side of the shell, and on the face a wide rectangular opening in the center of the insulator.
USB 3.0
Standard‑B
A USB 3.0 Standard‑B receptacle: an 8-millimeter-square opening with chamfered upper corners and a narrower opening continuing upward 2 millimeters, and a plastic protrusion in the center of the larger section and a smaller plastic protrusion in the narrow section.
USB 2.0
Standard‑B
A USB 2.0 Standard‑B receptacle: an 8-millimeter-square opening with chamfered upper corners and a plastic protrusion in the center.
USB 2.0
Micro‑B
A USB 2.0 Micro‑B plug: a wide, flat metal shell, 7 by 2 millimeters, with latch springs protruding from the bottom side. It is distinct from the USB 2.0 Micro‑A plug only in that the edges of the upper side are chamfered, where in the Type‑A plug all corners are right angles, and that there may be a raised
USB 3.0
Micro‑AB
A USB 3.0 Micro‑AB receptacle: an opening 12 by 2 millimeters, in two sections, distinct from the USB 3.0 Micro‑B receptacle only in that it has no chamfered corners, where the upper corners of the wider section of the USB 3.0 Micro‑B narrow to preclude insertion of a Type‑A plug
USB 3.0
Micro‑B
A USB 3.0 Micro‑B receptacle: an opening 12 by 2 millimeters, in two sections, distinct from the USB 3.0 Micro‑AB receptacle only in that the upper corners of the wider section narrow to preclude insertion of a Type‑A plug
USB 2.0
Micro‑AB
A USB 2.0 Micro‑AB receptacle: an opening 7 by 2 millimeters, distinct from the USB 2.0 Micro‑B receptacle only in that it is rectangular, where in the Micro‑B receptacle the upper corners narrow to preclude insertion of a Type‑A plug
USB 2.0
Micro‑B
A USB 2.0 Micro‑B receptacle: an opening 7 by 2 millimeters, distinct from the USB 2.0 Micro‑AB receptacle only in that the upper corners narrow to preclude insertion of a Type‑A plug
Mini‑B
A Mini‑B plug: a metal shell 7 by 3 millimeters, narrowing to 6 millimeters in the lower part, with no sharp protrusions. It is distinct from the Mini‑A plug only in that the sides of the wider upper part are rounded, where in the Type‑A plug wide part continues downward a bit more providing flat sides, and there may be a raised
Mini‑AB
A Mini‑AB receptacle: an opening 7 by 3 millimeters with a gray insulator in the center with the same shape as those of the Mini‑A and ‑B receptacles. The opening of the AB receptacle's opening is the union of those of the A and B receptacles, with only a slight narrowing in the lower half, to allow insertion of either plug type.
Mini‑B
A Mini‑B receptacle: an opening 7 by 3 millimeters with a black insulator in the center with the same shape as those of the Mini‑A and ‑AB receptacles. The B is narrower in the lower three-fifths to preclude insertion of a A plug.
USB receptacle compatibility (and capability)
ReceptacleCompatible plugs
CurrentUSB4 2.0 / USB 3.2 / USB4Type‑C
A Full-Featured Type‑C receptacle: an opening 8 by 2.5 millimeters Fwith an insulator carrying many contacts floating in the center. (It is also possible for a Type‑C receptacle to simply be the insulator with contacts exposed, with no shell surrounding.) All contacts are present, twelve on each side of the flat insulator. Type‑C plugs only vary in which contacts are present inside so cannot be distinguished by touch.
Type‑C
A Full-Featured Type‑C plug: a smooth metal shell, 8 by 2.5 millimeters, with rounded sides and rounded edges at the facing end. The end has a narrow slot with all contacts inside. The Full-Featured plug has six shield-contact springs, all more prominent than the four in the other Type‑C plugs, and all contacts are present except the center pair on one side. Type‑C plugs only vary in which contacts are present inside; they cannot be distinguished by touch and are difficult to discern visually without magnification.
LegacyUSB 3.x
Host (Type‑A)USB 3.0
Standard‑A
A USB 3.0 Standard‑A receptacle: a rectangular opening five by twelve millimeters with a wide plastic protrusion above the center, the protrusion having notches on its underside for the five electrical contacts added for USB 3.x, or a single notch for the same.
USB 3.0
Standard‑A
A USB 3.0 Standard‑A plug: a metal shell, 12 by 4 millimeters, with a plastic insulator body occupying the lower half of the space inside the shell. It is distinct from the earlier version only in that it has five additional contacts deep inside and that the insulator is often bright blue.
USB 2.0
Standard‑A
A USB 2.0 Standard‑A plug: a metal shell, 12 by 4 millimeters, with a plastic insulator body occupying the lower half of the space inside the shell. It is distinct from the later version only in that it lacks five additional contacts deep inside and that the insulator is generally not bright blue.
Peripheral (Type‑B)USB 3.0
Standard‑B
A USB 3.0 Standard‑B receptacle: an 8-millimeter-square opening with chamfered upper corners and a narrower opening continuing upward 2 millimeters, and a plastic protrusion in the center of the larger section and a smaller plastic protrusion in the narrow section.
USB 3.0
Standard‑B
A USB 3.0 Standard‑B plug: 8 by 10 millimeters, with an 8-millimeter-wide lower section and a step inward to the 6-millimeter-wide upper section. There is a vertical bump on each side of the wider section, and on the face a wide rectangular opening in the center of the insulator and a smaller open space at the top, bordered by the shell.
USB 2.0
Standard‑B
A USB 2.0 Standard‑B plug: 8 by 7 millimeters, with chamfered upper corners. There is a vertical bump on each side of the shell, and on the face a wide rectangular opening in the center of the insulator.
USB 3.0
Micro‑B
A USB 3.0 Micro‑B receptacle: an opening twelve by 2 millimeters, in two sections, distinct from the USB 3.0 Micro‑AB receptacle only in that the upper corners of the wider section narrow to preclude insertion of an Type‑A plug
USB 3.0
Micro‑B
A USB 3.0 Micro‑B plug: a wide, flat metal shell, twelve by 2 millimeters, in two sections with latch springs protruding from the bottom side. It is distinct from the USB 3.0 Micro‑A plug only in that the edges of the wider section are chamfered on the upper side and that there may a raised
USB 2.0
Micro‑B
A USB 2.0 Micro‑B plug: a wide, flat metal shell, 7 by 2 millimeters, with latch springs protruding from the bottom side. It is distinct from the USB 2.0 Micro‑A plug only in that the edges of the upper side are chamfered, where in the Type‑A plug all corners are right angles, and that there may be a raised
On-The-Go (Type‑AB)USB 3.0
Micro‑AB
A USB 3.0 Micro‑AB receptacle: an opening twelve by 2 millimeters, in two sections, distinct from the USB 3.0 Micro‑B receptacle only in that it has no chamfered corners, where the upper corners of the wider section of the USB 3.0 Micro‑B narrow to preclude insertion of an Type‑A plug
USB 3.0
Micro‑A
A USB 3.0 Micro‑A plug: a wide, flat metal shell, twelve by 2 millimeters, in two sections with latch springs protruding from the bottom side. It is distinct from the USB 3.0 Micro‑B plug only in that all outside corners are right angles, where in the Type‑B plug the corners on the upper side of the wider section are chamfered, and that there may be a raised
USB 3.0
Micro‑B
A USB 3.0 Micro‑B plug: a wide, flat metal shell, twelve by 2 millimeters, in two sections with latch springs protruding from the bottom side. It is distinct from the USB 3.0 Micro‑A plug only in that the edges of the wider section are chamfered on the upper side and that there may a raised
USB 2.0
Micro‑A
A USB 2.0 Micro‑A plug: a wide, flat metal shell, 7 by 2 millimeters, with latch springs protruding from the bottom side. It is distinct from the USB 2.0 Micro‑B plug only in that all outside corners are right angles, where in the Type‑B plug the corners on the upper side are chamfered, and that there may be a raised
USB 2.0
Micro‑B
A USB 2.0 Micro‑B plug: a wide, flat metal shell, 7 by 2 millimeters, with latch springs protruding from the bottom side. It is distinct from the USB 2.0 Micro‑A plug only in that the edges of the upper side are chamfered, where in the Type‑A plug all corners are right angles, and that there may be a raised
USB 2.0 and earlierHost (Type‑A)USB 2.0
Standard‑A
A USB 2.0 Standard‑A receptacle: a rectangular opening five by twelve millimeters with a wide plastic protrusion inside above the center. It is distinct from the USB 3.x variant in that the protrusion lacks the notch or notches on its underside for five additional contacts.
USB 3.0
Standard‑A
A USB 3.0 Standard‑A plug: a metal shell, 12 by 4 millimeters, with a plastic insulator body occupying the lower half of the space inside the shell. It is distinct from the earlier version only in that it has five additional contacts deep inside and that the insulator is often bright blue.
USB 2.0
Standard‑A
A USB 2.0 Standard‑A plug: a metal shell, 12 by 4 millimeters, with a plastic insulator body occupying the lower half of the space inside the shell. It is distinct from the later version only in that it lacks five additional contacts deep inside and that the insulator is generally not bright blue.
Mini‑A
A Mini‑A receptacle: an opening 7 by 3 millimeters with a white insulator in the center with the same shape as those of the Mini‑B and ‑AB receptacles. The A receptacle narrows at the bottom, with little space between the shell and the insulator, to preclude insertion of a B plug.
Mini‑A
A Mini‑A plug: a metal shell 7 by 3 millimeters, narrowing to 6 millimeters in the lower part, with no sharp protrusions. It is distinct from the Mini‑B plug only in that the sides of the wider upper part are flat, where in the Type‑B plug the widest part is only two rounded edges, and that there may be a raised
Peripheral (Type‑B)USB 2.0
Standard‑B
A USB 2.0 Standard‑B receptacle: an 8-millimeter-square opening with chamfered upper corners and a plastic protrusion in the center.
USB 2.0
Standard‑B
A USB 2.0 Standard‑B plug: 8 by 7 millimeters, with chamfered upper corners. There is a vertical bump on each side of the shell, and on the face a wide rectangular opening in the center of the insulator.
USB 2.0
Micro‑B
A USB 2.0 Micro‑B receptacle: an opening 7 by 2 millimeters, distinct from the USB 2.0 Micro‑AB receptacle only in that the upper corners narrow to preclude insertion of an Type‑A plug
USB 2.0
Micro‑B
A USB 2.0 Micro‑B plug: a wide, flat metal shell, 7 by 2 millimeters, with latch springs protruding from the bottom side. It is distinct from the USB 2.0 Micro‑A plug only in that the edges of the upper side are chamfered, where in the Type‑A plug all corners are right angles, and that there may be a raised
Mini‑B
A Mini‑B receptacle: an opening 7 by 3 millimeters with a black insulator in the center with the same shape as those of the Mini‑A and ‑AB receptacles. The B is narrower in the lower three-fifths to preclude insertion of an A plug.
Mini‑B
A Mini‑B plug: a metal shell 7 by 3 millimeters, narrowing to 6 millimeters in the lower part, with no sharp protrusions. It is distinct from the Mini‑A plug only in that the sides of the wider upper part are rounded, where in the Type‑A plug wide part continues downward a bit more providing flat sides, and there may be a raised
On-The-Go (Type‑AB)USB 2.0
Micro‑AB
A USB 2.0 Micro‑AB receptacle: an opening 7 by 2 millimeters, distinct from the USB 2.0 Micro‑B receptacle only in that it is rectangular, where in the Micro‑B receptacle the upper corners narrow to preclude insertion of an Type‑A plug
USB 2.0
Micro‑A
A USB 2.0 Micro‑A plug: a wide, flat metal shell, 7 by 2 millimeters, with latch springs protruding from the bottom side. It is distinct from the USB 2.0 Micro‑B plug only in that all outside corners are right angles, where in the Type‑B plug the corners on the upper side are chamfered, and that there may be a raised
USB 2.0
Micro‑B
A USB 2.0 Micro‑B plug: a wide, flat metal shell, 7 by 2 millimeters, with latch springs protruding from the bottom side. It is distinct from the USB 2.0 Micro‑A plug only in that the edges of the upper side are chamfered, where in the Type‑A plug all corners are right angles, and that there may be a raised
Mini‑AB
A Mini‑AB receptacle: an opening 7 by 3 millimeters with a gray insulator in the center with the same shape as those of the Mini‑A and ‑B receptacles. The opening of the AB receptacle's opening is the union of those of the A and B receptacles, with only a slight narrowing in the lower half, to allow insertion of either plug type.
Mini‑A
A Mini‑A plug: a metal shell 7 by 3 millimeters, narrowing to 6 millimeters in the lower part, with no sharp protrusions. It is distinct from the Mini‑B plug only in that the sides of the wider upper part are flat, where in the Type‑B plug the widest part is only two rounded edges, and that there may be a raised
Mini‑B
A Mini‑B plug: a metal shell 7 by 3 millimeters, narrowing to 6 millimeters in the lower part, with no sharp protrusions. It is distinct from the Mini‑A plug only in that the sides of the wider upper part are rounded, where in the Type‑A plug wide part continues downward a bit more providing flat sides, and there may be a raised
USB cables and capabilities, by connector type
Illustrations to scale
Plug at
A end
(host)
Plug at
B end
(peripheral)
CurrentLegacyDeprecated
Type-C
A Full-Featured Type‑C plug: a smooth metal shell, 8 by 2.5 millimeters, with rounded sides and rounded edges at the facing end. The end has a narrow slot with all contacts inside. The Full-Featured plug has 6 shield-contact springs, all more prominent than the four in the other Type‑C plugs, and all contacts are present except the center pair on one side. Type‑C plugs only vary in which contacts are present inside; they cannot be distinguished by touch and are difficult to discern visually without magnification.
USB 3.0
Standard‑A
A USB 3.0 Standard‑A plug: a metal shell, 12 by 4 millimeters, with a plastic insulator body occupying the lower half of the space inside the shell. It is distinct from the earlier version only in that it has five additional contacts deep inside and that the insulator is often bright blue.
USB 3.0
Micro‑A
A USB 3.0 Micro‑A plug: a wide, flat metal shell, twelve by 2 millimeters, in two sections with latch springs protruding from the bottom side. It is distinct from the USB 3.0 Micro‑B plug only in that all outside corners are right angles, where in the Type‑B plug the corners on the upper side of the wider section are chamfered, and that there may be a raised
USB 2.0
Standard‑A
A USB 2.0 Standard‑A plug: a metal shell, 12 by 4 millimeters, with a plastic insulator body occupying the lower half of the space inside the shell. It is distinct from the later version only in that it lacks five additional contacts deep inside and that the insulator is generally not bright blue.
USB 2.0
Micro‑A
A USB 2.0 Micro‑A plug: a wide, flat metal shell, 7 by 2 millimeters, with latch springs protruding from the bottom side. It is distinct from the USB 2.0 Micro‑B plug only in that all outside corners are right angles, where in the Type‑B plug the corners on the upper side are chamfered, and that there may be a raised
Mini‑A
A Mini‑A plug: a metal shell 7 by 3 millimeters, narrowing to 6 millimeters in the lower part, with no sharp protrusions. It is distinct from the Mini‑B plug only in that the sides of the wider upper part are flat, where in the Type‑B plug the widest part is only two rounded edges, and that there may be a raised
CurrentType‑C
A Full-Featured Type‑C plug: a smooth metal shell, 8 by 2.5 millimeters, with rounded sides and rounded edges at the facing end. The end has a narrow slot with all contacts inside. The Full-Featured plug has 6 shield-contact springs more prominent than in other Type‑C plugs, and all contacts are present except the center pair on one side. Type‑C plugs only vary in which contacts are present inside so cannot be distinguished by touch.
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)
ProhibitedUp to 480 Mbit/s half duplex (USB 2.0)ProhibitedProhibited
LegacyUSB 3.0
Standard‑B
A USB 3.0 Standard‑B plug: 8 by 10 millimeters, with an 8-millimeter-wide lower section and a step inward to the 6-millimeter-wide upper section. There is a vertical bump on each side of the wider section, and on the face a wide rectangular opening in the center of the insulator and a smaller open space at the top, bordered by the shell.
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
A USB 3.0 Micro‑B plug: a wide, flat metal shell, twelve by 2 millimeters, in two sections with latch springs protruding from the bottom side. It is distinct from the USB 3.0 Micro‑A plug only in that the edges of the wider section are chamfered on the upper side and that there may a raised
USB 2.0
Standard‑B
A USB 2.0 Standard‑B plug: 8 by 7 millimeters wide, with chamfered upper corners. There is a vertical bump on each side of the shell, and on the face a wide rectangular opening in the center of the insulator.
Up to 480 Mbit/s half duplex (USB 2.0)—N/aUp to 480 Mbit/s half duplex (USB 2.0)ProhibitedProhibited
USB 2.0
Micro‑B
A USB 2.0 Micro‑B plug: a wide, flat metal shell, 7 by 2 millimeters, with latch springs protruding from the bottom side. It is distinct from the USB 2.0 Micro‑A plug only in that the edges of the upper side are chamfered, where in the Type‑A plug all corners are right angles, and that there may be a raised
Up to 480 Mbit/s half duplex (USB 2.0)Up to 480 Mbit/s half duplex (USB 2.0)
Mini‑B
A Mini‑B plug: a metal shell 7 by 3 millimeters, narrowing to 6 millimeters in the lower part, with no sharp protrusions. It is distinct from the Mini‑A plug only in that the sides of the wider upper part are rounded, where in the Type‑A plug wide part continues downward a bit more providing flat sides, and there may be a raised
Prohibited
USB adapters, by connector type
Plug
Legacy
receptacle
CurrentLegacy
Type‑C
A Full-Featured Type‑C plug: a smooth metal shell, 8 by 2.5 millimeters, with rounded sides and rounded edges at the facing end. The end has a narrow slot with all contacts inside. The Full-Featured plug has six shield-contact springs, all more prominent than the four in the other Type‑C plugs, and all contacts are present except the center pair on one side. Type‑C plugs only vary in which contacts are present inside; they cannot be distinguished by touch and are difficult to discern visually without magnification.
USB 2.0 Micro‑A
A USB 2.0 Micro‑A plug: a wide, flat metal shell, 7 by 2 millimeters, with latch springs protruding from the bottom side. It is distinct from the USB 2.0 Micro‑B plug only in that all outside corners are right angles, where in the Type‑B plug the corners on the upper side are chamfered, and that there may be a raised
USB 3.0 Standard‑A
A USB 3.0 Standard‑A receptacle: a rectangular opening five by twelve millimeters with a plastic protrusion inside near the top, the protrusion having  notches for the five electrical contacts added for USB 3.x, or a single  notch for the same.
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
A USB 2.0 Micro‑B receptacle: an opening 7 by 2 millimeters, distinct from the USB 2.0 Micro‑AB receptacle only in that the upper corners narrow to preclude insertion of an Type‑A plug
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
A USB 2.0 Standard‑A receptacle: a rectangular opening five by twelve millimeters with a wide plastic protrusion inside above the center. It is distinct from the USB 3.x variant in that the protrusion lacks the notch or notches on its underside for five additional contacts.
—N/aUp to 480 Mbit/s half duplex (USB 2.0)
to connect a peripheral device to an On-The-Go device

Cabling

A USB twisted pair, in which the Data+ and Data− conductors are twisted together in a double helix. The wires are enclosed in a further layer of shielding.

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.

The USB Type-C Charging logo (USB4 20 Gbps port)

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

USB power standards
SpecificationCurrent (max.)VoltagePower (max.)
Low-power device100 mA5 V0.50 W
Low-power SuperSpeed (USB 3.0) device150 mA5 V0.75 W
High-power device500 mA5 V2.5 W
High-power SuperSpeed (USB 3.0) device900 mA5 V4.5 W
Battery Charging (BC) 1.21.5 A5 V7.5 W
Single-lane SuperSpeed+ (USB 3.2 Gen 2×1) device1.5 A5 V7.5 W
Power Delivery 3.0 SPR3 A5 V15 W
Power Delivery 3.0 SPR3 A9 V27 W
Power Delivery 3.0 SPR3 A15 V45 W
Power Delivery 3.0 SPR3 A20 V60 W
Power Delivery 3.0 SPR Type-C5 A20 V100 W
Power Delivery 3.1 EPR Type-C5 A28 V140 W
Power Delivery 3.1 EPR Type-C5 A36 V180 W
Power Delivery 3.1 EPR Type-C5 A48 V240 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.
USB PD Rev. 1.0 source profiles
Profile+5 V+12 V+20 V
0Reserved
12.0 A, 10 W—N/a—N/a
21.5 A, 18 W
33.0 A, 36 W
43.0 A, 60 W
55.0 A, 60 W5.0 A, 100 W
Default start-up profile
USB Power Delivery rev. 2.0/3.x power rules
PowerMinimum USB‑C
cable required
VoltageCurrent
≤ 15 WAny5 V≤ 3.0 A
≤ 27 W9 V
≤ 45 W15 V
≤ 60 W20 V
≤ 100 W5 A, or 100 W20 V≤ 5.0 A
≤ 140 W240 W28 V≤ 5.0 A
≤ 180 W36 V
≤ 240 W48 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

Question 1 of 5

Why did older USB connectors have different shapes for each role?

Pictures

A blue USB port on a home internet router. This port is a USB 2.0 connector, which lacks the extra contacts found in faster USB 3.0 ports.
A USB-A port on top and a USB-C port on the bottom, two common types of connectors used to plug in cables and devices.
A USB Standard-A plug, the flat rectangular connector used to plug many devices into computers.
A close-up view of the USB-C charging port on a Nokia 8 smartphone.
A USB Mini-B extension cable with a plug on one end and a socket on the other. Cables like this are used to connect small devices, though this type is not recommended by official USB standards.
A Nokia-branded Micro-A USB plug, a small connector once common for charging phones and other devices.
A Micro-B USB plug, a small connector often used to charge phones and other devices.
A small adapter that lets a Lightning cable plug into a USB Micro-B port, helping different phone and gadget chargers work together.
A USB 3 Micro-B plug, a small connector used to attach devices like phones and hard drives to computers.
A close-up comparison of USB Mini-A and Mini-B connectors, showing how their inner plastic parts are different colours (white for Mini-A, black for Mini-B).

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.