Dubovec (Hungarian: Dobóca) is a village and municipality in the Rimavská Sobota District of the Banská Bystrica Region of southern Slovakia.
In historical records, the village was first mentioned in 1260 (1260 Dabacha, 1336 Doboulcha, 1460 Dobowcha), when it belonged to Blh castle. After it passed to Szèchy family. In 1683 it was pillaged by Turks. In 1700 it belonged to Koháry family and after to Muráň town.