Ayodhya to Ujjain Trip: Trains, Stations & 3-Day Plan
Key takeaways
- erail lists five Ayodhya-Ujjain trains taking about 17 to 27 hours (checked 16 Nov 2026).
- Sabarmati Express (19166/19168 alternate, so one runs daily) leaves Ayodhya Dham 18:24 and reaches Ujjain 16:35 next day.
- 19322 from Ayodhya Cantt is fastest at 17 hours but listed for Mondays only.
- Check the station: some trains leave Ayodhya Dham (AY), others Ayodhya Cantt (AYC).
- Plan 2-3 days in Ujjain with a rest day first; verify timings on NTES/IRCTC.
An Ayodhya to Ujjain trip is best done by direct train. erail lists five trains from Ayodhya to Ujjain Junction, taking about 17 to 27 hours. The most regular choice is the Sabarmati Express, listed under two numbers (19166 and 19168) that between them run every day of the week, leaving Ayodhya Dham at 18:24 and reaching Ujjain, home of Mahakaleshwar Jyotirlinga, at 16:35 next day. Timings change, so verify on NTES or IRCTC.
Ayodhya and Ujjain sit on the same pilgrim map: Ram Mandir in one, Mahakal in the other. What the timetable sites do not tell you is which Ayodhya station your train leaves from, which trains run only one day a week, and how to use the day you arrive after a long sleeper journey. This guide covers all three, then gives a rest-aware plan for Ujjain. If you would rather have the Ujjain end organised for you, our guided Ujjain pilgrimage tour package shows how a guided visit is put together.
Ayodhya to Ujjain trip: the short answer
- Best overall: Sabarmati Express from Ayodhya Dham Junction (AY), evening departure at 18:24, afternoon arrival at Ujjain Junction (UJN) at 16:35, 22 hours 11 minutes.
- Fastest: 19322 Patna-Indore Express from Ayodhya Cantt (AYC), 19:15 to 12:15, 17 hours, listed for Mondays.
- Morning arrival: 09094 special from Ayodhya Cantt, 14:45 to 07:58, 17 hours 13 minutes, but it is a special train, listed for Saturdays, that may run only for a notified period.
- Days needed: plan two to three days in Ujjain after arrival, plus a full day each way on the train.
Every time, distance and run day in this guide is as listed on erail on 16 November 2026. Indian Railways changes timetables, and specials come and go, so check the train on the National Train Enquiry System before you book.
Ayodhya to Ujjain train options (as listed on 16 Nov 2026)
| Train no. and name | From | Departs | Arrives UJN | Duration | Distance | Run days (per erail) |
|---|---|---|---|---|---|---|
| 19054 Muzaffarpur-Surat Express | Ayodhya Dham (AY) | 05:33 | 08:20 (next day) | 26 h 47 m | 1,207 km | Monday |
| 19166 Sabarmati Express | Ayodhya Dham (AY) | 18:24 | 16:35 (next day) | 22 h 11 m | 956 km | Monday, Wednesday, Saturday |
| 19168 Sabarmati Express | Ayodhya Dham (AY) | 18:24 | 16:35 (next day) | 22 h 11 m | 955 km | Tuesday, Thursday, Friday, Sunday |
| 19322 Patna-Indore Express | Ayodhya Cantt (AYC) | 19:15 | 12:15 (next day) | 17 h 00 m | 895 km | Monday |
| 09094 Ayodhya Cantt-Udhna Special | Ayodhya Cantt (AYC) | 14:45 | 07:58 (next day) | 17 h 13 m | 897 km | Saturday (special; check notified dates) |
Source: erail, trains between Ayodhya Dham Jn and Ujjain Jn, checked 16 November 2026. erail marks the days of run for each train: the two Sabarmati Express numbers alternate so that one of them leaves Ayodhya Dham every day. Look up the train number on NTES or IRCTC for your travel date.
Ayodhya Dham vs Ayodhya Cantt
Ayodhya has two stations that matter for this journey. Ayodhya Dham Junction (AY) is the main station in the city, and the Sabarmati Express and the Monday 19054 both leave from there. Ayodhya Cantt (AYC) is a separate station, and the 19322 and the 09094 special start their Ujjain run from it. If you search for an Ayodhya Dham to Ujjain train and see only two or three results, the Cantt departures are probably missing from the search. Always match the station code on your ticket to the station you go to.
Which train suits which plan
| Traveller type | Suggested option | Why |
|---|---|---|
| Any day of the week | Sabarmati Express (19166 or 19168) | 19166 runs Monday, Wednesday and Saturday and 19168 the other four days, at the same timing |
| Travelling on a Monday, want the shortest ride | 19322 from Ayodhya Cantt | 17 hours and a midday arrival leaves the afternoon free |
| Want to arrive in the morning | 09094 special, if running | 07:58 arrival gives a full first day in Ujjain |
| Starting early from Ayodhya on a Monday | 19054 | Departs 05:33 but is the longest ride at almost 27 hours |
| Elderly pilgrims | An evening departure such as the Sabarmati Express | One night on the train and arrival in daylight |
Ayodhya to Ujjain distance, road and air alternatives
The Ayodhya to Ujjain distance depends on how you travel. By rail, erail lists between 895 km and 1,207 km depending on the route each train takes. By road, rome2rio puts the drive at about 850.7 km, roughly 13 hours 14 minutes of driving without stops. Aggregators disagree with each other on rail distance and on which train is fastest, so this guide uses one dated source for every train figure. Rome2rio also shows a fly-and-train option via Indore's Devi Ahilyabai Holkar Airport, but for most pilgrims from Ayodhya the direct train is the simpler plan, with no change of mode and arrival in Ujjain itself.
Why websites quote different journey times
If you compare route sites you will see journey times from about 17 hours to 22 hours quoted as "the" Ayodhya to Ujjain time. Both are correct for different trains. The 22 hours 11 minutes that rome2rio shows for the direct train matches the Sabarmati Express, which, across its two numbers, runs every day. The 16 to 17 hour figures that booking sites show as the fastest match the 19322 Patna-Indore Express and the 09094 special, both of which start from Ayodhya Cantt and neither of which you can count on every day. The rail distances differ for the same reason: the 19054 takes a longer route, which is why it is listed at 1,207 km against about 895 km for the Cantt departures.
How much of the ride is overnight
The evening departures (18:24 and 19:15) put the whole night on the train, so you sleep through the middle of the journey and arrive by midday or afternoon. The 14:45 special covers an afternoon, a night and an early morning. The 05:33 departure on the 19054 means a full day, a full night and an early-morning arrival at 08:20, which suits travellers who would rather start fresh in Ujjain than arrive tired in the afternoon.
Arriving in Ujjain after a long journey: a 3-day plan
After 17 to 27 hours on a train, do not try to fit Mahakaleshwar darshan into the arrival evening. The plan below assumes a Sabarmati Express arrival in the afternoon. For a morning arrival, move each step half a day earlier. Our 2-day Ujjain itinerary gives more detail on the temple order.
Day 1: arrive, rest, Shipra ghats in the evening
Reach Ujjain Junction, check in and rest. In the evening walk down to the ghats on the Shipra River for a first look at the old city.
Day 2: Mahakaleshwar darshan and core temples
Give the morning to the Mahakaleshwar Jyotirlinga, one of the twelve Jyotirlingas. If you hope to attend the Bhasma Aarti, it needs separate advance booking, so arrange it before you leave Ayodhya. After darshan, visit Harsiddhi Temple and spend the evening at the ghats.
Day 3: Kaal Bhairav and departure
Visit Kaal Bhairav Mandir in the morning, then head back to Ujjain Junction for your return train. Temple timings change with festivals and crowd plans, so check the temple's official notices on the day rather than relying on a fixed schedule.
| Day | Morning | Afternoon | Evening |
|---|---|---|---|
| Day 1 | On the train | Arrive Ujjain Junction (16:35 on the Sabarmati Express), rest | Shipra River ghats |
| Day 2 | Mahakaleshwar Jyotirlinga darshan | Harsiddhi Temple and nearby temples | Ghats or rest |
| Day 3 | Kaal Bhairav Mandir | Return train or onward travel | - |
Ram Janmabhoomi to Mahakal: building an Ayodhya Ujjain yatra
Many pilgrims plan an Ayodhya Ujjain yatra as part of a wider circuit rather than a single hop. Before you leave Ayodhya, the usual stops are the Ram Mandir at Ram Janmabhoomi and Hanuman Garhi. If you have more time, you can break the journey with Varanasi or Prayagraj, both of which have direct trains to Ujjain. See our Varanasi to Ujjain trip plan and the Prayagraj to Ujjain trip guide for those legs.
The route links a major Vaishnava pilgrimage with a major Shaiva one, Ayodhya to Mahakaleshwar, in one train journey.
Booking and journey tips for families and elderly pilgrims
- Book on IRCTC only: book on the official IRCTC site or app and check the train on NTES. Do not rely on a third-party page for run days.
- Check the run day first: two of the five listed trains run on Mondays only, and the 09094 is a special listed for Saturdays. Pick your date around the train, not the other way round.
- Prefer lower berths for elderly travellers: on a 17 to 27 hour ride, ask for lower berths when you book and carry medicines in hand luggage.
- Carry food and water: pack enough for at least one meal in case pantry or platform options are limited on your train.
- Plan the arrival day as rest: as the itinerary above shows, the first evening is for recovering, not for queues.
- Keep the return flexible: look up the reverse direction trains from Ujjain Junction before you book the outward leg.
Return trip from Ujjain to Ayodhya
Do not assume the return leg mirrors the outward one. Trains in the reverse direction carry different numbers and timings, and a weekly train may run on a different day going back. Before booking, search NTES or IRCTC for trains from Ujjain Junction (UJN) to both Ayodhya Dham (AY) and Ayodhya Cantt (AYC) on your chosen date, and pick one that fits your last day in Ujjain. If no direct option suits, a change at a larger junction on the route is worth comparing on IRCTC.
Frequently asked questions
How far is Ayodhya from Ujjain by train?
erail lists rail distances between 895 km and 1,207 km depending on the train and route (checked 16 November 2026). The Sabarmati Express covers about 955 to 956 km.
Which is the fastest train from Ayodhya to Ujjain?
The 19322 Patna-Indore Express from Ayodhya Cantt is listed at 17 hours (19:15 to 12:15 next day) and runs on Mondays per erail. The 09094 special is close at 17 hours 13 minutes and is listed for Saturdays while it runs.
Is there a daily train from Ayodhya to Ujjain?
Effectively yes. erail lists the Sabarmati Express under two numbers, 19166 on Monday, Wednesday and Saturday and 19168 on Tuesday, Thursday, Friday and Sunday, both leaving Ayodhya Dham at 18:24 (checked 16 November 2026). The 19054 and 19322 run on Mondays only. Confirm on NTES or IRCTC before booking.
How many days do I need in Ujjain after arriving from Ayodhya?
Two to three days works well: an arrival day to rest, a day for Mahakaleshwar darshan and nearby temples, and a morning for Kaal Bhairav before the return train.
Should I board at Ayodhya Dham or Ayodhya Cantt?
It depends on the train. The Sabarmati Express and 19054 leave from Ayodhya Dham (AY); the 19322 and the 09094 special leave from Ayodhya Cantt (AYC). Match the station code on your ticket.
Want this trip planned for you?
Talk to usWritten and reviewed by the Ujjain Tours & Travels editorial team. Facts checked against primary sources; see the reference above.
