A shocking new video shows a man in Brazil narrowly escape getting hit by an oncoming train just in the nick of time.

Footage shows the man neatly stepping off the tracks just as the train barrels down toward him, missing him by mere inches.

Even more unbelievably, the man looked to be largely unfazed, Heather Nauert said on “Fox and Friends” this morning.

WATCH: Man Jumps Overboard on Royal Caribbean Cruise Ship

WATCH: Woman's Snapchat Selfie Captures Moment of Ohio Plane Crash

After the incident, he continues to walk on from the tracks without so much as a glance over his shoulder.

Watch the crazy moments play out in the clip above.

Skier Survives Terrifying 1,600-Ft Plunge Down Mountain

WATCH: British Daredevil Scales the Eiffel Tower

VIDEO: Grandma's Dentures Go Flying During Sky Dive