Yes, MDPE (medium-density polyethylene) pipe is safe for drinking water. It is commonly used for water supply and distribution systems, and has been approved by regulatory agencies for use in contact with drinking water. However, it is important to ensure that the MDPE pipe you are using is certified for use with drinking water and meets all necessary standards and regulations.