Barrali is a comune in the Province of South Sardinia in the Italian region Sardinia, located in the Trexenta about 30 kilometres north of Cagliari. Barrali borders the following municipalities: Donorì, Ortacesus, Pimentel, Samatzai, Sant'Andrea Frius.