Abstract-Several samples of NdFeB and SmCo permanent magnets have been irradiated with gamma rays up to different total irradiation doses until lMrad(Si). Magnetic properties of the samples have been measured at different temperatures before and after irradiation. The modifications of the magnetic parameters are presented. From these results it is highlighted which permanent magnets show more resistance to radiation and are more suitable to be included in devices for space applications or high radiation environments.