The chitosan-mediated synthesis of porous nanosized NiB alloy catalysts could be achieved by silver-catalysed electroless plating (EN). The unsupported and supported NiB-CS catalysts with particle size of ~25 nm were produced. The as-prepared catalysts exhibited superior catalytic activities in p-chloronitrobenzene and sulfolene hydrogenation to those of the NiB catalysts.