, the Pakistan left-arm spinner, will return to Gloucestershire for the 2022 season, as the club prepare for their first Division One campaign since 2005.
Gohar collected 20 wickets at a cost of 14.35 in four Championship games earlier this year - including a match haul of 11 for 101 against Durham - as Gloucestershire finished second in Division Two.
He will be available on a pay-as-you-play basis from next April, before moving on to a full contract for August and September, with Will Brown, Gloucestershire's chief executive, suggesting the club were "on the cusp of something really special" after bringing in Gohar alongside Australia opener Marcus Harris
to fill their overseas spots.
"The signing of Zafar is another great moment for the club," Brown said. "We feel like we're on the cusp of something really special with the squad we're assembling and we're confident of being able to challenge for silverware in 2022.
"Zafar was a big hit with supporters at the back end of last season and we're confident that he'll be able to make important contributions for The Shire once again next season across all formats, including the County Championship, where we'll be playing against the best cricketers in the country in Division One."
Gohar, who has played one Test and one ODI for Pakistan, is Gloucestershire's first signing since confirmation of Dale Benkenstein's appointment as head coach
earlier in the week.
"Playing county cricket this year and making my debut for Gloucestershire was the realisation of an ambition I've had for some time," Gohar said. "Getting the opportunity to pull on a Gloucestershire shirt and contribute to a winning team was a great start to my career in England, and I'm very pleased to be returning for a longer stint next year.
"We have a team capable of challenging anyone, and some great momentum from 2021 to build on. I can't wait to get back and hopefully pick up where I left off."
Steve Snell, performance director at Gloucestershire Cricket, added: "We're thrilled to have Zafar back onboard for next season, he's already proven just how much quality he has and we're really excited to see him in action again next year.
"It's a real bonus that Zafar is available for selection right from day one, he provides the squad with depth and makes selection even more difficult for our new head coach Dale Benkenstein, which is a positive problem to have."