The 31-year-old midfielder left the Magpies by mutual consent last month, and has now signed for the La Liga side until the end of the current campaign.
He signed for the Magpies after his contract with Swansea City expired in July 2018, and made 23 appearances in all competitions. However, only four of them came this season.
Real Mallorca are currently 18th in Spain's top flight, and are at home to Getafe on Sunday.