In this work confinement/deconfinement transitions in various geometries are studied in early universe via AdS/CFT correspondence (more generally gauge/gravity duality). The gauge/gravity duality relates gravity theory in the bulk to the gauge theory on the boundary. We done analysis on the confinement/deconfinement transitions in hard wall and soft wall model of the QCD.