Santa Maria la Fossa is a comune, or municipality, situated in the Province of Caserta within the Campania region of Italy. It is located approximately 30 kilometres (19 mi) northwest of Naples and about 15 kilometres (9 mi) west of the city of Caserta.