The motion to recommit (to kill the bill) failed 191-226.
The House of Representatives passed legislation on Tuesday lifting a longstanding congressional moratorium on offshore drilling.
The extensive energy package introduced by Democrats would give states the option to allow drilling between 50 and 100 miles off their shores. Areas more than 100 miles from the coast would be completely open to oil exploration and drilling.
In addition to drilling, the bill requires the government to sell 70 million barrels of oil from the Strategic Petroleum Reserve. It also provides tax credits for renewable energy and energy efficiency that would be funded by repealing some tax breaks for the oil industry.