The Energy Department report adds a new element to an increasingly sharp national debate over rising fuel costs - a hot-button political issue in the presidential campaign.
Markets have been able to accommodate the September closing of the ConocoPhillips refinery in Trainer and Sunoco's Marcus Hook refinery shutdown in December, the Energy Department said, because they were partly offset by the start-up of a Delaware City refinery in October after a two-year hiatus during a change of ownership.
But the potential loss of the Sunoco Philadelphia refinery "presents a complex supply challenge, and no single solution has been identified by industry participants that will address all of the logistical hurdles that must be overcome."
Pittsburgh and western New York state, which now are supplied through pipelines from the Philadelphia refineries, would most likely suffer dearly if supplies of diesel and heating oil were constrained.
Sunoco, headquartered in Philadelphia, announced last year that it would shut down its 335,000 barrel-per-day refinery in the city if it could not find a buyer by June. The plant along the Schuylkill accounts for 24 percent of the refining capacity in the Northeast.
"Today's report by the EIA is a deeply troubling reminder of the grave consequences that reduced refining capacity will have up and down the East Coast," U.S. Sen. Robert P. Casey Jr. (D., Pa.) said in a statement. "I will continue fighting to protect the workers and consumers who would be harmed by these closures."
What the government can do is unclear. Sunoco said it had lost nearly $1 billion in three years on refining and was committed to getting out of manufacturing and focusing its business on retail marketing and logistics.
If the Sunoco Philadelphia refinery shuts down in July, suppliers may need to find 240,000 barrels a day of gasoline and 180,000 barrels of ultra-low sulfur diesel by 2013.
The report said gasoline imported from Western Europe and Canada would likely make up for the losses from the local refineries.
But ultra-low sulfur diesel, which is increasingly in demand to meet environmental regulations, presents a greater challenge because little is produced overseas. Local marketers would need to transport it from Gulf Coast refineries.
But pipeline capacity from the Gulf Coast is limited, as is the supply of U.S.-flagged vessels that would be needed to carry the fuel between U.S. ports.
U.S. Rep. Pat Meehan (R., Pa.) said the government might consider relaxing low-sulfur diesel requirements or relaxing Jones Act restrictions requiring U.S.-flagged vessels to carry cargo between American ports, "but I'm not prepared" to initiate such action.
The supply issue would be further complicated because New York state will require heating oil - essentially the same thing as diesel - to meet ultra-low sulfur standards in July.
The Energy Department said that would effectively increase ultra-low diesel demand by 70,000 barrels a day. Maine, Massachusetts, New Jersey, and Vermont are scheduled to adopt ultra-low sulfur heating oil standards through 2018.
Refineries in the Northeast have supplied about 40 percent of the region's gasoline, 60 percent of its ultra-low sulfur diesel, and 45 percent of its heating oil. Imports and deliveries from the Gulf Coast make up the rest.
With U.S. demand for fuel in decline, U.S. refiners say they are losing money because of an oversupply of refining capacity and are rushing to shut down unprofitable facilities.
In addition to the three refineries near Philadelphia on the market, Sunoco shut down its Eagle Point refinery in 2010. The company is converting the Gloucester County plant to a fuel terminal.
A huge refinery in the U.S. Virgin Islands jointly owned by Hess Corp. and Petroleos de Venezuela also closes this month.
Efforts to shut down refineries have generated anger in communities affected by the lost jobs.
Marcus Hook officials are considering a zoning change that would prohibit Sunoco from using its property as a fuel terminal.
Sunoco spokesman Thomas P. Golembeski said the measure "is really counterproductive and could result in additional job loss in Marcus Hook."
Contact Andrew Maykuth at 215-854-2947, email@example.com, or @Maykuth on Twitter.