Diplodocus (dɪˈplɒdəkəs, daɪˈplɒdəkəs, or ˌdɪploʊˈdoʊkəs) was a genus of diplodocid sauropod dinosaurs, whose fossils were first discovered in 1877 by S. W. Williston. The generic name, coined by Othniel Charles Marsh in 1878, is a Neo-Latin term derived from Greek διπλός (diplos) "double" and δοκός (dokos) "beam", in reference to the double-beamed chevron bones located in the underside of the tail, which were then considered unique.
The genus of dinosaurs lived in what is now mid-western North America, at the end of the Jurassic period. It is one of the more common dinosaur fossils found in the middle to upper Morrison Formation, between about 154 and 152 million years ago, during the late Kimmeridgian Age. The Morrison Formation records an environment and time dominated by gigantic sauropod dinosaurs, such as Apatosaurus, Barosaurus, Brachiosaurus, Brontosaurus, and Camarasaurus. Its great size may have been a deterrent to the predators Allosaurus and Ceratosaurus: their remains have been found in the same strata, which suggests that they coexisted with Diplodocus.
Diplodocus is among the most easily identifiable dinosaurs, with its typical sauropod shape, long neck and tail, and four sturdy legs. For many years, it was the longest dinosaur known.
Among the best-known sauropods, Diplodocus were very large, long-necked, quadrupedal animals, with long, whip-like tails. Their forelimbs were slightly shorter than their hind limbs, resulting in a largely horizontal posture. The skeletal structure of these long-necked, long-tailed animals supported by four sturdy legs have been compared with suspension bridges. In fact, D. carnegii is currently one of the longest dinosaurs known from a complete skeleton, with a total length of . Modern mass estimates for D. carnegii have tended to be in the range.
D. hallorum, known from partial remains, was even larger, and is estimated to have been the size of four elephants. When first described in 1991, discoverer David Gillette calculated it to be 33 m (110 ft) long based on isometric scaling with D.