Transition metal diborides (TMB2s) exhibit unique combination of excellent properties makes them promising candidates for extreme environmental applications. It is believed that activation of dislocation plasticity is beneficial to retain fracture strength of TMB2s based materials at high temperature, since plastic deformation can release elastic energy accumulated in the material and then fracture is suppressed. In this paper, shear properties of TMB2s (TM=Zr, Hf, Nb, Ta, Mo, W) for both (0001)[2¯110]/3 and (011¯0)[2¯110]/3 shear modes are evaluated by first-principles and the dependence of shear properties on TM elements is discussed by electron redistribution during the deformation. The results show that properties of the (0001)[2¯110]/3 shear are solely determined by TM–B bond and exhibit substantial dependence on TM elements, while the (011¯0)[2¯110]/3 shear are controlled by both TM–B bond and B–B σ bond, which makes the dependence of shear properties on TM elements not that obvious. The simulated ideal shear strengths demonstrate that dislocation nucleation become easier in an order of ZrB2 (≈HfB2), NbB2, TaB2, MoB2, WB2, which reasonably explains some experimental observations and provides useful information for the design of TMB2 based materials by alloying.