Kim Kardashian says she was high on ecstasy when she filmed her infamous sex tape.

The 37-year-old shared details about her "wild phase," including her sex tape with Ray J, on Sunday's episode of "Keeping Up with the Kardashians."

"I got married on ecstasy. The first time," Kardashian told a surprised Kendall Jenner and Scott Disick, referencing her wedding to Damon Thomas in 2000.

"I did ecstasy once and I got married," she said. "I did it again, I made a sex tape. Like, everything bad would happen."

The "Keeping Up with the Kardashians" star said she was "absolutely" on ecstasy when she shot her sex tape with Ray J in 2003.

The tape went public in 2007, catapulting her to fame.

"Absolutely. Everyone knows it," she confirmed. "Like, my jaw was shaking the whole time."

Kardashian later said in a confessional shot that Jenner, 23, "has no clue" about the extent of her "wild" past.

Reality TV World is now available on the all-new Google News app and website. Click here to visit our Google News page, and then click FOLLOW to add us as a news source!
"I definitely went through a wild phase, I would say in my late teens," the mom-of-three said, according to People.

"I'm not like that anymore. But I still have fun -- don't get it twisted -- I'm always the life of the party."

Kardashian is parent to 5-year-old daughter North, 2-year-old son Saint and 10-month-old daughter Chicago with her husband, rapper and designer Kanye West.

She shared a photo of a sweet moment between West and Chicago this month.