In Greek mythology, Lelex (/ˈliːlɪks/; Ancient Greek: Λέλεξ, gen. Λέλεγος) was a king of Megara and regarded as the ancestor of the Leleges.