Replacing a single pipe can range from $150 to $250 per linear foot. For example, replacing a 10-foot section of copper pipe might cost around $1,500, while replacing a 20-foot section of PVC pipe might cost around $500. The cost of a pipe replacement project can be even higher, depending on the number of pipes being replaced, the complexity of the project, and the labor cost in your area. For example, repiping an entire home with PEX piping could cost anywhere from $2,000 to $15,000.