Lokaksema was born in Gandhara, a center of Greco-Buddhist art, at a time when Buddhism was actively sponsored by the king, Kanishka the Great, who convened the Fourth Buddhist council.
Lokaksema came from Gandhara to the court of the Han dynasty at the capital, Luoyang, as early as 150 CE and worked there between 178-189 CE.