Kim Kardashian wore custom-made underwear to Met Gala

Kim Kardashian needed to don custom-made underwear for the Met Gala.

The reality star explained her elaborate dress required a special pair of underpants in order to prevent wardrobe mishaps.

The base layer of Kim's tightly cinched John Galliano for Maison Margiela gown was made of metal like a suit of armour – but from certain angles, it left the possibility of peekaboo gaps.

"The one thing about John is he'll think of every last detail," Kim, 43, told Vogue.

"So, if you're standing at the top of the stairs, but the photographers are at the bottom of the stairs, and they're getting a glimpse up, and the skirt's made out of metal and there's little peekaboo holes within that, he wanted to make sure that I'm fully covered in the appropriate places."

To head off the chance of a bad photo op, Kim wore a specially made pair of Margiela thong underpants, featuring a print of the same floral design that appeared on her gown.

Kim also explained she had to walk on the very tips of her toes, like a ballerina, for the entire red carpet.

"We really need the height on this look, so we gotta do what we gotta do," she said.