Catalytic process for hydrogenating a dinitrile to produce both aminocapronitrile and hexamethylenediamine in which the dinitrile is contacted with hydrogen in the presence of a catalyst and a modifier selected from the group consisting of quaternary ammonium hydroxides, cyanides, fluorides and thiocyanides; quaternary phosphonium hydroxide; carbon monoxide; and hydrogen cyanide.