Svinjarec is located in the municipality Dubrava, in Zagreb County at an elevation of 103 meters above sea level and it covers the area of 6.15 km² (2.37 sq. miles). According to the 2011 census report, there were 53 inhabitants. It is entirely populated by Croats. Nearby places: Gornji Dragičevci, Bađinec, Donji Dragičevci, Graberec, Grabik, Prnjarovac, Podlužan, Zetkan, Kostanj and Pehardovac.