Xanthesma primaria, or Xanthesma (Xenohesma) primaria, is a species of bee in the family Colletidae and the subfamily Euryglossinae. It is endemic to Australia. It was described in 1965 by American entomologist Charles Duncan Michener.
The species occurs in south-west Western Australia. The type locality is 48 km north of Bunbury.
The adults are flying mellivores.