Derventa (Serbian Cyrillic: Дервента) is a town and municipality just northwest of the town of Doboj, in the Posavina region. The municipality comprises 57 villages as well as the town itself. Derventa is a part of the Republika Srpska entity in Bosnia and Herzegovina.