Abstract The thermal fluctuations of a dislocation are investigated and its thermal distribution is given. The effect of thermal fluctuations on the Cottrell atmosphere is computed. The results show that the density of point defects near the dislocation is lowered by thermal fluctuations.