Pregara is a village in the City Municipality of Koper in the Littoral region of Slovenia on the border with Croatia.