Kostajnica (Serbian Cyrillic: Костајница),[3] is a town and municipality in northern Bosnia and Herzegovina, part of the Republika Srpska entity. It is situated in the part of the Кrajina[4] region. The municipality was created from part of the pre-war municipality of Novi Grad.