USB-B Cable: Square, Reliable, Everywhere

The plug that fits nothing else in the drawer is USB-B, and devices that use it tend to run for a decade or more.

Quick Answer

VariantShapeSpeedCommon devices
USB-B 2.0Square, bevelled corners480 MbpsPrinters, scanners, hubs
USB-B 3.0Wider, taller section on top5 GbpsFaster drives and docks
Mini-BSmall five pin480 MbpsCameras, older devices
Micro-BSmaller still480 Mbps, 3.0 variant existsDrives, phones of its era

Choosing a Replacement

Match the socket

Wide socket takes the 3.0 plug. Standard socket takes 2.0 only.

Data capability

Charge only cables look identical and transfer nothing. The most common fault.

Host end

Usually USB-A. C only machines need a C to B cable or an adapter.

Length

One to three metres covers most desks and racks.

Why the Device Does Not Appear

  1. Cable is charge only. Test with another.
  2. Wrong plug variant forced in, or a loose fit.
  3. Port issue on the computer. Try another.
  4. Device in an error state.
  5. Driver missing on the host.

Real-World Applications

Related Guides

For the double ended form, read USB-A USB-B cable guide. For the printer context, see USB printer cord. For Mini-B, start with USB Mini B cable.

FAQ

What is the square plug called?

USB-B, in 2.0 and 3.0 variants.

Do I need the 3.0 version?

Only if the device has the wide socket. Most printers do not.

Why does mine charge but not transfer?

A charge only cable.

Can I get a longer one?

Yes, within the roughly five metre limit of USB 2.0.