Alagna is a "comune" (township) in the Province of Pavia in the Italian region Lombardy, which is about 40 km southwest of Milan and about 20 km west of Pavia. As of 31 December 2004, it had 876 people and an area of 8.6 km².