The pipe burst in a set of roadworks in Huntingtree Road, Halesowen, on Friday.
Water could be seen rocketing into the air as traffic passed by.
Roadworks are currently taking place along the road at the junction near to Dunstall Road.
South Staffs Water looks after the water network in the area.
Nathan Harper, head of network operations at South Staffs Water, said: "We’ve been working as fast as we can to repair a faulty valve on our network at Hungtingtree Road.
"When issues like these arise, we can normally turn off the water supply and re-route it so that customers continue to receive water.
"During the hot weather, when there is a high demand for water, we cannot do that without a lot of customers losing their supply.
"We have therefore been carrying out the work while the water is still flowing through the water main, which is a tricky procedure.
"I’m happy to report that the repair to the valve is now complete, and we can now start to carry out the remedial works re-instate the road.
"We’re really sorry for the inconvenience this has caused."