In 1955, the population of Kodok was about 9,100. During the First Sudanese Civil War in 1964, during the reign of Muhammad Ahmad Mahjub, Kodok was the scene of a massacre by the military in Khartoum. Similar massacres in 1964 and 1965 also took place in other cities in southern Sudan.