Hacham David Hacohen was born to Shoshana and Moshe in 1824 in Djerba, Tunisia. He married Camisa, and the couple had two sons.
Hacham David Hacohen was employed as the Djerba governor's secretary and spent every spare moment of his time to study Torah. He would devote the Sabbath, in particular, to learning Torah and on Motsa'ei Shabbat would put his learning and new insights to paper.
Hacham David Hacohen was learned in Talmud and Halakhic innovation, grammar and poetry, mathematics and Arabic, and wrote songs and laments. He officiated as rabbi of the community of a small Djerba neighborhood, for whom he would rule and respond to questions.
Hacham David Hacohen passed away on 21 Kislev 5631 (1870), leaving behind his writings and original commentary, published by his wife and sons after his passing: Misgav LaDach – on Bible and Talmud, Mekom David – sermons, Shirei David – rules of grammar, Shalom David – HaZa"L texts and sermons.