It is 40.7 light years away. The light reaching us today left it in 1985.
TRAPPIST-1 in Aquarius, 40.7 light-years away, is a red dwarf barely bigger than Jupiter and more than twice as cool as the Sun. Seven rocky, Earth-sized planets orbit it as tightly as moons around Jupiter: all of them would fit six times closer to their star than Mercury is to the Sun. Their periods form a chain of resonances, which is how we know their masses. Three of them, e, f and g, lie in the zone where liquid water could exist on the surface.
The scale is logarithmic, otherwise the Moon and the Sun would stick together at the left edge.