The polycarbodiimide of the present invention is a copolymer containing the structural units (rubber residues) represented by the formulae (1) and (2) and the repeating structural unit represented by the formula (3), at a predetermined ratio in one molecule.