The main river in the municipality or that flows through it is the Vipava. The "Hubelj" river, a right tributary of the Vipava, is a short stream that divides the town of Ajdovščina in two large parts: Ajdovščina itself and Šturje.