National Grid says the situation Monday afternoon in Woburn was quickly corrected, no evacuations were ordered and there were no reports of injuries or property damage.
Related Content: How you can be safe if your home has natural gas
A spokeswoman says the company hoped to have gas restored to all affected customers later Monday.
Overpressurization is thought to have been the cause of a series of natural gas fires and explosions in a different area of the state last month that killed one and injured about 25. That area is serviced by a different utility, Columbia Gas.
Columbia Gas announced that it has replaced about one-third of the pipelines it plans to replace in Lawrence, Andover and North Andover.