Dorsey said: “I’ve decided to leave Twitter because I believe the company is ready to move on from its founders.
“I’m deeply grateful for his skill, heart and soul. It’s his time to lead,” said Dorsey.
Agrawal has been with Twitter for a decade and served as CTO since 2017.
“I want to thank the board for their confidence in my leadership and Jack for his continued mentorship, support, and partnership,” said Agrawal.
In an email to staff on Monday Dorsey wrote that after 16 years at the company, it was time to leave.
“Ultimately I believe that’s severely limiting and a single point of failure,” he wrote.
“I’ve worked hard to ensure this company can break away from its founding and founders.”
Dorsey said Agrawal was his preferred choice for CEO. “My trust in him as CEO is bone-deep,” he wrote. “I want you all to know this was my decision and I own it.”
Dorsey, 45, co-founded the microblogging site in 2006 and posted the world’s first tweet: “Just setting up my twttr.”
He co-founded Square in 2009 after being pushed out of the top job at Twitter before returning as chief executive of the social media company in 2015.