The family of David IV the Builder (Georgian: დავით IV აღმაშენებელი), King of Georgia (r. 1089–1125), was part of the Bagrationi dynasty. The dynasty had made their appearance in the Georgian lands in the 8th century and succeeded in unifying several native polities into a unified kingdom by 1008. David IV concluded this process of unification, setting stage for a Georgian domination in the Caucasus.
Like his Bagratid ancestors, David entertained claims of descent from the biblical king David. He was a direct descendant of the first Georgian Bagratid monarch Ashot I (died 826/830) and bore known lineage, among others, from the Abkhazian, Alanian, Artsruni, Bagratuni, and Guaramid dynasties. David's immediate family consisted of his two successive wives and several children, of whom four are relatively better documented.
According to the Life of King of Kings David (ცხორებაჲ მეფეთ-მეფისა დავითისი), written c. 1123–1126, David was the only son of King George II (r. 1072–1089). The contemporaneous Armenian chronicler Matthew of Edessa mentions David's brother Totorme. The latter, according to the modern historian Robert W. Thomson, was his sister. The name of David's mother, Elene, is recorded in a margin note in the Gospel of Matthew from the Tskarostavi monastery; she is otherwise unattested. David bore the name of the biblical king-prophet, whose 78th descendant he was claimed to be.