The Andromeda Galaxy (Messier 31) is a barred spiral galaxy in the constellation Andromeda about 2.5 l.y. away and easures about 220 000 l.y. across.