The Municipality of Hrpelje–Kozina is a municipality in the Littoral region of Slovenia. Its seat is the village of Hrpelje.