Ipoh Railway Station, the ‘Taj Mahal of Ipoh’, is more than a pretty building. Tin made Ipoh’s fortune. But it was the Perak railway, from 1885 onward, that carried that fortune out to the world.
Stand in front of Ipoh Railway Station today and look up.
White walls.
Domes.
Arches.
Turrets that look like they belong in Rajasthan, not in the Kinta Valley.
People call it the Taj Mahal of Ipoh.
Most visitors take a photo and move on.
But that building is not just pretty.
It is a receipt.
A receipt for the enormous wealth that once flowed through this town on iron rails.
Earlier in this series we told you about the Tin Barons of Kinta Valley, about Concubine Lane, rebuilt after the fire of 1892, and about the cave temples, built by hand inside the hills.
All of those stories have one thing in common.
Tin.
And tin has one big problem.
It is heavy.
Today, we tell the story of how Ipoh solved that problem.
This is the story of the railway that made Ipoh rich.
The Problem with Tin
Imagine you own a tin mine in Perak in the 1870s or 1880s.
Your coolies have dug the ore out of the ground. It has been washed. It is ready to sell.
Now what?
The buyers are on the coast. The smelters are in Penang.
And between you and them there is jungle, swamp and river.
So you load it onto bullock carts. Onto buffalo wagons. Onto river boats.
Slowly.
Expensively.
Bag by bag.
Historians describe the transport of the time (horse and buffalo wagons, river barges) as wholly inadequate for the booming mines. It was not just slow. It was holding the whole industry back.
The tin was there.
The money was there.
But the road out was not.
Someone had to build one.
Perak's First Railway: Taiping to Port Weld, 1885

The answer came first in Larut, around Taiping, which was Perak's great tin district before Kinta's boom.
In the early 1880s, the colonial government began building a railway from Taiping down to the coast at Port Weld, now called Kuala Sepetang.
It took about two and a half years.
It was just eight miles long.
And on 1 June 1885, it opened.
It is often called Malaysia's first railway.
We should be precise here, because history lovers will be. Railway historians point out that it was not literally the first railway ever built on Malayan soil. There had been earlier attempts, including one in Johor in 1869 that failed.
But Taiping–Port Weld was the first of the lines that grew into the Federated Malay States Railways, and eventually into the KTM network we still use today.
In that sense, it is where Malaysia's railway story really starts.
And why was it built?
To carry tin.
Every railway in Perak after it would be built for the same reason.
The Railway Reaches Ipoh and the Kinta Valley

Meanwhile, south of Taiping, the Kinta Valley was waking up.
New mines were opening everywhere. Ipoh, Batu Gajah, Kampar, Gopeng.
And the Kinta tin needed a way out too.
The plan was to send it south, to a port on the Perak River.
That port was Teluk Anson, the town we now call Teluk Intan.
On 19 May 1893, the first stretch of line out of Teluk Anson opened. By later that year, it reached Tapah Road. Its job, as one local study puts it, was to carry tin ore from the Kinta Valley to the port of Teluk Anson.
And then the rails began climbing north into the heart of the valley.
Batu Gajah to Ipoh, in 1893.
Kota Bharu to Batu Gajah, in 1894.
Tapah Road to Talam. Talam to Kampar. Kampar to Kota Bharu, in 1895.
Section by section.
Mile by mile.
Ipoh was connected.
Its first railway station, built around 1894, was a simple single-storey building. One account describes it as wooden, with an attap roof.
Hardly a palace.
But it did not need to be.
What mattered was what passed through it.
The Iron Road
Think about what changed when the train arrived.
Before the railway, tin moved at the speed of a buffalo.
After the railway, it moved at the speed of steam.
More tin could leave the valley.
More supplies could come in. Machinery. Rice. Tools. People.
And when getting tin to market becomes cheaper and faster, mining becomes more profitable.
Historians of Perak describe the early railways as catalysts that boosted tin production and economic activity.
The railway did not dig a single ounce of tin.
But it multiplied the value of every ounce that was dug.
And the lines kept spreading.
By 1901, the separate state railways of Perak, Selangor and others had been merged into one body: the Federated Malay States Railways.
The FMSR.
The ancestor of today's KTM.
In 1908, a branch opened from Ipoh to Tronoh to serve the tin mines there. It reached the mines themselves in 1909.
Ipoh was no longer a remote mining camp.
It was a stop on a network.
And the money followed the line.
Ipoh Railway Station: The Taj Mahal of Ipoh

