Osojnik is a village in the Dubrovnik-Neretva County, Croatia. The settlement is administered as a part of the city of Dubrovnik. According to the 2021 census, its population was 335. According to national census of 2001, population of the settlement was 321.