The left-arm spinner spent time on loan at Headingley earlier this season and is now set to make that move permanent in 2024
Yorkshire have signed Dan Moriarty on a long-term deal, having had the Surrey spinner on loan earlier this season.
As previously reported by The Cricketer, Yorkshire were keen on bringing in the left-armer on a long-term deal, and he has now agreed a three-year contract.
Moriarty took five wickets on his Yorkshire debut in a draw against Gloucestershire in June.
"He is a brilliant addition to the team," said Yorkshire managing director of cricket Darren Gough, "offering up another bow to our bowling attack.
"He is the kind of player and person who will continue to add so much to our dressing room, and we look forward to him enjoying a long and successful career with the club. He will play a big part in everything we are looking to achieve moving forwards here at Yorkshire."
Moriarty is swapping Surrey for Yorkshire (Alex Davidson/Getty Images)
"It's always disappointing when a player chooses to leave Surrey to go to another county but after numerous conversations with Mozza I fully understand and respect the tough decision he has taken," added Alec Stewart, Surrey's director of cricket.
"He feels he will get more opportunities at Yorkshire to further his own career ambitions and I wish him well and thank him for the contributions he has given to Surrey since joining us."
Moriarty played 60 times for Surrey across formats and was part of the squad that won the County Championship last summer. He could yet play a role in retaining that crown, with Moriarty set to remain with Surrey until the end of the season.