President Jammeh has already said he will not be intimidated, saying Ecowas had no authority to interfere.
Mr Jammeh, who has ruled for 22 years, has lodged a case before the Supreme Court to annul the vote after the electoral commission changed some results.
The commission insists the outcome was not affected by an initial error and that property developer Adama Barrow won the poll and should be inaugurated on 19 January.
Marcel Alain de Souza, chairman of the Ecowas commission, said Mr Jammeh had until that date to comply with its mediators.
“If he is not going, we have stand-by forces already alerted and these stand-by forces have to be able to intervene to restore the people’s wish,” he said.
The Gambia, a former British colony, is surrounded on three sides by Senegal.
“Senegal has been selected by its peers to lead the operations but we do not wish to start a conflict,” Mr de Souza said.
“If he loves his people, he has to be able to negotiate an exit door calmly. If it doesn’t happen, the most radical means will be used.”
The BBC’s Umaru Fofana, who has been reporting from The Gambia, says Mr Jammeh’s defiant comments earlier this week make it clear that Nigeria’s President Muhammadu Buhari, appointed chief mediator by Ecowas, has a fine line to tread.
Mr Jammeh said that although he was a “man of peace”, that did not mean he would not defend himself and the country “courageously, patriotically and win”.
The stalemate is already taking a huge toll on the economy of the small West African country, which is popular with tourists, with the Chamber of Commerce saying businesses have been badly affected, our reporter says.
The Supreme Court says it will hear a case brought by Mr Jammeh’s party to cancel the result on 10 January.
President Jammeh, 51, seized power in 1994 and has been accused of human rights abuses, although he has held regular elections.
The Gambia has not had a smooth transfer of power since independence from Britain in 1965.
According to the electoral commission’s final count:
Mr Barrow won 222,708 votes (43.3%)
President Jammeh took 208,487 (39.6%)
A third-party candidate, Mama Kandeh, won 89,768 (17.1%)
Results were revised by the electoral commission on 5 December, when it emerged that the ballots for one area had been added incorrectly.