On August 30, 1999, the Rock 'N' Sock Connection was formed when The Undertaker and Big Show attacked The Rock on Raw, leading The Rock to challenge both of them to a match. At the time, it was considered career "suicide" to face a team as deadly as The Undertaker and The Big Show. With this in mind, Mankind (who used a smelly sock named "Mr. Socko" as part of his gimmick) asked his former enemy if he could help with his fight against Undertaker and Big Show. The Rock reluctantly accepted, and later that night, the two captured The Undertaker and Big Show's WWF Tag Team Titles when they pinned Big Show after a double People's Elbow.
They lost the belts on September 7, 1999 on Smackdown in a Buried Alive match against Undertaker and Big Show, when then-heel Triple H interfered. However, Triple H was really only helping out Undertaker, as he hit The Big Show with a sledgehammer.
On September 20, the Rock 'N' Sock Connection won the titles back in a Dark Side Rules match against The Big Show, Mideon, and Viscera (The Undertaker did not feel like being in the match so they took his place, thus turning the match into a three-on-two). Three days later on SmackDown!, the New Age Outlaws reunited and challenged Rock 'N' Sock Connection for the titles, which The Outlaws won.
Several days later, Mick Foley and Dwayne Johnson helped WWF Raw achieve some of its highest ratings ever with a segment featuring himself (as Mankind) and The Rock. The "This is Your Life" segment aired on September 27, 1999, and received an 8.4 rating. Two weeks later, The Rock told Mankind that he was tired of him, did not like the whole Rock 'N' Sock team, nor did he enjoy Mankind stealing his catchphrases during promos. Mankind begged The Rock to team up with him for one more night, but he did not tell The Rock who they would be fighting.
They ended up challenging The New Age Outlaws for the championships on October 14, 1999. That night, the Rock 'N' Sock Connection won the tag team titles for the third time, meaning they would have to continue teaming together to defend the titles. Four days later on SmackDown!, before their title defense against The Holly Cousins, Mick Foley gave the Rock an autographed copy of his book, Have a Nice Day!, but later found it in the trash. Mick confronted The Rock and cursed him out for throwing away his life's work. Later that night, during their match, a crushed Mankind refused to participate as he sat despondently on the steel steps, facing away from the ring, as Hardcore and Crash Holly (with outside interference once again by Triple H) beat The Rock for the Titles.
The Rock and Mankind began a feud with each other, until Foley discovered that it was his close friend, Al Snow who threw the book in the trash, since the book contained many Al Snow jokes.
The Rock 'N' Sock would later reunite to take on the McMahon-Helmsley Faction. Upon opposition, Triple H, then WWF Champion, would place those two in a Pink-Slip-On-A-Pole match, where the loser will be fired from the WWF (kayfabe). Mankind lost the match, thus resulting in termination. However, a few days after Mankind's firing, The Rock was interviewed and finally announced that he acknowledged and respected Mankind's hard work with the company, mentioning that the Faction was abusing power. The Rock even went so far as to rally various WWF Superstars on a RAW episode to demand Mankind's reinstatement, which Triple H complied and did. They teamed off-and-on until Foley's in-ring retirement in March 2000.
In 2004, The Rock 'N' Sock Connection reunited at WrestleMania XX when they took on then Evolution members Randy Orton, Ric Flair, and Batista in a 3 on 2 handicap match. However, the Rock 'N' Sock Connection lost the match, when Orton pinned Foley after an RKO. There were rumors that Mick Foley would appear on WWE Raw on May 2, 2011, to reunite with his longtime friend The Rock as together as the Rock 'n' Sock Connection for The Rock's birthday. However, this did not happen. However Foley was confirmed to appear on Nov 14, 2011 Edition of 3 hour Raw "Rock Reunion" edition for a possible reunion of Rock and Sock connection, before The Rock's in ring return at Survivor Series. They both appeared on that edition of Raw only for Rock to Rock Bottom Foley and leave. On Raw's 20th Anniversary, Mick Foley was greeted by his friend, The Rock. The two hugged each other before being interrupted by Vickie Guerrero. Foley was puzzled why The Rock didn't talk back, then The Rock said to trust him, and watch the Rock Concert. The two then exchanged hugs once more, and The Rock congratulated Foley for his impending WWE Hall of Fame induction and wished him well.