Junior doctors will strike from 27 June to on 2 July.
It will see junior doctors walk out of all services, with senior doctors having to be drafted in to provide cover.
The British Medical Association (BMA) said that after three months of talks between junior doctors in England and the government, the prime minister has still "made no credible offer" to junior doctors.
"After the general election was called last week," they said, "the BMA gave the government a final opportunity to make an offer and avoid strikes. This opportunity was not taken up."
They continued: “Even at this late stage Mr Sunak has the opportunity to show that he cares about the NHS and its workers.
"It is finally time for him to make a concrete commitment to restore doctors’ pay. If during this campaign he makes such a public commitment that is acceptable to the BMA’s junior doctors committee, then no strikes need go ahead."
The BMA has asked for a 35 per cent pay rise to make up for what it says is 15 years of below-inflation pay rises.
Junior doctors received a pay rise averaging nearly 9 per cent in the last financial year.
Strike action by junior doctors has also been taking place in Northern Ireland with another walkout planned in early June.
Walkouts in Wales are on hold as talks take place.