By the early 1900s, the little attap station was no longer good enough.
Ipoh was rich now. And rich towns want to look rich.
The man chosen to design the new station was Arthur Benison Hubback. A.B. Hubback.
If you have been to Kuala Lumpur, you have seen his work. He designed the old Kuala Lumpur Railway Station. In Ipoh, he also designed the Town Hall and the Old Post Office, right across the road.
Construction of the new Ipoh Railway Station and Hotel began in 1914.
That same year, the First World War broke out.
Materials ran short. Labour costs rose. Work was interrupted.
Hubback himself returned to England and stayed there. According to the A.B. Hubback Project, the station was completed under the supervision of another architect, Thomas Steele.
Finally, in 1917, it was done.
And what a building it was.
Classical British lines, combined with Mughal-inspired domes, arches and cupola-topped towers. The style is often called Indo-Saracenic, the same style used across British India.
At the front, a ground-floor loggia, a long covered walkway, runs about 183 metres along the whole frontage.
Inside, there were three platforms. Offices for railway staff. A restaurant. A bar.
And upstairs, a hotel.
The Station Hotel.
At first it had 17 bedrooms opening onto a deep upper verandah. By 1936, it had 21.
Locals gave the building its famous nickname.
The Taj Mahal of Ipoh.
What the Strangers Said
What did people think of it at the time?
One description from the time says it best.
"The size and magnificence of the Railway Station, with its first-class hotel accommodation on the upper floor, gives the stranger a hint as to the wealth and importance of the Ipoh town."
Read that again.
A hint as to the wealth and importance of the Ipoh town.
That was the point.
The station was not just a place to catch a train.
It was a statement.
This town matters.
This town has money.
A motoring guide from 1925 went further, calling the railway hotel at Ipoh the best accommodation to be found in Perak.
And a traveller from Medan, in Sumatra, who visited in the 1920s is said to have ranked it "number two" in grandeur, behind only Kuala Lumpur's station.
For a town that had been mostly wood and attap just a generation earlier, that is quite a climb.
When the Rails Were Torn Up
Then came the war.
In December 1941, Japanese forces invaded Malaya. Within months, the country was under occupation.
And the occupiers needed steel.
They were building a railway of their own, between Thailand and Burma.
History remembers it as the Death Railway, for the huge numbers of prisoners of war and civilian labourers who died building it.
To build it, the Japanese took rails from Malaya.
According to railway historians, more than 532 kilometres of track, mainly from the East Coast line and the branch lines on the West Coast, were pulled up and sent north.
Perak's tin lines were among them.
The Ipoh–Tronoh branch was closed in June 1943. Its track was sent to the Burma–Siam railway.
It was never rebuilt.
The Teluk Anson branch was closed in July 1943, its track also sent away. That one was restored after the war.
Think about that.
The very rails that had carried Kinta's wealth to the world were ripped out and sent to build a railway remembered for suffering.
After the war, the tin industry carried on for decades, but it would never again be quite what it had been.
And the old branch lines slowly faded. The Teluk Anson line, the one that first connected the Kinta Valley to a port, finally stopped running in 1989, after about 96 years.
The Station That Waited
The station building survived.
The trains kept coming.
But the hotel upstairs, later known as the Majestic Station Hotel, slowly aged with the building.
In 2011, the hotel closed.
For years, the upstairs verandahs that once welcomed the wealthiest travellers in Perak stood empty.
Plans to restore and reopen the hotel have been announced since then. We could not confirm whether it has fully reopened, so check before you plan a stay.
But even half-asleep, the building never lost its presence.
Couples still come for wedding photos.
Tourists still stop to stare at the domes.
And the Taj Mahal of Ipoh still stands, white against the hills.
The Train Comes Back

And then, the railway got a second life.
In the 2000s, Malaysia rebuilt the main line between Rawang and Ipoh with double tracks and electrification. The work was officially completed in January 2008.
On 12 August 2010, KTM launched the Electric Train Service.
The ETS.
Its first route ran between Ipoh and Seremban, through Kuala Lumpur.
The fastest service could take you from Kuala Lumpur to Ipoh in about two hours.
Before the upgrade, according to one of the contractors, the trip took about five hours.
Five hours down to two.
Suddenly, Ipoh was close again.
Close enough for a day trip. Close enough for a weekend. Close enough for families from KL to come up for white coffee, bean sprout chicken and a walk down Concubine Lane.
The ETS network has since expanded across the West Coast line, and Ipoh remains one of its key stations.
More than a hundred years after the first train pulled into a simple attap station, the railway is still bringing people, and money, into Ipoh.
The Lesson That the Railway Teaches
In this series, we talk about millionaires.
About the tin barons who dug fortunes out of the ground.
But here is something people forget.
A fortune buried in the ground is worth nothing if you cannot move it.
Tin made Ipoh rich.
But the railway made that wealth reachable.
It connected the mine to the port.
The port to the world.
And the world back to Ipoh.
That is the lesson.
Talent and resources are never enough on their own.
They need a way to reach people.
A road. A line. A connection.
The tin is mostly gone now.
The rails are still here.
So the next time you step off the ETS at Ipoh and walk out under those domes, stop for a moment.
Look up.
You are standing inside the receipt of a city that was built on tin, and carried to greatness on iron.
Born in Ipoh. Built for the world.
Have you ever taken the train to or from Ipoh? And do you remember the old Ipoh Railway Station or the Majestic Station Hotel in its heyday?
This story is part of Born in Ipoh. Built for the World., our City of Millionaires heritage series. At EdQuest International School in Ipoh, we believe history, character and critical thinking are best learned through real stories, including the stories of our own city.
Stories in this series are shared for informational and educational purposes. Where accounts differ or rest on legend and oral history, we say so. We respect all races, religions and cultures, and we do not represent or endorse any political party or movement.
This story is part of Born in Ipoh. Built for the World., our daily series on the people and places that shaped Ipoh.
More Ipoh Stories
- The Birch Memorial Clock Tower, Ipoh: The Old Town Clock That Watched Everything Change
- The Hidden Tunnel Beneath Ipoh's High Court
- Malaysia's Most Audacious Heists: The Tunnel Rats and the Mamak Gang
Learning from real stories
At EdQuest International School, our students learn history, character and critical thinking through real stories, including the ones from our own city. We're an approved IGCSE school in Ipoh for Year 1 to Year 11, offering Pearson Edexcel and OxfordAQA.