The various roles of mellitic acid during barium sulfate crystallization from nucleation to mesocrystal formation are explored and elucidated.