Diffusion tensor imaging (DTI) is a non-invasive magnetic resonance imaging technique and a special type of magnetic resonance imaging, which has been widely used to study the diffusion process in the brain. The signal-to-noise ratio of DTI data is relatively low, the shape and direction of the noisy tensor data are destroyed. This limits the development of DTI in clinical applications. In order to remove the Rician noise and preserve the diffusion tensor geometry of DTI, we propose a DTI denoising algorithm based on Riemann nonlocal similarity. Firstly, DTI tensor is mapped to the Riemannian manifold to preserve the structural properties of the tensor. The Riemann similarity measure is used to search for non-local similar blocks to form similar patch groups. Then the Gaussian mixture model is used to learn the prior distribution of patch groups. Finally, the noisy patch group is denoised by Bayesian inference and the denoised patch group is reconstructed to obtain the final denoised image. The denoising experiments of real and simulated DTI data are carried out to verify the feasibility and effectiveness of the proposed algorithm. The experimental results show that our algorithm not only effectively removes the Rician noise in the DTI image, but also preserves the nonlinear structure of the DTI image. Comparing to the existing denoising algorithms, our algorithm has better improvement of the principal diffusion direction, lower absolute error of fractional anisotropy and higher peak signal-to-noise ratio.