The gens Rufia, occasionally spelled Ruffia, was a minor plebeian family at ancient Rome. Members of this gens are not mentioned in history until imperial times, and they achieved little prominence until the late third century, from which time the family rose in importance, gaining the consulship on a number of occasions from the time of Constantine the Great to that of Justinian, and frequently holding the post of praefectus urbi.