Megara (not to be confused with Megaera) was the daughter of king Creon of Thebes who married Heracles. Her name means 'temple', 'shrine', from megaron (literally 'large room', from megas, 'large'). We are not told with which particular shrine she may have been connected.

She was not, however, the founder of the city of the same name. This was either Car, a son of king Phoroneus of Argos, or else possibly Megarus, a son of Zeus. Megara's name was, however, also spelt as Megera, and this could alter the in terpretation of her name.