The metal–hydride bond in (π-C5H5)2MoH2 undergoes either insertion or substitution depending upon the π-acidity of the attacking reagent.