In this work, a mathematical model to study the indirect interaction in topological insulators was constructed. Analysis of the model was carried out numerically. We have calculated the indirect exchange interaction in the film of a topological insulator, for example Bi 2 Te 3 , within the s-d model. The calculations showed that the magnetic ordering of the impurity spins varies periodically with increasing distance between atoms, asymptotically decreasing to zero. λ is a parameter associated with hexagonal distortion and is a component of the dispersion relation. The dependence of the constants of the effective exchange interaction upon the λ parameter is shown; this parameter characterizes the crystal lattice geometry for a topological insulator.