All About DC Barrel Jacks/Plugs

Unfortunately, there are no real standard sizes in the industry. Plugs & compatible jacks can vary by barrel diameter, pin diameter and barrel length. Even the polarity is non-standard. Some appliances actually use the center pin for negative/ground and the outer barrel for positive. You can determine which one is used by the pictorial representation found on the side of a gadget. It will show the pin and outer barrel and the polarity of each.

Even though there are two diameters that determine the size of the jack/plug, usually only the pin diameter is specified. For example, the popular 2.1mm jack has a barrel diameter of 5.5mm. The barrel diameter is assumed in most cases.

Despite the total lack of standards for household stuff, for the hobbyist, some popular sizes have emerged.

For low power connections, the pin diameter is 2.1mm and the barrel diameter is 5.5mm.

For higher current connections, having currents greater than 2.0 amps, the pin diameter is usually 2.5mm with a barrel diameter of 5.5mm.

Barrel length on the plugs seems to have settled at about 9.5 to 12mm long. The length match is not as critical as long as the plug is sufficiently long to make good contact in the jack. The jacks, plugs and power adapters we carry are all compatible with each other regarding the length.

In your own projects, polarity is a matter of individual choice. The convention should be positive for the pin (TIP), and negative for the outer barrel (RING). This practice is nearly universal except for some odd-ball gadgets.

Connecting the Barrel Jack

Barrel jacks have three pins – positive (TIP), ground (RING) and connection detect (RING_SW). The pin at the end of the barrel is positive, and the one coming out the bottom is ground. The third pin comes out the side and is used to detect the insertion of the plug. Referring to the schematic symbol:


The RING_SW pin detects if a plug is inserted. When a plug is inserted this pin will no longer be connected to the RING pin (Gnd).




All About DC Barrel Jacks/Plugs by Provide Your Own is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

This entry was posted in Tech. Section: . Bookmark the permalink. Both comments and trackbacks are currently closed.


  1. manochitra
    Posted July 5, 2013 at 1:01 am | Permalink


    We chose the EMSA050300 adapter for 12v input for my project.
    So we can select the Connector PJ065A to the EMSA050300 adapter.
    Hence how can connect the PJ065A with my circuit board.
    Because we need to give the 12v from the adapter to LM2675-3.3(converter)IC in our circuit.
    The PJ065A has 3 Contacts in that schematic.
    Please can you give the description about the 3 contacts in PJ065A for me as earlier.

    Which one is connect to the VIN pin of LM2675?

    and What about another 2 pins?

    • Posted July 12, 2013 at 10:11 pm | Permalink

      Just go to digikey for the PJ065A and look at their spec sheet. It gives the pinout for the jack.

  2. Ricardo
    Posted February 5, 2015 at 8:16 am | Permalink

    Nice article. All my doubts got cleared up! 🙂

  3. Posted April 6, 2018 at 12:19 pm | Permalink

    It sure took a lot of research to make an article like this.

  4. Posted April 7, 2018 at 12:26 pm | Permalink

    I’ve never ever read anything better!

  5. Posted April 8, 2018 at 8:49 am | Permalink

    I came to the same exact conclusion as you did.

  6. Posted April 8, 2018 at 3:22 pm | Permalink

    You can say that again!

  7. Posted April 10, 2018 at 6:27 am | Permalink

    Way to go on making a great site!

  8. Posted April 11, 2018 at 10:34 pm | Permalink

    Free data recovery softwaredownload to recover lost or deleted file, photo, video, document from hard disk, memory card, USB drive, mobile phone on Windows PC.

  9. Posted April 12, 2018 at 7:06 am | Permalink

    Eat much rice?

  10. Posted April 12, 2018 at 6:25 pm | Permalink

    How to Recover a Dead Hard Disk. … If you”re worried about an external hard drive … com 5951822 how can i recover data from a dead or erased hard drive

  11. Posted April 12, 2018 at 6:25 pm | Permalink forum 279966 32 recover data broken external hard drive RK=2 RS=y8mLRK.XbXZ3I5Hv3JjyAR9o1Zs

  12. Posted April 12, 2018 at 9:17 pm | Permalink

    The method for recovering data from an external hard drive depends on the cause of the hard drive failure or data loss. Problems can be caused by the hard drive enclosure, interface or power upply. There may also be a mechanical or logical failure on the hard drive …

  13. Posted April 12, 2018 at 9:18 pm | Permalink

    Free External Hard Drive Data Recovery Download

  14. Posted April 13, 2018 at 3:44 am | Permalink

    Try not to laugh!

  15. Posted April 13, 2018 at 6:21 am | Permalink

    Got milk?

  16. Posted April 13, 2018 at 1:47 pm | Permalink

    Don’t forget the grilled onions!

  17. Posted April 13, 2018 at 6:33 pm | Permalink

    Way to go Edward. This blog is amazing!

  18. Posted April 13, 2018 at 11:14 pm | Permalink

    No one can ever say this site is boring!

  19. Posted April 14, 2018 at 12:32 pm | Permalink

    Would you like some popcorn?

  20. Posted April 15, 2018 at 6:29 am | Permalink

    These two are some real messy eaters!