The invention relates to a phlegm pumping pipe adapter having the switching function, which comprises a manifold, a switching module and a cover body. The manifold comprises a body and a pivot part. The body is composed of a base pipe and at least one take-over pipe. The base pipe is internally provided with an internal passage. The at least one take-over pipe is fixedly connected with the base pipe of the body. The at least one take-over pipe is provided with one through port. The through port is communicated with the internal passage. The pivot part is fixedly connected with the body to pass through one opening and connected with the internal space. The switching module is rotatably connected with the pivot part to comprise at least one communication pipe. The at least one take-over pipe is composed of one communication hole to be selectively communicated with the internal passage. The cover body is covered onto the pivot part.一具切換功能之抽痰管轉接頭包括一多支管、一切換模組與一蓋體。該多支管包含一本體與一樞轉部,該本體包含一基管與至少一接管,該基管內具有一內部通道,該至少一接管與該本體的基管相連接固定,且該至少一接管具有一通口,而該通口與該內部通道相連通,該樞轉部與該本體相連接固定並穿設一開口與該內部空間相連通;該切換模組可旋轉地與該樞轉部連接並包含至少一連通管,該至少一連通管包含一連通孔可選擇地與該內部通道連通,該蓋體蓋設於該樞接部。藉可旋轉的切換模組控制該連通孔與該內部通道之連通,並連接該連通管與抽痰管抽痰。1‧‧‧多支管3‧‧‧切換模組314‧‧‧通道4‧‧‧蓋體5‧‧‧套蓋7‧‧‧進藥裝置8‧‧‧密閉式抽痰管