In Greek mythology, Pylia (Ancient Greek: Πυλία) was a Megarian princess as the daughter of the Lelegian king, Pylas of Megara[1]. In one account, she was called Peleia (Πελείας)[2].
Pylia was the mother of the sons of Pandion II: Aegeus[2], Lycus, Nisus and Pallas,[3] and possibly of a daughter who married her maternal uncle Sciron, the Megarian warlord and brother of Pylia[4].
Pylia was offered in marriage by Pylas to Pandion II who fled to her father in Megara after being expelled from Athens by his cousins, the Metionidae.[1]