The New Mexico Environment Department said Friday that the Santa Fe Pacific Pipeline spill happened last week near the community of Anthony at the New Mexico-Texas line.
Officials are still investigating what caused the release. About 168,000 gallons of gas had been recovered as of Wednesday.
The pipeline is a foot in diameter and operated by Kinder Morgan. It extends to Tucson, Arizona.
Officials say the Rio Grande is about a mile from the spill site but that it was not affected.