Agordat is a city in Eritrea. It was the former capital of the now defunct Barka Province of Eritrea. It lies in the west of the country on the Barka River. An important market town, it is home to a large mosque. This town was the last major town along the Eritrean Railway to Massawa through Asmara.