The gens Ulpia was a Roman family that rose to prominence during the 1st century AD. The gens is best known from the emperor Marcus Ulpius Trajanus, who reigned from AD 98 to 117. The Thirtieth Legion took its name, Ulpia, in his honor.
The ancestors of the Ulpii were Roman colonists in Hispania. Little is known of them except that they were connected with a family of the Aelii, who had also settled in Hispania; Trajan's aunt was the grandmother of the emperor Hadrian. According to one account, the Ulpii were originally from Tuder, in southern Umbria, where indeed there is evidence of a family of this name. The name itself may be derived from an Umbrian cognate of the Latin word lupus, meaning "wolf."