Messier 23, also known as NGC 6494, is an open cluster of stars in the southern constellation of Sagittarius. It was discovered by Charles Messier on June 20, 1764. M23 can be found with binoculars or a modestly sized telescope. The cluster is positioned in front of "an extensive gas and dust network", although it is unclear if there is an association between the two. It is located near the ecliptic and thus is subject to lunar occultations.
The cluster is located 2,050 light years away. Estimates for the number of cluster members range from 169 up to 414, with a directly-counted mass of 1,206 M☉; 1,332 M☉ by application of the virial theorem. The cluster is around 330 million years old with a near-solar metallicity of [Fe/H] = −0.04. The brightest component (lucida) is of magnitude 9.3. Five of the cluster members are candidate red giants, while the variable VV Sgr is a candidate asymptotic giant branch star.