The drainage and firefighting water systems are critical components of construction projects. Due to the complexity and multitude of piping systems, issues such as impractical space arrangements and pipeline collisions can arise during construction. BIM technology enhances the design quality and efficiency of these systems through parametric integration of building information and three-dimensional visualization modeling. Based on this research background, this paper firstly constructs the model of water supply and drainage and fire fighting water based on BIM technology, plays the scalability of Revit, carries out the secondary development of Revit, and completes the program development of water supply and drainage, and fire fighting water pipeline height detection and pipeline automatic avoidance function by combining with C# language. This paper takes a building in the Shangcheng District of Hangzhou City to conduct empirical research, and the results show that collision detection through BIM technology saves a lot of time, improves efficiency significantly, and has higher detection accuracy. In addition, this paper utilizes a comprehensive evaluation system to objectively evaluate the effects of drainage and firefighting water construction in construction projects based on BIM technology. This study uses BIM technology to realize further development and exploration in the process of building drainage and fire water construction, reduce the conflict points in the process of drainage and fire water design, and improve the detection efficiency and accuracy in the design process.