The thermodynamic, electronic and elastic properties of a class of early-transition-metal diborides (TMB 2 , TM=Sc, Ti, V, Cr, Y, Zr, Nb, Mo, Hf, Ta, W) with AlB 2 -type structure have been investigated using the quasi-harmonic Debye model and the ab initio calculation based on the density functional theory, respectively. According to the characters of temperature dependent bulk modulus and coefficient of thermal expansion, the TMB 2 compounds can be divided into three groups. The results also indicate that 4d- and 5d-TMB 2 compounds are good high-temperature structural materials. The five independent stiffness coefficients, bulk and shear moduli of the diborides are obtained and well agreement with the available experimental and theoretical data. The correlations between elastic properties and electronic structure are discussed in detail. Due to the high values of hardness, the VIB-transition-metal diborides with relatively high B/G and B/C 44 ratios are still difficult to machine with usual methods.