History of Somnath Temple: Legends, Attacks & Reconstruction | HolidaySeva
Gujarat Heritage & Pilgrimage Guide History & Heritage

History of Somnath Temple: The Sacred Shrine That Rose Again and Again

Somnath Temple standing beside the Arabian Sea in Gujarat

Explore the legends, historical records, attacks, restorations and modern reconstruction of Somnath Temple in Gujarat—one of India’s most revered Jyotirlingas.

Standing beside the Arabian Sea at Prabhas Patan in Gujarat, Somnath Temple is one of India’s most important pilgrimage sites. Revered as one of the twelve Jyotirlingas of Lord Shiva, it is known not only for its spiritual significance but also for a history shaped by repeated destruction, rebuilding, changing rulers and the continued devotion of pilgrims.

The story of Somnath is often told as a story of resilience. The temple’s history includes ancient traditions, medieval political upheavals, several restorations and a major reconstruction after India’s Independence. This guide separates religious tradition from historical events where possible and follows the temple’s journey from its sacred origins to the present-day structure.

Somnath’s story is not only about a temple’s walls. It is about the faith, memory and communities that continued to return to the sacred site across generations.

Somnath Temple at a Glance

1. The Ancient Origins and Legend of Somnath

Somnath means “Lord of Soma” or “Lord of the Moon.” According to Hindu tradition, Chandra—the Moon God—was cursed and gradually lost his radiance. He worshipped Lord Shiva at Prabhas, and Shiva relieved him of the curse. The legend is connected with the waxing and waning of the Moon and gives the place its sacred identity.

The region is also traditionally associated with Prabhas Tirtha and the confluence of the Kapila, Hiran and Saraswati rivers. These religious associations helped establish the area as a pilgrimage destination long before the modern temple building existed. The legend is a sacred narrative; it should be understood as religious tradition rather than a dated historical event.

2. Somnath as an Important Pilgrimage Centre

Somnath’s coastal location made it a prominent sacred site in the Saurashtra region. The temple was connected with pilgrimage routes, religious traditions and the wider history of Gujarat. Accounts of earlier temples describe different phases of construction, but details about the earliest structures are not always equally well documented.

Over time, Somnath became a symbol of religious importance and regional prestige. Rulers, devotees and communities supported its maintenance and restoration, and the temple’s significance continued even during periods when its buildings were damaged or altered.

3. The Attack of Mahmud of Ghazni in 1026

One of the best-known episodes in Somnath’s history occurred in 1025–1026 CE, when Mahmud of Ghazni raided the temple. The event became a major turning point in accounts of Somnath and was recorded in medieval chronicles. The attack and the temple’s subsequent restoration are central to the historical memory associated with the shrine.

The raid should be placed within the political and military context of the eleventh century. Medieval sources, later histories and modern interpretations differ in emphasis and detail, particularly regarding numbers, wealth and the exact sequence of events. It is more responsible to avoid repeating sensational figures as settled facts unless they are supported by reliable evidence.

Despite the destruction associated with the raid, Somnath continued to be remembered as a sacred place. The temple and pilgrimage tradition did not disappear; restoration and worship continued through later periods.

4. Rebuilding and Restoration in the Medieval Period

Somnath experienced further periods of damage and rebuilding as political control in Gujarat and Saurashtra changed. The temple’s history is therefore not a single sequence of events but a series of construction, restoration and worship phases. Different regional rulers and devotees contributed to the site’s revival.

King Kumarapala of the Chaulukya (Solanki) dynasty is associated with a major restoration of Somnath during the twelfth century. Inscriptions and historical accounts are often cited in connection with this period, reflecting the temple’s importance to regional rulers and religious life.

Somnath again faced attacks and damage during the political upheavals of the late thirteenth and early fourteenth centuries. Accounts connect the temple’s rebuilding with rulers of the region, including the Chudasama dynasty of Saurashtra. The precise chronology varies among sources, so individual dates should be checked against inscriptions and specialist histories.

The recurring pattern was one of disruption followed by restoration. Even when a temple structure was damaged, the pilgrimage site and its religious significance remained part of local and wider Hindu memory.

5. Somnath During the Sultanate Period

The temple was affected by the changing political landscape of Gujarat during the fourteenth and fifteenth centuries. Accounts describe further attacks, desecration and restoration attempts under different rulers. These episodes are often presented in popular retellings as a simple uninterrupted sequence; historical scholarship instead requires careful attention to the source, date and context of each claim.

What remains clear across the broader record is that Somnath continued to be a place of worship and pilgrimage, and that its sacred identity outlasted changes in political authority.

6. Ahilyabai Holkar and the 18th-Century Temple

In the eighteenth century, the Maratha queen and ruler Ahilyabai Holkar is associated with the construction of a temple at Somnath after earlier structures had suffered damage. Her patronage of temples and pilgrimage centres across India is widely remembered, and the Somnath shrine established under her initiative became an important part of the site’s continuing religious life.

