Gubno is a village in the Municipality of Kozje in eastern Slovenia. The area is part of the historical Styria region. The municipality is now included in the Savinja Statistical Region.
The local church is dedicated to Saints Primus and Felician and belongs to the Parish of Pilštanj. It dates to the 16th century with later reworking in the Baroque style.