Chandramoulishwara Temple is one of the ancient temples located in Udupi town. As a result of its antique appearance, it is also referred to as Udupi's aajya. The prominent belief is that, one should visit this temple before visiting the Krishna temple. It is one of the best examples for the Chalukya architecture. Construction of the temple proves its history dating back to 7th or 8th century. It is said to be built at the same time as Ananteshwar Temple.
The myth behind the origin of Chandramoulishwara Temple is quite interesting. Once Lord Moon got curse from Daksha Prajapathi. Lord Moon did penance to please Lord Shiva at this place. Since then the place began to be known as Chandramoulishwara.