The answer to 'how much to replace electrical wiring' is that the cost can vary significantly depending on several factors. Typically, the cost to replace electrical wiring in a home can range from a few thousand dollars to tens of thousands of dollars, depending on the size of the home, the complexity of the wiring system, the materials used, and the labor required.
Some key factors that influence the cost include the age and condition of the existing wiring, the accessibility of the wiring (e.g., whether it's behind walls or in difficult-to-reach areas), the need for any electrical upgrades or code compliance, and the local labor rates in your area. It's essential to get quotes from licensed and experienced electrical contractors in your local area to get an accurate estimate for your specific project.