Recently, more and more new oil fields entering commercial production are complicated by the content of high-viscosity products, which are located at relatively shallow depths. For the rational development of such fields, a network of horizontal wells is used. A special feature of these objects is a weakly cemented reservoir, which leads to significant sand occurrence during well operation. At the same time, the removal of mechanical impurities cannot be avoided even when using complex measures, including the use of various filters. There are quite a few methods describing the behavior of mechanical impurities in gas–liquid flows. The purpose of the work was to analyze the removal of mechanical impurity particles from horizontal wells with high-viscosity oil. A model of a typical well in the OLGA software was created, and data on the types of particle removal were obtained. As a result of calculations, the quality of removal for different diameters of mechanical impurities was determined, and the dependence of the critical diameter on the well flow rate was constructed.