Masainas is a comune (municipality) in the Province of Sulcis Iglesiente in the Italian region Sardinia, located about 45 kilometres southwest of Cagliari and about 15 km (9 mi) southeast of Carbonia. It is part of the Sulcis traditional region.