Why USB-A Plugs Have Two Square Holes
The two square openings on a USB-A plug let spring-loaded clips in the port hold the connector securely in place; they are mechanical retention features, not electrical contacts.
The two square openings in a USB-A plug’s metal shell are part of its retention system. Spring-loaded clips inside the matching female port engage with the openings when the plug is inserted, creating the resistance that keeps it from slipping out during normal power and data use.
The holes do not carry electricity, data or power. They work with the clips in the port to maintain a stable physical connection, including while a peripheral is powered, files are transferred or a device is charging.
This design also helps explain why USB-A is not reversible: its shape, internal layout and retention hardware are arranged for one insertion direction. The connector was designed for repeated everyday use and remains common on keyboards, printers, storage devices, chargers and hubs.
USB-C uses a different approach. Its reversible plug does not need exterior square holes; instead, tabs inside the female port engage with internal notches. Both designs serve the same basic purpose of keeping a cable connected, but USB-C makes insertion easier by working in either orientation.