Elastic constants (C-ij's) of 25 compounds in the Mg-X (X =As, Ba, Ca, Cd, Cu, Ga, Ge, La, Ni, P, Si, Sn, and Y) systems have been predicted by first-principles calculations with the generalized gradient approximation and compared with the available experimental data. Ductility and the type of bonding in these compounds are further analyzed based on their bulk modulus/shear modulus ratios (B/G), Cauchy pressures (C-12-C-44), and electronic structure calculations. It is found that MgNi2 and MgCu2 have very high elastic moduli. Mg compounds containing Si, Ge, Pb, Sn, and Y, based on their BIG ratios, are inferred as being brittle. A metallic bonding in MgCu2 and a mixture of covalent/ionic bond character in Mg2Si, as inferred from their electronic structures, further explain the corresponding mechanical properties of these compounds. (C) 2008 Elsevier Ltd. All rights reserved.