Vilia is a village and a former municipality of West Attica, Greece. Since the 2011 local government reform it is part of the municipality Mandra-Eidyllia, of which it is a municipal unit.
The village Vilia lies west of the Greek National Road 3 (Elefsina - Thiva), about 3 km west of Oinoi and about 9 km east of Aigosthena, on the Gulf of Corinth. The area around Vilia is mountainous with Makri Oros (850 m) to the south, mount Kithaironas (1,409 m) to the northwest and Pastra to the northeast. Farmlands are situated in the valley areas. The ancient Eleutheriae lies to the northeast. Vilia is located northwest of Athens and Elefsina, ENE of Corinth and south of Thiva. The municipality includes villages in the easternmost part of the Gulf of Corinth including the ancient city of Aigosthena. Vilia has a land area of 144.851 km² and a total population of 3,215 inhabitants. The municipality's largest villages are Vilia (pop. 1,955 in 2001), Kato Alepochori (pop. 412), Aigosthena (320), Psatha (172), and Agios Nektarios (136).