DC Jack Selection Guide: Barrel Sizes, Polarity and Current Rating
One part, three dimensions, and a polarity convention nobody writes down
The DC barrel jack is the most casually specified connector on a typical board. It goes on the BOM as “DC jack 5.5×2.1” and everybody moves on. Then production receives a batch with a 2.5 mm centre pin, or the field reports that the unit reboots when the cable is touched, or a customer plugs in a supply of the wrong polarity and the board is destroyed.
The barrel jack has three independent dimensions, two polarity conventions, and a switching contact that is frequently wired wrong or not wired at all. This guide covers all of it, and then addresses the question worth asking in 2026: whether the barrel jack is still the right choice at all.
The three dimensions and why all three matter
A barrel jack is specified by outer diameter (OD), inner diameter (ID), and barrel length. All three have to match the plug.
| Size (OD × ID) | Typical barrel length | Current capability | Where it is used |
|---|---|---|---|
| 5.5 × 2.1 mm | 9.5–11.0 mm | 2–5 A | The default for 12 V and 24 V equipment: routers, LED drivers, industrial panels |
| 5.5 × 2.5 mm | 9.5–11.0 mm | 5–10 A | Higher-current supplies, older laptops, some POS hardware |
| 4.0 × 1.7 mm | 9.5 mm | 1–3 A | Compact devices, set-top boxes, some cameras |
| 3.5 × 1.35 mm | 9.5 mm | 1–2 A | Small consumer devices, speakers, hubs |
| 2.35 × 0.7 mm | — | <1 A | Very small devices, wearables docks |
The 5.5 × 2.1 mm size is the de facto standard for anything running at 12 V or 24 V, and it is the size most likely to be assumed when someone says “standard DC jack.”
The 2.1 / 2.5 mm trap
A 2.1 mm plug will not enter a 2.5 mm jack’s centre pin contact properly — it makes a loose, high-resistance connection. A 2.5 mm plug will not enter a 2.1 mm jack at all.
What this means in practice: if your product uses a 2.1 mm jack and the customer has a 2.5 mm supply, nothing happens — the plug does not fit, and the failure is obvious. If your product uses a 2.5 mm jack and the customer has a 2.1 mm supply, the plug goes in with almost no resistance, the contact is marginal, and the unit works until the current draw rises or the cable is bumped. That is the dangerous direction, and it is the reason some designers deliberately choose the 2.1 mm jack — it fails safe.
Barrel length is not cosmetic
A plug with a short barrel inserted into a deep jack may not reach the centre pin contact. A plug with a long barrel in a shallow jack leaves the outer contact engaged by only part of its length, which reduces retention and increases contact resistance. Both are intermittent-failure generators that pass a bench test with the cable lying still.
Specify the barrel length in the drawing and buy the mating supply or cable assembly to the same drawing. A jack on the BOM without a corresponding plug specification is only half a connector system.
Polarity: the convention that is not universal
Centre-positive is the dominant convention. The centre pin carries the positive rail and the barrel carries ground. Nearly every 12 V adapter sold for consumer and industrial equipment follows it, and the polarity symbol printed on the supply — a circle with a plus on the centre — is the marking to check.
Centre-negative exists and is not rare enough to ignore. It is common on guitar effect pedals, on some Japanese audio equipment, and on a scattering of industrial and telecom hardware. A centre-negative supply connected to a centre-positive product applies reverse polarity to every component on the input rail.
| Convention | Centre pin | Barrel | Seen on |
|---|---|---|---|
| Centre positive | +V | 0 V | Most 12 V and 24 V equipment, routers, LED drivers |
| Centre negative | 0 V | +V | Guitar pedals, some audio and telecom hardware |
Two design responses are worth considering, and they are not mutually exclusive:
Label it. Print the polarity symbol next to the jack on the enclosure. This is cheap and it is the only thing that helps a customer with a drawer full of supplies.
Protect the input. A reverse-polarity MOSFET or an ideal-diode controller on the input rail costs a few cents and survives a wrong supply. A series Schottky diode is cheaper but wastes voltage and heat. For any product that will be connected by an end user to an arbitrary supply, add the protection. It is cheaper than the RMA.
The switching contact, and the three ways it gets wired wrong
Most PCB-mount DC jacks include a normally-closed switch contact that opens when a plug is inserted. It exists to disconnect an internal battery when external power is applied, and it is frequently misunderstood.
| Contact | Behaviour with no plug | Behaviour with plug inserted |
|---|---|---|
| Centre | Connected to the centre contact | Connected to the plug’s centre pin |
| Barrel / sleeve | Connected to the barrel contact | Connected to the plug’s barrel |
| Switch | Closed to the barrel (or to a dedicated pin) | Opens, breaking the battery path |
Mistake one: using the switch contact to carry the main supply current. The switch blade is thin and rated for signalling or battery currents, not for the full load. If the product draws 3 A, the switch contact will heat and eventually weld or fail open.
Mistake two: relying on the switch for load disconnection. The switch opens when a plug is inserted, which is the opposite of what a “power path” needs. It is a battery-disconnect signal, not a load switch.
Mistake three: leaving the switch floating. An unused switch contact on a jack is harmless electrically, but the part is then paying for a feature nobody uses. If the switch is not needed, specify the two-contact version and save the cost.
If the product has both a battery and an external supply, the correct use is: switch contact to a GPIO or to the gate of a load-switch MOSFET, so that firmware or hardware can tell whether external power is present, and can disconnect the battery path cleanly. Do not run the battery current through the jack switch.
Current rating and the contact area question
The current rating of a barrel jack is set by the contact area and the spring force of the barrel contact, not by the pin diameter alone.
| Load at 12 V | Current | Jack suitability |
|---|---|---|
| 6 W | 0.5 A | Any size |
| 24 W | 2 A | 5.5 × 2.1 mm comfortably |
| 60 W | 5 A | 5.5 × 2.5 mm, or 5.5 × 2.1 mm with a high-current rated part |
| 120 W | 10 A | 5.5 × 2.5 mm high-current, or move to a different connector |
Two things happen when a barrel jack is run at its limit. First, the barrel contact heats, and the spring force relaxes, which increases resistance, which increases heat. This is a runaway that starts slowly and shows up as a jack that works cold and fails warm. Second, the centre pin in the plug — which is usually a folded metal tab, not a solid pin — can deform.
Derate. A jack rated at 5 A is a reasonable choice for 3 A continuous. It is not a reasonable choice for 5 A continuous in a sealed enclosure at 60 °C ambient.
Mounting options and the mechanical loads they carry
| Mounting | Description | Load path | Best for |
|---|---|---|---|
| Right-angle PCB | Body lies along the board, barrel faces the case side | Insertion force into the solder joints | Most compact equipment |
| Vertical PCB | Barrel points up from the board | Bending moment into the joints | Board-top access, low-profile cases |
| Through-hole | Pins through plated holes | Better than SMT for insertion force | Anything plugged in repeatedly |
| Panel mount | Body fixed to the enclosure, wired or PCB-tailed | Insertion force into the panel | Industrial, field-serviceable equipment |
Right-angle SMT jacks are popular because they are cheap to place, but they take the full insertion force through surface-mount pads. If the product is plugged in daily, use through-hole or add mechanical anchoring. A cracked solder joint on a DC jack presents as random reboots that stop when the cable is held at a particular angle — a diagnostic nightmare that would have been avoided with two through-hole pins.
Retention and insertion force
Retention comes from the spring force of the barrel contact pressing on the plug’s outer barrel. It is not a lock. There is no latch on a standard barrel jack, which is why equipment with a barrel jack gets pulled off the shelf when someone trips on the cable.
If retention matters — portable equipment, anything on a cable that gets tugged — three options exist, in increasing cost:
Higher-retention jack. Some jacks have a stiffer barrel spring and a deeper engagement. This helps, but it also increases insertion force, which the solder joints and the case have to tolerate.
Locking barrel jack. A screw-lock or twist-lock version retains positively. It removes the accidental-disconnect failure but adds a step to every connect cycle.
Move to a different connector. If the product needs locking retention and 5 A, a circular connector or a terminal block may be the better answer than a barrel jack with a screw collar.
Is the barrel jack still the right choice?
For 12 V and 24 V equipment in industrial or fixed installations, yes. The barrel jack is cheap, universally understood, available in sealed versions, and requires no protocol negotiation.
For consumer products that charge a battery, the answer has shifted. USB-C Power Delivery delivers up to 240 W over a connector that also carries data, and it removes the “wrong supply” failure mode entirely because the negotiation is electrical rather than mechanical.
| Requirement | Barrel jack | USB-C PD |
|---|---|---|
| Cost per port | Low | Higher — connector plus PD controller |
| Wrong-supply protection | None — mechanical only | Negotiated, inherently safe |
| Maximum power | Limited by contact area | Up to 240 W (USB PD 3.1) |
| Data over the same cable | No | Yes |
| Sealed options | Available, IP-rated | Available but fewer choices |
| Field repairability | Trivial — any supply works | Requires a PD source |
| Design effort | None | PD controller, CC pins, thermal design |
The honest summary: barrel jacks remain correct for fixed 12/24 V industrial equipment and for products where the supply is provided with the unit and never substituted. They are the wrong choice for consumer charging, where USB-C PD has already won.
Selection checklist
| Decision | Ask | Typical answer |
|---|---|---|
| Size | What supply is shipped or expected? | 5.5 × 2.1 mm for 12/24 V |
| Polarity | Is the supply fixed or customer-supplied? | Centre positive; add reverse protection if customer-supplied |
| Current | Continuous load, and ambient temperature? | Derate to about 60% of the jack rating |
| Switch contact | Is there an internal battery? | Yes — wire to a GPIO, not in the load path |
| Mounting | How often is it plugged in? | Through-hole or panel mount if regularly |
| Retention | Can the cable be pulled? | Locking version if yes |
| Sealing | Outdoor or washdown? | IP-rated jack plus sealed enclosure |
| Alternative | Consumer charging product? | USB-C PD instead |
FAQ
Will a 2.1 mm plug fit a 2.5 mm jack? It enters but makes poor contact — the centre pin contact is loose and resistance is high. The failure appears intermittently under load or vibration. It is the more dangerous of the two mismatches.
Will a 2.5 mm plug fit a 2.1 mm jack? No. The plug is physically too large for the opening. The failure is obvious and therefore safe.
What polarity is standard? Centre positive. It is the dominant convention for 12 V and 24 V equipment, but centre-negative exists on guitar pedals and some audio gear, so check the supply marking.
Can the switch contact carry the main load? No. The switch blade is rated for signalling or small battery currents. Use it as a presence signal or to drive a MOSFET gate.
Why does the unit reboot when the cable moves? Usually a cracked solder joint on an SMT jack, or a barrel contact that has lost spring force. Both present as intermittent power and are frequently misdiagnosed as a firmware problem.
How much should I derate a barrel jack? Around 60% of the rated current for continuous operation, and less in a sealed enclosure at elevated ambient temperature.