The quantitative dynamics of male Bactrocera cucurbitae were monitored in different habitats, and the correlation between its quantitative fluctuation and climatic factors were analyzed. The results showed that male B. cucurbitae had low valleys in December and January in Danzhou. The population of male B. cucurbitae gradually increased from February,then they had high peaks from April to August. The population gradually decreased from September. Habitats significantly influenced the quantity of male B. cucurbitae. The number of B. cucurbitae in mixed vegetable plot,landscape area and mixed orchard were more than those in residential area,farmer's market and bitter gourd field. Climatic factors significantly affected the quantity of male B. cucurbitae. The stepwise regression analysis indicated that the quantitative fluctuation of male B. cucurbitae was controlled by monthly rain fall amounts,mean monthly maximum temperature and monthly minimum relative humidity,hereinto,mean monthly maximum temperature was the most important factors. Based on these results,the control of B. cucurbitae was not limited in its host habitats. B. cucurbitae should be managed in other habitats arrcording to its monitoring data.