The results on the diffusion of Cd into Pb0.8Sn0.2Te are given. The methods to reveal the pn junction are compared. The relation between junction depth and diffusion time is presented.