For wildlife tracker Peng Jinfu, every shift comes down to one rule: follow the herd.
"Wherever the elephants go, I go," said Peng, a member of a monitoring team in southwest China's Yunnan Province, home to the country's largest population of wild Asian elephants – a nationally protected species.
Since the China-Laos Railway began operating between Kunming and the Lao capital of Vientiane five years ago, Peng has worked on the front lines with rail operators to keep wandering herds safely clear of oncoming trains.
A wider safety network that combines engineered barriers, smart monitoring, and dedicated maintenance crews has recorded zero human-elephant conflicts and zero rail accidents.
Monitors now regularly capture footage of wild elephants playing and even lying down together to sleep in the open, behavior a July think tank report cited as a sign the animals feel secure in their habitat.

'They come and go as they please'
Safeguards were built into the China-Laos Railway, China's only cross-border rail line running through a primary Asian elephant habitat, well before trains began rolling on December 3, 2021.
During planning, engineers worked with forestry authorities to map migration routes using satellite imagery and field surveys, rerouting the line to bypass core range wherever possible.
Where the tracks crossed elephant territory, crews built 39 dedicated underpasses and corridors, flanked by 42.9 kilometers of protective fencing and 1,908 meters of acoustic barriers to dampen train noise and vibration.
"Without these reserved corridors, the railway would have split the elephant population in two," Peng said. "Now, they come and go as they please."
The fencing was engineered specifically for the world's largest land mammals. Standing three meters tall, the flexible barrier can absorb the impact of a charging adult elephant at 24 kilometers per hour, stopping it from reaching the tracks while rebounding gently enough to prevent injury.
Beyond the physical barriers lies an invisible digital shield. In Pu'er, operators monitor round-the-clock feeds from infrared sensors and thermal cameras along elephant paths.
That closed loop – linking detection, early warnings, and train speed reductions – keeps both herds and high-speed trains out of harm's way.
"Asian elephants rely heavily on established migration routes," explained Huang Yunhai, head of the Wild Elephant Valley maintenance team with the China Railway Kunming Group.
"As long as we protect their exclusive passages, we greatly reduce the chance of them approaching the tracks," Huang told media back in March.

The 'elephant guardians'
Infrastructure alone cannot guarantee coexistence between the railway and the animals. Keeping the system working requires people on the ground, day after day – a crew locals have come to call the "elephant guardians."
Huang leads a 29-strong team with an average age of 30 at the Wild Elephant Valley in Xishuangbanna. Together, they maintain the 58-kilometer stretch of track most prone to elephant encounters.
Their work ranges from repairing fences nudged out of shape by passing herds and clearing debris from underpasses to tracking herds through a mobile app that pings real-time alerts.
Over time, the crew has developed a routine known as the "three elephant practices": tracking footprints and trail signs, recognizing vocal calls, and keeping migration passages clear.
Close encounters are an unavoidable part of the job. Heading back from patrol one day, Huang and his colleagues spotted a herd slowly crossing the road. They immediately pulled over, switched off the engine and waited quietly until the animals passed.
On one occasion, the crew sat inside their vehicle for eight hours before a herd finally moved on.
For Huang's team, a good day's work comes down to the same balance: trains arriving on time, herds roaming free, and two worlds sharing the same rainforest in peace.
At the end of each shift, Huang gladly records the same brief entry in his logbook:
"Nothing unusual happened today. The elephants are safe, and the railway is running smoothly."
Read more:
Five years on, the China-Laos Railway is changing lives
A trade corridor: How a railway is rewiring commerce between China, Laos and beyond
(China Media Group reporter Li Tengfei at the Yunnan Station contributed to the story.)