This temple represented another chapter in Somnath’s long story of renewal. It helped preserve worship at the sacred site before the large-scale reconstruction of the present temple in the twentieth century.

7. Somnath After India’s Independence

The modern reconstruction began after India became independent. In November 1947, Sardar Vallabhbhai Patel visited the ruins at Somnath and expressed his resolve to rebuild the temple. The project was supported by public contributions and organised through a trust rather than being treated simply as a government construction project.

K. M. Munshi played an important role in the reconstruction effort and in the institutional arrangements that helped move the project forward. The rebuilding became a significant cultural and heritage initiative during the early years of independent India.

8. The Present Somnath Temple and Its Consecration in 1951

The present temple was constructed in a traditional western Indian temple style and is often described in official and tourism material as Chalukyan-style architecture or Kailash Mahameru Prasad. Its design, stonework, shikhara and coastal setting give it a distinctive appearance.

On 11 May 1951, the reconstructed temple was ceremonially consecrated in the presence of Dr. Rajendra Prasad, India’s first President. The event marked a major moment in the modern history of Somnath and gave the temple a renewed place in India’s post-Independence cultural landscape.

9. Why Somnath Is Called a Symbol of Resilience

Somnath’s historical significance comes from more than its architecture or the fame of a single event. Its history reflects the persistence of pilgrimage, the restoration of sacred spaces and the participation of rulers, donors, local communities and devotees in rebuilding. The temple has been reconstructed in different forms over many centuries, and each phase became part of its continuing story.

For many visitors, Somnath represents faith that survives change. For historians, it is also a site where religious tradition, political history, heritage and collective memory intersect. Both perspectives help explain why the temple remains important well beyond Gujarat.

10. Important Places to Visit Around Somnath

11. How to Plan a Visit to Somnath

Most travellers can plan one or two nights in Somnath, depending on whether they want to attend temple rituals, explore nearby pilgrimage sites or combine the visit with a Gujarat road trip. The nearest railway station is Somnath, while Diu and Porbandar are among the airports commonly considered for onward road transfers. Check current transport schedules before booking.

12. A Simple Somnath Itinerary

Day 1: Arrive in Somnath, check in, visit the main temple and spend the evening exploring the temple area or attending a scheduled programme if available.

Day 2: Visit Triveni Sangam, Bhalka Tirth and Dehotsarg Tirth. Return for temple darshan or spend time along the coast, subject to local access and weather.

If you have additional days, consider combining Somnath with Gir National Park, Diu or other destinations in Saurashtra, keeping travel times and seasonal opening schedules in mind.

Final Thoughts: The History of Somnath Is a Story of Renewal

From its ancient sacred traditions and medieval upheavals to Ahilyabai Holkar’s restoration and the reconstruction completed in 1951, Somnath has passed through many chapters. The present temple stands as a living place of worship and a heritage landmark beside the Arabian Sea. Its history is best understood through both the devotion that sustains it and careful attention to the historical evidence behind the stories told about it.

Frequently asked questions

Why is Somnath Temple famous?

Somnath is revered as one of the twelve Jyotirlingas of Lord Shiva. It is also known for its long history of destruction, restoration and reconstruction, and for the present temple consecrated in 1951.

Who rebuilt Somnath Temple after Independence?

The reconstruction initiative was led by Sardar Vallabhbhai Patel and supported through public participation and a trust. K. M. Munshi played an important role in the project. The reconstructed temple was consecrated on 11 May 1951 in the presence of President Dr. Rajendra Prasad.

When was Somnath Temple attacked by Mahmud of Ghazni?

The attack is generally dated to 1025–1026 CE. It is one of the best-known episodes in the temple’s history, though details in medieval sources and later accounts should be assessed carefully.

Did Somnath Temple get rebuilt several times?

Yes. Historical and religious accounts describe several phases of damage, restoration and reconstruction across the medieval and early modern periods. The temple site continued to be associated with pilgrimage and worship.

What is the connection between Ahilyabai Holkar and Somnath?

Ahilyabai Holkar, the eighteenth-century ruler of Indore, is associated with establishing a temple at Somnath after earlier structures had been damaged. Her temple helped continue worship at the sacred site before the modern reconstruction.

When was the present Somnath Temple consecrated?

The reconstructed temple was consecrated on 11 May 1951, with India’s first President, Dr. Rajendra Prasad, present at the ceremony.

How many days are enough for Somnath?

One or two nights are usually sufficient for the main temple and nearby pilgrimage sites. Add more time if you want to combine Somnath with Gir, Diu or a wider Saurashtra itinerary.

What is the best time to visit Somnath?

October to March is generally a comfortable period for sightseeing, although pilgrims visit throughout the year. Check weather, temple schedules and local advisories before travel.

Link copied