Rough-in plumbing for new construction costs $8,000 to $12,000, or about or about $4.50 per square foot for an average 2,000 square foot home with 2 or 3 bathrooms. Repiping an existing home the same size runs $3,100 to $5,500, or $0.40 to $2.00 per linear foot.