Thermodynamics properties of heavy mesons are calculated within the framework of the N-dimensional radial Schr ̈dinger equation. The Cornell potential is extended by including the quadratic potential plus the inverse of quadratic potential. The energy eigenvalues and the corresponding wave functions are calculated in the N-dimensional space using the Nikiforov-Uvarov (NV) method. The obtained results are applied for calculating the mass of spectra of charmonium, bottomonium, b ̅ and c ̅ mesons. The thermodynamics properties of heavy quarkonia such as, the mean energy, specific heat, free energy, and entropy are calculated. The effect of temperature and the dimensionality number on heavy mesons masses and thermodynamics properties is investigated. The obtained results are improved in comparison with other theoretical approaches and in a good agreement with experimental data. We conclude that the present potential well describes thermodynamic properties in the three-dimensional space and also the higher dimensional space.