Barry Docks (Welsh: Dociau'r Barri) is a port facility in the town of Barry, Vale of Glamorgan, Wales, a few miles southwest of Cardiff on the north shore of the Bristol Channel. They were opened in 1889 by David Davies and John Cory as an alternative to the congested and expensive Cardiff Docks to ship coal carried by rail from the South Wales Coalfield. The principal engineer was John Wolfe Barry, assisted by Thomas Forster Brown and Henry Marc Brunel, son of the famous engineer Isambard Kingdom Brunel.
The docks occupy the former sound between Barry Island and the mainland. The contractors built dams to connect each end of the island to the mainland, drained or pumped the water from the site and excavated it. They used the material to level the area around the docks and for the core of breakwaters to protect the entrance. The works included a basin with gates at each end which served as a lock between the sea entrance and the docks, the dock walls and quays, coal loading equipment and railways to deliver coal from the mines to the docks. A second dock and second entrance lock were added in 1898. The Barry Dock Offices were built in 1897–1900 by the architect Arthur E. Bell.
In 1909 about 8,000 women and 10,000 men were employed in the docks, and by 1913, the docks were the busiest coal port in the world, exporting 11.05 million long tons (11,230,000 t; 12,380,000 short tons) at peak. Coal exports declined after World War I (1914–18). Strikes and the Great Depression of the 1930s caused further problems. The docks proved useful during World War II (1939–45); they were nationalised soon after the war ended. The Geest company used the docks to import West Indian bananas from 1959 until the 1980s. From 1957, many obsolete railway wagons were scrapped and cut up at the former West Pond site between Barry and Barry Island. From 1959, many steam locomotives were withdrawn from service and stored on sidings beside West Pond sidings area and more than 200 of them were recovered by enthusiasts for conservation or restoration. Parts of the docks have become industrial estates such as the Atlantic Trading Estate, and the area around the first dock, now called The Waterfront, has been redeveloped for residential and commercial use. The second dock is still active and generally handles chemicals and timber.