Bač pri Materiji (pronounced [ˈbatʃ pɾi matɛˈɾiːji]) is a small settlement in the Municipality of Hrpelje-Kozina in the Littoral region of Slovenia. The settlement includes the hamlet of Gabrk half a kilometer southeast of the village core. It is located in heavily karstified terrain with many sinkholes and caves.