The quasinormal modes of the Schwarzschild black hole surrounded by the quintessence in Rastall gravity are studied using the sixth-order Wentzel-Kramers-Brillouin approximative approach. The effect of the Rastall parameter on the quasinormal modes of gravitational, electromagnetic and massless scalar perturbations is explored. Compared to the case of Einstein gravity, it is found that, when , the gravitational field, electromagnetic field as well as massless scalar field damp more rapidly and have larger real frequency of oscillation in Rastall gravity, while when , the gravitational field, electromagnetic field as well as massless scalar field damp more slowly and have smaller real frequency of oscillation in Rastall gravity. It is also found that the gravitational field, electromagnetic field as well as massless scalar field damp more and more slowly and the real frequency of oscillation for the gravitational perturbation, electromagnetic perturbation as well as massless scalar perturbation becomes smaller and smaller as the Rastall parameter η increases. Compared among the quasinormal frequencies of gravitational, electromagnetic and massless scalar perturbations, I find that, for fixed η, (l,n), ϵ and Nq, the oscillation damps most slowly for the gravitational perturbation, mediate for the electromagnetic perturbation and most rapidly for the massless scalar perturbation, and the real frequency of oscillation is the smallest for the gravitational perturbation, mediate for the electromagnetic perturbation and the largest for the massless scalar perturbation in Rastall gravity.