You can estimate an average cost between $250 and $1,250 with the national average around $700. These estimates are for replacing a smaller section of drain pipe. Replacing your entire drain pipe system could cost in the range of $15,000 to $20,000.