Carlos Alberto Parreira has resigned as coach of Brazil, the Brazilian football confederation (CBF) said.
Parreira had little chance of keeping his job after holders Brazil endured a disappointing World Cup campaign in Germany, which culminated in a quarter-final exit against France, despite having started the competition as overwhelming favourites.
The 63-year-old, who led Brazil to the 1994 World Cup title, had taken charge for a second time in January 2003.
CBF president Ricardo Teixeira said in a statement that his successor will be named "very soon".
Parreira said that he wanted to spend more time with his family and rest after almost four years in charge of the national team.
"Parreira deserves respect after leading Brazil to a fourth world title in 1994," said Teixeira.
Brazil rarely looked convincing at the World Cup.
Ronaldo struggled for his best form and Ronaldinho, who had been tipped to be the tournament's biggest star, was anonymous for most of the time.
They went out 1-0 to France in the quarter-finals and Parreira, who said in 2005 that he intended to step down after the finals whatever the outcome, admitted that he had been surprised by the high standard of France's play.
Parreira has also coached three other teams at the World Cup - Kuwait (1982), United Arab Emirates (1990) and Saudi Arabia (1998).