Ayacko's political career began in 1997, when he was elected to the
Parliament of Kenya, representing
Rongo. After being defeated in the
2007 Kenyan general election, and in 2015 was elected chair of the African Commission on Nuclear Energy. In 2013 when members of the public approached him to vie as governor on the onset of devolution, he declined after ODM offered the mandate to Prof Edward Akong’o, who was defeated by outgoing Governor Okoth Obado on a PDP ticket. In 2017, Ayacko ran for Governor of
Migori County, but lost to
Okoth Obado Ayacko made a legal challenge against Obado's victory, but this was dismissed by the
Court of Appeal of Kenya. In 2018, Ayacko was listed as a nominee for an
ambassadorial position; however, he declined this, on the basis that he wished to continue pursuing electoral politics. In October 2018 he was elected as the third senator for Migori county after a by election beating his closest challenger
Eddy Oketch Gicheru. In 2020, he became the vice chair of the senate committee on finance and budget. Ayacko was nominated by the
Orange Democratic Movement as their preferred candidate for the Migori gubernatorial race, and subsequently won the election, defeating
John Dache Pesa by 175,226 votes to 126,171. ==Education==