The Ujjain to Somnath distance is about 780–790 km by road (783 km on our route check of 15 November 2026), roughly 610 km in a straight line, and 858 km by rail. No train runs into Somnath station from Ujjain; the overnight trains from Ujjain Junction end at Veraval, about 7 km from the temple.
Route widgets for this pair disagree, with numbers anywhere from about 610 km to 792 km. Below we reconcile them, show the road route a driver would actually follow through Madhya Pradesh and Gujarat, list the trains from Ujjain as they appear today, explain which station is closer to Somnath Temple, and set out a realistic two-day drive for pilgrims pairing Mahakaleshwar Jyotirlinga with Somnath. If you would rather not drive yourself, our Ujjain outstation taxi service handles long one-way and return trips.
Ujjain is in western Madhya Pradesh; Somnath Temple stands at Prabhas Patan, near Veraval, in Gir Somnath district on the southern coast of Gujarat’s Saurashtra peninsula. The cities are far apart, and the figure you see depends on what is being measured.
| Measure | Distance | Approx. time | Source / method |
|---|---|---|---|
| Straight line | about 610 km | – | Great-circle distance between central Ujjain and Somnath Temple (our calculation; distancebetween2.com shows 610.7 km) |
| By road (our check) | about 783 km | Two days recommended (see below) | OSRM routing engine on OpenStreetMap data, central Ujjain to Somnath Temple, computed 15 Nov 2026 |
| By road (other calculators) | about 730–792 km | – | Online route planners checked 15 Nov 2026; distancebetween2.com shows 792 km |
| By rail | 858 km | about 16.5–17.5 hours | Ujjain Junction to Veraval, as listed on erail.in, 15 Nov 2026 |
All road figures are approximate. They differ because calculators start and end at different points (a city centre, a railway station or the temple gate) and pick different highway alignments. For trip planning, treat the drive as roughly 800 km and the rail journey as an overnight-plus-day trip.
Pilgrims usually measure the trip from temple to temple rather than from city centre to city centre. Running the same OSRM check from the Mahakaleshwar Jyotirlinga temple in Ujjain to Somnath Temple on 15 November 2026 gave about 780 km by road (an approximate routing-engine figure), with a straight-line distance of about 609 km. Because Mahakaleshwar sits in the old city, close to where most calculators place “Ujjain”, the temple-to-temple figure is within a few kilometres of the city figure. In practice the real variable is not the start point but the highway alignment your driver chooses.
The route our OSRM check produced leaves Ujjain westward through Badnawar in Dhar district, crosses into Gujarat near Jhalod in Dahod district, passes Limkheda and joins the expressway section toward central Gujarat. It then runs through Anand district (the Anklav and Tarapur areas) and Dholera, turns south to Bhavnagar, follows the coastal highway through Talaja, and reaches Somnath by way of Una in Gir Somnath district. Highway numbers along that line include NH752D near Ujjain, NH147D, the NE-4 expressway, NH751 and NH51 along the Saurashtra coast.
That is one computed route, not the only one. Other planners send cars by different highways, which is part of why their totals range from about 730 to 792 km. Your driver may prefer a different line depending on road works and traffic, which is normal over this distance.
Routing engines quote durations that assume free-flowing traffic at the speed limit, which is not how an 800 km drive across two states goes in practice. Our own estimate: at an average of 50–60 km/h once town sections, tea breaks and fuel stops are included, the driving alone takes roughly 13 to 16 hours. That is too much for one day with a single driver, and it leaves no time for darshan at either end.
| Leg | Stretch | Approx. km (OSRM route) | Planning note |
|---|---|---|---|
| Day 1 | Ujjain to central Gujarat (Anand–Vadodara belt) | about 390–460 km | Leave early; the route enters Gujarat near Jhalod after roughly 200 km; stop for the night roughly halfway |
| Day 2 | Central Gujarat to Somnath via Bhavnagar and the coast | about 320–390 km | Coastal highway through Talaja and Una; aim to reach Prabhas Patan by evening |
| Return | Somnath to Ujjain | about 783 km | Same split in reverse, or return by train from Veraval |
A common way to split the trip: drive out over two days, spend a day at Somnath, and take the train back from Veraval, or the reverse. If you plan to drive both ways, budget at least five days in total so the driver is rested.
There is no train from Ujjain that terminates at Somnath railway station (SMNH). The direct options leave Ujjain Junction (UJN) late at night and end at Veraval Junction (VRL), the nearest major railhead. The Ujjain to Veraval train list below comes from erail.in, and Indian Railways timetables change, so treat it as a starting point, not a booking confirmation.
| Train no. | Name | Departs UJN | Arrives VRL | Duration | Runs |
|---|---|---|---|---|---|
| 11464 | Jabalpur–Somnath Express | 23:55 | 17:25 (next day) | 17 h 30 min | Check running days (not shown on erail.in) |
| 11466 | Jabalpur–Somnath Express | 23:55 | 17:25 (next day) | 17 h 30 min | Monday, Friday |
| 19320 | Indore–Veraval Mahamana Express | 23:45 | 16:25 (next day) | 16 h 40 min | Tuesday |
As listed on erail.in on 15 November 2026. Rail distance is 858 km. Before you book, check current timings, running days and any diversions on NTES (National Train Enquiry System) or IRCTC.
Coming back the other way, there is no direct train from Somnath station to Ujjain either. According to ixigo, return services leave from Veraval rather than Somnath station, and one of the alternatives it lists, train 12945, the Veraval–Banaras Superfast, stops at Nagda rather than Ujjain, so you would need a road transfer from Nagda for the last stretch.
Somnath railway station is the closer of the two, about 2.5 km north of the temple, while Veraval Junction is about 7 km to the north-west. The two stations are about 4 km apart. Since the Ujjain trains stop at Veraval, plan on a short auto-rickshaw or taxi ride from Veraval to Prabhas Patan; with an evening arrival, that is a quick transfer before you check in for the night.
Somnath has no airport of its own. The nearest are Keshod Airport, about 57 km away, and Diu Airport, about 85 km away. Flight availability to these smaller airports changes often, so check current schedules before planning around them; for most travellers starting from Ujjain, the train or a direct drive is simpler than combining a flight with a road transfer at each end.
Somnath is traditionally counted as the first of the twelve jyotirlingas of Shiva, and Mahakaleshwar in Ujjain is another, which is why so many pilgrims want to connect the two. The present Somnath temple, managed by the Shree Somnath Trust, was completed in 1951 on the coast at Prabhas Patan. The Somnath temple article on Wikipedia covers its history in detail.
Can you visit both in one trip? Yes, as long as you allow for the distance. A workable outline from Ujjain is: darshan at Mahakaleshwar on day one, an overnight train or a two-day drive to Somnath, a full day at Prabhas Patan, and the return journey. That is a point-to-point trip of five to six days at a comfortable pace. Trying to squeeze it into a long weekend usually means spending most of the time in transit.
If your next leg after Ujjain is a different temple town, the same planning logic applies to shorter routes such as Ujjain to Trimbakeshwar by road.
On a drive this long, the car matters more than on a city run:
Our guide on which cab suits your group goes through each vehicle in detail. When you are ready, book an Ujjain outstation taxi sized for your group and share your dates and the stops you want to make.
About 780-790 km. Our OSRM route check on 15 November 2026 gave 783 km from central Ujjain to Somnath Temple; other online calculators show roughly 730-792 km depending on start point and route. The straight-line distance is about 610 km.
Not to Somnath station itself. As listed on erail.in on 15 November 2026, trains 11464, 11466 and 19320 run from Ujjain Junction to Veraval (858 km, about 16.5-17.5 hours). Verify timings and running days on NTES or IRCTC before booking.
Our estimate is roughly 13 to 16 hours of driving at a realistic 50-60 km/h average, including short tea and fuel stops but not meal or darshan breaks. Most travellers split it into two days with a night halt in central Gujarat.
Somnath railway station, about 2.5 km north of the temple. Veraval Junction, where the Ujjain trains terminate, is about 7 km north-west, so plan a short auto or taxi ride from there.
Yes. Allow five to six days from Ujjain: darshan at Mahakaleshwar, an overnight train or two-day drive to Somnath, a day at Prabhas Patan and the return journey.
Planning your Ujjain trip? Talk to a local team.
WhatsApp usWritten and reviewed by the Ujjain Tour & Travel editorial team. Facts checked against primary sources; see the reference above.
Mahakal darshan, Bhasma Aarti, Rudrabhishek puja and AC taxi — instant quotes from a trusted local Ujjain operator.
Get Quote on WhatsApp 📞 Call +91 83190 07059