Zofingen is a city in the canton of Aargau in Switzerland. It is the capital of the district of Zofingen.