"I don't feel it's right that I'm playing knowing that I'm not 100 percent and I cannot currently operate at the level I have done in the past," Trott said in a statement. "My priority now is to take a break from cricket so that I can focus on my recovery."
Trott, who was born and educated in South Africa, has been part of England's three consecutive Ashes series wins. He made a century in his test debut against Australia in 2009, and scored two unbeaten centuries and a half century during England's Ashes triumph in 2010-11 - its first in Australia in 24 years.
He averages 46 in his 49 tests, including nine centuries, but didn't reach triple figures in the recent northern summer series against New Zealand and Australia and has been struggling for form.
The news of his departure was met with surprise and sympathy in Australia, with the Cricketers' Association saying it hoped Trott had good support around him.
But it's unlikely to stop any verbal banter between the teams. The first test ended with angry exchanges between the Australian fielders and England batsmen, with Australia captain Michael Clarke fined by the International Cricket Council for using an obscene word in an exchange with Jimmy Anderson that was picked up on the TV broadcast.
Both sides later conceded that the verbal attacks were part of every Ashes series, which dates back to the 1800s when Australia was still a collection of British colonies.
England Cricket Board managing director Hugh Morris described Trott as "an incredibly talented cricketer who has proven himself time and again for England."
"The cricket side of things is unimportant now, all that matters is that Jonathan is given the time, support and space he needs to recover," Morris said. "We fully support his decision to leave the tour and the ECB will provide all the assistance we can to help Jonathan and his family through this period."
Trott is the third England player to quit a tour in the last decade due to stress-related issues. Marcus Trescothick quit tours to India and Australia in 2006 and Michael Yardy withdrew from the World Cup in 2011.
England coach Andy Flower told the British media that Trott's decision was not a result of Warner's remarks, but condemned the way the Australian batsman used a news conference forum to comment on a rival player.
?"Jonathan has been struggling with this condition for quite a while and has managed it very successfully but we've been on tour for about a month," he was quoted as saying. "He's had his ups and downs through that month and it is not directly related to that.
"I would also say that I think players commenting about fellow professionals in the media is disrespectful. I think on this occasion he (Warner) has got that horribly wrong."
Trescothick played 76 test matches before he suddenly left a tour in India in 2006 due to a stress-related problems. He was included in the touring squad for the 2006-07 Ashes series in Australia but left with a recurrence of the illness. He never played another test and retired officially from international cricket in 2008.
Trescothick commented via Twitter, posting: "Sad news, hope trotty is ok."
"Let's not start pointing (too) many fingers at the reason why and how, let's just think about the man," he added.
Some former Australia players are famous for what is locally known as "sledging" - or verbally unsettling rival players. Former captain Stephen Waugh was widely known for the "mental disintegration" tactics he used to put vulnerable rival players off their games. In the buildup to the first test of this series, the local newspaper launched a vitriolic tabloid campaign targeting England stars Kevin Pietersen and Stuart Broad. Trott could easily have been the next target.
Trescothick told Britain's Sky Sports on Monday that an Ashes tour to Australia was definitely not a good place for somebody struggling with stress.
"This has got to be the biggest pressure that you can take on as an international cricketer, going to Australia with the pressure on for the Ashes and then being put under the scrutiny," he said. "It's a very, very hostile environment in Australia when the whole of the country is battering you left, right and center.
"The media, the people in the hotels and then you go out to the cricket and you get that as well, so it is not easy at all and I can sympathize with him."
He told BBC radio that the stress was "debilitating, it grinds you down, and it's difficult to escape from."
"There is no hiding place from it, 24/7. It's really, really tough and it will take time for him to get back on track again."
Vaughan said he didn't know about Trott's issues when he criticized his batting performance.
"Clearly this week he wasn't right," Vaughan said. "I do feel guilty for criticizing Trott this week ... I wasn't to know what he was going through and I can only comment on what I see."
- AP