Middelburg is a town in the Eastern Cape province of South Africa, in the Great Karoo. It lies in the Upper Karoo, 1,279 m above sea level, with a population of 19,000. It falls under the Inxuba Yethemba Local Municipality, in the Chris Hani District Municipality.