Cost to Fix a Burst Water Main Line Replacing just the broken section of pipe usually costs $500-$1,000. Replacing the entire main line costs anywhere from about $1,500-$5,000, depending on the size of the pipe, the type of pipe and local labor costs. In most cases, the cost falls closer to $2,000-$3,000.