According to the website MyHeritage, the pair are actually distant cousins, 11th cousins to be precise, sharing members English couple Ellen Haskell and William Osbern Haskell III. The couple got married in England around 500 years ago.
In 1635, Ellen subsequently emigrated to America with her sons William and Roger, which explains the Friends pair.
Experts who work with the website have said that Roger is a direct ancestor to Courteney, while William is a direct ancestor to Mathew.
It would also appear that Lady Gaga who appeared on the reunion show for Friends, is also releated to the duo.
"We went into this line very deeply, we checked every name", said Roi Mandel, the head of research for MyHeritage. "We found a lot of records that support it, and we have confidence that they are related".
Mandel also added that the further you go back in generations, the likelier you are to discover that you are connected to someone.
"This is not such a surprise", he said. "It makes sense that when you go so many generations back, the chances of people being connected are higher".
This revelation as you could imagine was met with huge shock.
"Um- are my eyes working properly??," one stunned fan wrote.
One fans also wrote this.
Mathew Perry and Courteney Cox also appeared alongside David Schwimmer, Jennifer, Aniston, Lisa Kudrow and Matt Le Blanc for the Friends Reunion special which aired yesterday. (May 27).