Afghan-born Ahmad Khan Rahimi, 30, was convicted at trial last October on eight counts linked to two bombs he planted in New York, and others found in New Jersey.
"There is nothing that could justify anything but a life sentence," US District Judge Richard Berman told the court.
"There is no comparison between the grievances that you may feel and the actions you took," he said. "The conclusion is inescapable that you remain extremely dangerous."
A second bomb forced the cancellation of a US Marine Corps run in the New Jersey town of Seaside Park.
Police also defused another device in Chelsea and found additional pipe bombs in Rahimi's hometown of Elizabeth, New Jersey, where he worked in his family's fried chicken restaurant.
Rahimi was critically wounded in a shootout with police on September 19 before being captured, and was found with a handwritten journal lauding Osama bin Laden and US-born Al-Qaeda recruiter Anwar al-Awlaki.
On October 31, an Uzbek immigrant, also reportedly inspired by the Islamic State extremist group, killed eight people on a bike path by ramming his truck into cyclists.
New York retains stringent security, which was drastically stepped up after the September 11, 2001 Al-Qaeda hijackings brought down the Twin Towers.
Disclaimer: No Business Standard Journalist was involved in creation of this content
