Parti démocratique sénégalais
Ndoye was born in Dakar. He was a founding member of the Senegalese Democratic Party (PDS), but on December 31, 1981 he resigned from the PDS, in which he had held the position of National Secretary in charge of relations with the party's internal organs, and joined the ruling Socialist Party (PS). As a member of the Socialist Party, he became Administrative Secretary to the Political Bureau before serving in the government as Minister of Justice under President Abdou Diouf from April 8, 1983 to January 2, 1986.