India’s prime minister Narendra Modi said the country will go into a nationwide lockdown from midnight on Tuesday, lasting for 21 days.

Isolation measures were already in place from Monday in many major cities, but will now be extended to “every village, every district” in the nation, the prime minister said.

Speaking in a televised national address, Mr Modi told Indians to “forget what it feels like to leave your homes”.

“Twenty-one days of lockdown is a long time but this is important for your safety and for the safety of your family,” he said.

“I am confident India will not only successfully tackle this challenge but also emerge victorious at this time of crisis. Take care of yourself and take care of your near and dear.”

Mr Modi said the central government was committing Rs 15,000 crore (£1.7bn) for strengthening health facilities and acquiring more isolation units and ventilators.

He said the lockdown, which will impact around 1.4 billion people, was being implemented on the advice of the World Health Organisation, as well as India’s own medical institutes and health experts.

It is the most extensive single stay-at-home order yet in the global fight against coronavirus.

Mr Modi urged state governments, which under India’s federal system have responsibility for healthcare, “that at this time their first priority should be health services and only health services”.

If the nationwide lockdown operates on the same basis as the one major cities are already experiencing, it will mean people are allowed to leave their homes only to access “essential services” like food stores, pharmacies and medical assistance. Daily walks are generally being permitted, though only in local residential parks or blocks and while observing social distancing guidelines.

Social distancing was “the only option to stay safe and to stop the coronavirus – stay at a distance from each other and stay inside your houses,” Mr Modi said. “To save India and every Indian, there will be a total ban on venturing out of your homes.”

Coronavirus culture from rooftops, windows and balconies Show all 15 1 /15 Coronavirus culture from rooftops, windows and balconies Coronavirus culture from rooftops, windows and balconies A rose is delivered by drone to a woman on Mother's Day in Jounieh, Lebanon AFP/Getty Coronavirus culture from rooftops, windows and balconies Women dance on their balcony as a radio station plays music for a flash mob to raise spirits in Rome Reuters Coronavirus culture from rooftops, windows and balconies A skeleton stands on a balcony in Frankfurt, Germany AP Coronavirus culture from rooftops, windows and balconies The film Le ragazze di Piazza di Spagna is projected on a building in Rome AP Coronavirus culture from rooftops, windows and balconies A woman uses a basket tied to a rope to pull a delivery of groceries up to her balcony in Naples, Italy EPA Coronavirus culture from rooftops, windows and balconies DJ Francesco Cellini plays for his neighbours from the rooftop terrace of his flat block in Rome Reuters Coronavirus culture from rooftops, windows and balconies A woman gestures from her balcony in Barcelona EPA Coronavirus culture from rooftops, windows and balconies Cellist Karina Nunez performs for her neighbours at the balcony of her flat in Panama City Reuters Coronavirus culture from rooftops, windows and balconies DJ Nash Petrovic live streams a set from his roof in Brooklyn Reuters Coronavirus culture from rooftops, windows and balconies People applaud medical workers from their balconies in Modiin, Israel Reuters Coronavirus culture from rooftops, windows and balconies A Brooklyn resident relaxes in a hammock hung on their balcony Reuters Coronavirus culture from rooftops, windows and balconies Residents toast during a "safe distance" aperitif time between neighbours in Anderlecht, Belgium Reuters Coronavirus culture from rooftops, windows and balconies Musician Adam Moser plays for neighbours from his balcony in Budapest, Hungary Reuters Coronavirus culture from rooftops, windows and balconies A man and his son on their balcony in Brooklyn Reuters Coronavirus culture from rooftops, windows and balconies A man sits alone on a roof terrace in Rome Reuters

In his last address, at the same time on Thursday evening, Mr Modi explicitly warned against panic buying. This time, he stressed that the government would do everything in its power to maintain supplies of essential goods “so there is no difficulty in daily life”.

Mr Modi had also previously declared a “janta (people’s) curfew”, asking people to stay at home from 7am to 9pm on Sunday as a “litmus test” of the nation’s ability to conduct a lockdown.

Many flouted those instructions however, and there have been plenty of complaints in the past two days of instances where people in cities have ignored police-ordered lockdowns as well.

“It’s impossible to fathom the cost that India may have to pay if such irresponsible behaviour continues,” Mr Modi said.