Modhera is located in the western Indian state of Gujarat. The town extends between the latitude 23.42° in the North to longitude 72.37° in the East. The place is well connected to other places in the region with a good network of roads.
According to the Skanda Purana and Brahma Purana, the areas near Modhera were known during ancient days as Dharmaranya. These Puranas mention that after defeating Ravana, Lord Rama asked Muni Vasistha to show him a place of pilgrimage where he could go and purify himself from the sin of 'Brahma-hatya' (the sin of killing a Brahmin). Muni Vasistha showed him a Dharmaranya, which was near the modern town of Modhera. In the Dharmaranya, he settled at a village Modherak and performed a yagna there. Thereafter he established a village and named it Sitapur. This village is about 8 km from Becharaji Modherak village and it subsequently came to be known as Modhera.
The Sun Temple was built by Raja Bhimdev I of Solanki lineage (who were believed to be Suryavanshis) in AD 1026. The temple bears some resemblance to the more renowned Sun Temple of Konark, which it predates by some 200 years. Like the temple at Konark, it was so designed that the first rays of the sun fell on the image of Surya, the Sun God, at the time equinoxes. The temple is partially in ruins, but despite the passage of time, it continues to reveal the architectural genius, the sculptor's virtuosity, and, of course, the devotional fervor of the times.