A Robin Thicke look-a-like gave the twerking star quite the fright as he crept up on her as she chatted to Ellen.
What's more, at the time Miley was casually bragging about how 'nothing scares her anymore' now that she's performed at the VMAs and thrown herself out of a plane.
Considering she actually jumped out of her seat at the prank, we're guessing she's reconsidering that statement now.
WATCH the prank by hitting play on the video above.
Miley also opened up about her split from Liam Hemsworth, revealing she has 'closed that chapter' of her life.
"It’s not really as awkward because I’m living it," she told Ellen.
"So I think people spend more time actually thinking about it then I really do.
"I just believe when a chapter is done you have to close it and start that new one. That’s kind of where I am right now," she said.