Gandesa is the capital of the comarca of Terra Alta, in the province of Tarragona, Catalonia, Spain. It is located at 363 metres above the sea. Population 2,668 (1996).