George Weah, along with other people, has been told to stay away from the ministry of foreign affairs until the building can be fumigated after the reptiles were spotted on the ground floor.
Liberia is home to poisonous snakes and so officials have decided not to take any chances.
The black snakes were seen emerging from a hole in the wall in the building’s reception area.
It is only a few weeks since the same building was last closed for fumigation, as it was shut between 29 March and 1 April.
The building is expected to be reopened by Monday.
Deputy press secretary Smith Toby said the fumigation began to take care of “creeping and crawling things”.
Mr Weah, who played for top clubs including Paris Saint-Germain, AC Milan, Chelsea and Manchester City, was FIFA’s player of the year in 1995.
And he was named African player of the century the year afterwards. He has also won the coveted Ballon d’Or.
He became president in January 2018.