Carlos Moya has decided not to stay on as Spain's Davis Cup coach next year after the five-time winners, missing their top players, were eliminated from the elite World Group by Brazil at the weekend.

Injured world No. 2 Rafa Nadal and No. 5 David Ferrer were two of the absentees as Brazil's 3-1 success on clay in Sao Paulo dumped Spain into the Euro-Africa Zone Group I for the first time since 1996.

For a country with 10 players in the top 50 it was a bitter blow and further humiliation following setbacks for their soccer and basketball teams at their respective World Cups this year.

Moya, who took over from Alex Corretja at the end of 2013, announced his decision to step aside on his Twitter feed (@Charlymoya) on Thursday.

In an interview with El Pais, the former world No. 1 said he had not been expecting to find it so hard to convince Spain's top players to take part in the Davis Cup and that he was leaving partly because he did not want to further disrupt the lives of his young family.

"I signed for one year instead of the two they offered me for family reasons," he told the newspaper.