Coordinates: 32°13′42.7″N 45°18′24.5″E / 32.228528°N 45.306806°E Mashkan-shapir (modern Tell Abu Duwari, Al Qadisyah Governorate, Iraq) was an ancient city in the Ancient Near East roughly 30 kilometres (19 mi) north of Nippur and around 90 miles (140 km) southeast of Baghdad.
The city god of Mashkan-shapir was Nergal and a temple named Meslam dedicated to him was built there.
Though occupied during the Uruk period, the town's first epigraphic appearance was during the Akkadian period in a minor context, and then during the Ur III period as a location for royal shepherds. A brick of Amar-Sin was also found at the site. Mashkan-shapir achieved prominence during the Old Babylonian period. This time of occupation is considered to begin with the construction of the city walls by Sin-Iddinam of Larsa. The city was abandoned during the reign of Samsu-iluna, successor to Hammurabi of the First Babylonian Dynasty and not re-occupied until late in the first millennium. The city's demise was part of a general collapse and abandonment of sites in the region at that time.