By using conformable fractional of the Nikiforov-Uvarov (CF-NU) method, the radial Schrödinger equation is analytically solved. The energy eigenvalues and corresponding functions are obtained, in which the dependent temperature potential is employed. The effect of fraction-order parameter is studied on heavy-quarkonium masses such as charmonium and bottomonium in a hot QCD medium in the 3D and the higher dimensional space. A comparison is studied with recent works.We conclude that the fractional-order plays an important role in a hot QCD medium in the 3D and higher-dimensional space.