Kenya’s Standard Gauge Railway (SGR), also known as the Madaraka Express, has transformed travel between Nairobi and Mombasa since its launch on May 31, 2017.
It offers comfort, reliability, and affordable fares for travelers. To make the experience even more convenient, Kenya Railways introduced multiple ticketing options, including USSD booking.
This guide explains step-by-step how to book SGR tickets via USSD code on your phone, pay securely using M-Pesa, and receive instant confirmation for your journey.

How to Book SGR Tickets via USSD Code on Your Phone
The SGR USSD booking system allows passengers to reserve tickets anytime, without needing internet access. It is a fast and reliable method for travelers who prefer using their phones directly. Below is a complete guide to help you make your booking in minutes.
| Booking Method | Requirements | Payment Option | Availability |
|---|---|---|---|
| USSD (*639#) | Safaricom SIM card, M-Pesa account | M-Pesa | 24/7 |
| Online portal | Internet access, smartphone/laptop | M-Pesa | 24/7 |
| Physical booking | National ID/passport | Cash or M-Pesa | Station hours |
Steps to Book Your SGR Ticket Using 639#
1. Dial the USSD Code
On your Safaricom line, dial *639# to access the SGR booking menu. You’ll see options for different train services such as:
- Inter-County (8:00 AM)
- Nairobi–Voi–Mombasa Express
- Mombasa–Voi–Nairobi Express
- Suswa Train
Choose the train that best fits your travel plans.
The Express Train is ideal for travelers heading directly between Nairobi and Mombasa without any stops.
The Inter-County Train, on the other hand, makes stops at Athi River, Emali, Kibwezi, Mtito Andei, Voi, and Miasenyi—perfect for passengers traveling between counties.
If you face any issue, call the SGR helpline at 0709 388 888 for support.
2. Enter Your Travel Details
Once you choose your train, follow the on-screen instructions to input:
- Departure and destination stations
- Travel date
- Coach type (Economy or First Class)
- Number of passengers (maximum five per transaction)
Make sure the travel date is within 60 days of booking, as this is the maximum advance window allowed.
3. Provide Passenger Information
Enter the full names and ID or passport numbers of all passengers you are booking for. Each detail must be accurate since this information appears on the final ticket.
4. Confirm and Pay via M-Pesa
You will see a summary of your booking details and total fare. Review the information carefully before proceeding.
Select “Pay Now” and enter your M-Pesa PIN to complete payment. The transaction will process instantly, and Kenya Railways will confirm your booking.
5. Receive and Save Your Confirmation SMS
After payment, you’ll get an SMS confirmation containing your:
- Booking details
- Unique ticket number
- Travel date and train information
You must show this SMS at the station to print your physical ticket before departure. Keep it safe until your travel day.
Requirements to Use the SGR USSD Code
| Requirement | Description |
|---|---|
| Phone type | Any phone that supports USSD can be used |
| Network | Safaricom only |
| Payment method | M-Pesa linked to your Safaricom number |
| Passenger info | Full name and ID/passport for all travelers |
| Booking window | Up to 60 days before travel |
| Ticket confirmation | SMS with booking reference |
To avoid last-minute issues, always ensure your M-Pesa has enough balance to cover the fare before starting the process.
Why Use the SGR USSD Booking Option
The *639# booking method is one of the most efficient and user-friendly ways to reserve your SGR ticket. It is especially useful for passengers in areas with poor internet connection.
Here’s why travelers love it:
- No internet needed – You can book from anywhere in Kenya.
- Fast and secure – Payments are processed directly through M-Pesa.
- Instant confirmation – You receive a ticket reference immediately.
- Accessible to all – Works on any mobile phone, not just smartphones.
This method has greatly improved the convenience of travel for thousands of Kenyans, eliminating the need to queue at stations or rely on third-party agents.
Tips for a Smooth SGR Booking Experience
- Book early – SGR trains are often fully booked during weekends and holidays.
- Double-check details – Errors in names or ID numbers may prevent you from boarding.
- Keep your confirmation SMS – It acts as proof of payment.
- Arrive early – Passengers should arrive at least one hour before departure for check-in.
- Contact customer care – Call 0709 388 888 if you face any booking or payment challenges.
Final Word
Learning how to book SGR tickets via USSD code is a game changer for travelers seeking convenience and speed. With just a few taps on your phone, you can secure a seat on Kenya’s modern Madaraka Express, pay instantly using M-Pesa, and receive confirmation within seconds. Whether you’re traveling for business or leisure, this method ensures a smooth and reliable booking experience every time.












