"The possibility of attack against Iran cannot be ignored but it can be said that Iran's response to any aggression will be crushing" and will make the enemies regret their deeds, Ahmadinejad said in a televised interview with the Iran-based Jam-e-Jam TV.
"Iranians have and will never start any war but they have always been good defenders and have always defended their territories in a memorable and historical form," he added.
Ahmadinejad refrained from citing his perceived prospects for future developments, but said, "We should for sure pass through a tumultuous and controversial period of time."
Israel and its close ally the United States accuse Iran of seeking a nuclear weapon, while they have never presented any corroborative document to substantiate their allegations. Both Washington and Tel Aviv possess advanced weapons of mass destruction, including nuclear warheads.
Iran vehemently denies the charges, insisting that its nuclear program is for peaceful purposes only. Tehran stresses that the country has always pursued a civilian path to provide power to the growing number of Iranian population, whose fossil fuel would eventually run dry.
Iran has warned that it would target Israel and its worldwide interests in case it comes under attack by the Tel Aviv.
The United States has also always stressed that military action is a main option for the White House to deter Iran's progress in the field of nuclear technology.
In response, Iran has warned it would hit the US, Israel and their worldwide interests and close the strategic Strait of Hormuz if it became the target of a military attack over its nuclear program.
Strait of Hormuz, the entrance to the strategic Persian Gulf waterway, is a major oil shipping route.