A structure consisting of a condensed X chromosome (see x inactivation) that is found in nondividing nuclei of female mammals. The presence of a Barr body is used to confirm the sex of athletes in sex determination tests. It is named after the Canadian anatomist M. L. Barr (1908–95), who identified it in 1949.