The family also threw Kim an epic surprise party, during which Kourtney, Khloe, Kylie and Kendall recreated a dance number from Kim's 10th birthday.
The Kardashian-Jenner family wanted to make sure Kim's birthday was extra special despite the pandemic, and even Rob Kardashian came out to the filmed celebration.
During Wednesday night's "Keeping Up with the Kardashians: Kim's 40th Birthday Special," Rob, 33, made a rare appearance on his family's reality show and joined Kris Jenner, Kourtney Kardashian, Khloe Kardashian, Kendall Jenner and Scott Disick in taking a look back at some of Kim's best "KUWTK" moments, including the time she recorded a pop song, her iconic fashion looks, and her and Kanye West's love story.
Kim Kardashian Turns 40: See Messages From Borat, Kanye And Very Emotional Kris
View StoryAt one point, Rob asked Kim if she remembers when she and Kanye were often called by their celebrity couple name: Kimye.
"We're definitely Kimye," Kim replied.
Kris, for her part, became emotional as the group watched a montage of Kim and Kanye's romance.
"Kim, you've always had a pretty charmed life, but I've really been fortunate to watch you blossom and grow really from the moment that Kanye came into your life," she said. "And I'm just so grateful for the beautiful family that you guys have together."
After watching some of the best moments of her time on television alongside her family, Kim said, "It is so much fun just to look back and see all of the fun times that we had together. This viewing party is so, so special."
Unbeknownst to Kim, the celebration didn't stop there. Since the KKW Beauty founder wasn't able to have the big birthday blowout she wanted, the family planned a surprise party, in which they recreated some of Kim's birthday celebrations of years past and shared home videos documented by the late Robert Kardashian.
One of these recreations included a hilarious rendition of a choreographed dance Kourtney and Khloe performed at Kim's 10th birthday. Although Kylie and Kendall weren't alive at the time, the two sisters joined their elder siblings for the dance number, rocking black leotards and bow-ties. And Kim absolutely loved it.
"Oh my god. I was genuinely in such shock," Kim said of the performance. "I think my 10th birthday party so far has been my most fun birthday party of my whole life. I just remember everyone had the best time."
"Just everyone doing the dance...it was really cute and much appreciated," she added.
Watch a clip of the dance, below!
Waiting for your permission to load the Instagram Media.
Got a story or a tip for us? Email TooFab editors at tips@toofab.com.