India is capable of making Pakistan "bite the dust" in less than 10 days in any new war with its arch-rival, according to Prime Minister Narendra Modi.
The nuclear-armed neighbours have fought three wars, and last February came close to a fourth with tit-for-tat airstrikes sparked by an attack on Indian troops in Kashmir.
Modi is under pressure after weeks of protests against a new citizenship law, a slowing economy and the prospect of losing the latest in a string of state elections in New Delhi next month.
"Pakistan has already lost three wars. Our armed forces will not take more than 7-10 days to make Pakistan bite the dust," Modi said in a speech to military personnel on Tuesday.
Pakistan swiftly rejected the "belligerent rhetoric", calling Modi's comments "irresponsible and war-mongering".
A statement from the foreign office said it reflected India's "incurable obsession" with Pakistan".
Wearing a maroon National Cadet Corps baseball cap at the event in the capital, Modi said India's new prowess was thanks to what he called "youthful thinking".
He said that Indian strikes against what New Delhi said were militants in Pakistan-administered Kashmir and inside Pakistan proper in 2016 and last year were evidence of this.
"This is 'youthful thinking'. We carry out surgical strikes and take on terrorists in their homes," Modi said.
Last year, however, an Indian fighter jet was shot down and the pilot captured by Pakistan after a rare aerial engagement.
India and Pakistan have fought three wars: in 1947, 1965 and 1971, as well as in 1999 during the so-called Kargil Conflict.
Modi said that Pakistan continues to wage a "proxy war" against India by backing militants in Indian-administered Kashmir where tens of thousands of people have died in recent decades.
Kashmir has been partially divided between India and Pakistan since Independence from Britain in 1947. In August Modi's government stripped Indian Kashmir of its partial autonomy.