Printer USB Cable Guide: Which Cable Does My Printer Need?

Quick answer: most home and office printers use a standard USB 2.0 A-to-B cable — the flat, rectangular USB-A plug goes into your computer and the squarer USB-B plug goes into the printer. If your laptop only has USB-C ports (most recent MacBooks and many Windows ultrabooks), buy a USB-C-to-USB-B printer cable instead. Keep the cable under 16 feet (5 meters), skip USB hubs when you can, and don't pay extra for USB 3.0 — a printer can't use the extra speed.

What Kind of USB Cable Does a Printer Use?

Look at the port on the back of your printer. Nearly every inkjet and laser printer made in the last 20 years has a USB Type-B port: roughly square, with two beveled corners on top. That's why the cable is sold as a "USB A to B printer cable." The other end depends on your computer.

Computer port Printer port Cable to buy
USB-A (rectangular) — most desktops and older laptops USB-B (square) USB 2.0 A-to-B printer cable
USB-C (small oval) — MacBooks, newer Windows laptops, iPads USB-B (square) USB-C to USB-B printer cable
USB-C USB-C (some portable and newer printers) USB-C to USB-C data cable
USB-A or USB-C Micro-USB (some portable, label and photo printers) USB to Micro-USB data cable
Any 36-pin parallel (Centronics) — printers from before about 2005 USB-to-parallel (IEEE 1284) adapter cable

Are All Printer USB Cables the Same?

Functionally, yes — a USB 2.0 A-to-B cable from one brand works with an HP, Canon, Epson, Brother, Xerox or Lexmark printer from any other. There's no such thing as an "HP-only" USB cable. What does vary is length, shielding and build quality. A cheap, thin, unshielded cable can cause dropped jobs or "printer not found" errors, especially near power cords or when it's longer than about 10 feet. A cable with ferrite cores (the small cylinders near each end) and a braided shield is worth the extra dollar or two.

Does a New Printer Come With a USB Cable?

Often not. Many printers sold in the US no longer include a USB cable because manufacturers expect you to connect over Wi-Fi. Check the "What's in the box" list on the packaging or product page before you buy. If you plan to connect by cable, order one at the same time as the printer — our printer buying guide and the PrinterIQ Finder can help you pick the printer first.

Do I Need a USB 3.0 Printer Cable?

No. USB 2.0 carries up to 480 Mbps — far more than any printer needs, even for large photo jobs. Some printers and scanners have a USB 3.0 Type-B port, which is taller than a normal B port. A regular USB 2.0 B plug still fits and works in a USB 3.0 B port, but a USB 3.0 B plug won't fit a USB 2.0 port, so the standard 2.0 cable is the safe choice.

How Long Can a Printer USB Cable Be?

The USB 2.0 specification allows a passive cable up to 5 meters (about 16 feet). Beyond that, the signal weakens and you'll see intermittent errors. For longer runs:

Can I Use My Phone Charging Cable?

Only if the connectors match and the cable carries data. Some low-cost charging cables are "charge-only" and have no data wires, so the printer never shows up. If a cable charges your phone but the computer can't see the printer, swap in a cable labeled as a data or sync cable.

How Do I Connect a Printer With a USB Cable?

  1. Turn the printer on and load paper.
  2. Plug the USB-B end into the printer and the other end directly into the computer — not a keyboard or monitor port.
  3. Windows: the driver usually installs automatically. Confirm in Settings > Bluetooth & devices > Printers & scanners. If it doesn't appear, click Add device.
  4. Mac: open System Settings > Printers & Scanners and click Add Printer, Scanner, or Fax — full steps in how to add a printer to a Mac.
  5. Chromebook: plug in and follow the prompt — see printing from a Chromebook.
  6. Print a test page to confirm everything works — download our free printer test page.

Some manufacturers ask you to install their software before plugging in the cable. If the setup guide says so, follow that order; otherwise Windows may install a basic driver that lacks scanning or ink-level features (more in what a printer driver does).

Why Won't My Computer Recognize My USB Printer?

  • Try another USB port, preferably one on the back of a desktop (directly on the motherboard).
  • Remove hubs, docks and extension cables to rule them out.
  • Swap the cable. Cables fail more often than printer ports, and a replacement costs less than troubleshooting time.
  • Check that the printer isn't set to Wi-Fi-only. Some printers disable USB when wireless direct mode is on.
  • Reinstall the driver — see "driver is unavailable" fixes.
  • Work through why a printer won't connect to the computer for more checks.

USB vs Wi-Fi vs Ethernet: Which Connection Is Best?

Connection Best for Drawbacks
USB One computer next to the printer; the most reliable, no network setup Only that computer can print (unless it shares the printer); cable length limits
Wi-Fi Homes with several laptops and phones Can drop offline after router changes — see why printers go offline
Ethernet Offices and busy home offices Printer must sit near a router or network jack

Frequently Asked Questions

What is a USB printer cable called?

It's usually called a "USB A to B cable," "USB 2.0 printer cable" or "USB-B cable." For USB-C laptops, look for "USB-C to USB-B printer cable."

Why does a wireless printer come with a USB port?

USB is a reliable backup when Wi-Fi fails, and some older models use it for the first setup. You don't need it for day-to-day wireless printing.

Can I use a USB-C adapter with my existing printer cable?

Yes. A USB-C (male) to USB-A (female) adapter lets a standard A-to-B printer cable plug into a USB-C laptop.

Is a printer cable the same as a scanner cable?

Yes — most scanners and all-in-one printers use the same USB A-to-B cable.

Can a bad USB cable cause printing errors?

Yes. A damaged or poorly shielded cable can cause half-printed pages, garbled output and random disconnects. If your printer prints gibberish, a new cable is one of the first things to try.

How do I find my printer's IP address if I switch from USB to network?

See how to find your printer's IP address.

Keep Printing

Once your printer is connected, make sure it's stocked. Castle Ink sells compatible and remanufactured ink and toner for thousands of models — look yours up on the Find Ink by Printer page, or browse HP ink, Brother toner and all toner cartridges. Stuck on something else? Visit the printer troubleshooting center.

As an Amazon Associate, Castle Ink earns from qualifying purchases.

Castle Ink Presents
The CastleScore™ — this month’s top-rated printers

An independent 0–100 score for every printer, refreshed monthly from thousands of owner reviews and expert tests — plus what the ink or toner actually costs to run. See this month's Top 10 inkjet and laser rankings, or use the PrinterIQ™ finder.

See the CastleScore rankings →
Written and reviewed by — Founder of Castle Ink, 20+ years in the printer & imaging supplies industry.