Aizpute is a town in western Latvia's Aizpute Municipality in the valley of Tebra River, 50 km northeast of Liepāja.