The closest known galaxy to Earth is the Canis Major Dwarf Galaxy, at 25,000 light years from the Sun. The Sagittarius Dwarf Elliptical Galaxy is the next closest, at 70,000 light years from the Sun.
Also called M31—and our closest giant neighboring galaxy at just 2.5 million light ... of which is more than a million light-years from Earth. That’s almost half the distance to Andromeda.