One of the solutions to water scarcity and water pollution available in developing countries is the use of treatment systems that meet the environmental criteria, in addition to low operating and investment costs. The vermifilter system is a modified biofilter that provides sewage treatment by interacting between earthworms and bacteria. The Vermifilter is introduced as a low investment method and low operating costs. This method takes up less space and does not require a source of energy in the form of gravity. vermifilter are a type of biofilter or trickling system that, by adding earthworms, has improved the refined process. During the vermifilter process, due to the lack of sludge, there is no need for sludge disposal costs, while vermicompost is also formed during this process. All of this has led the Vermi filter system to be considered as an appropriate treatment option, especially in developing countries, and its performance is subject to different conditions. The purpose of this study was to evaluate the performance of the vermifilter system for urban wastewater treatment and compare it with the control sample. The parameters studied in this study are: hydraulic loading rate, input pollutant concentration and filter bed material. To analyze the effect of the parameters on the vermifilter process, anova analysis was used and the optimal mode for each pilot was determined using this method. The experiments were first performed by artificial sewage and after determining the optimal state by using raw sewage from Khomeini city from the discharge point to Isfahan University of Technology's refinery. The experiments showed that in optimal condition, pilot plant No. 1 with sand aggregates was able to reduce the COD parameter by 94%, turbidity 95.2%, Phosphorus 94.63% and Ammonia 94.33%. The reduction of the above parameters for pilot No. 2 with vermicompost materials was 87.02%, 70.33%, 74.19% and 92.31% respectively, and for pilot No. 3 with plastic media 80.1, 74.11, 74.25 and 74.25% was measured. Also, the control sample without worms could reduce each of these parameters by 48.06, 41.79, 30.4 and 24.1% respectively, indicating that the addition of the worm layer significantly improved the system efficiency. The effluent from the vermifilter systems was, unlike the control sample, odorless, and at the end of the experiments, in none of the reactors, the biofilm drop was observed. Finally, according to the results of the comparison of 4 reactors, it can be said that Pilot No. 1 with sand aggregates showed the best refining performance. Keywords : Vermifilter, Earthworm, Urban wastewater treatment, Biofilter