"We will continue with full power our missile programme," foreign ministry spokesman Bahram Ghasemi told state broadcaster IRIB.
"We consider the action by the US as hostile, reprehensible and unacceptable, and it's ultimately an effort to weaken the nuclear deal," Ghasemi added, referring to a 2015 agreement with the United States and other world powers that lifted some sanctions on Tehran.
"The military and missile fields... Are our domestic policies and others have no right to intervene or comment on them.
The sanctions bill, which also targets Russia and North Korea, was passed by the US Senate on Thursday, two days after being approved by the House of Representatives.
More From This Section
White House spokeswoman Sarah Huckabee Sanders said on Friday that President Donald Trump will sign the bill into law.
Separately on Friday, Washington imposed new sanctions targeting Iran's missile programme a day after Tehran tested a satellite-launch rocket.
The US Treasury singled out six companies owned or controlled by Shahid Hemmat Industrial Group, which it said was central to the programme, freezing their US assets and barring US citizens from dealing with them.