Theresa May has promised to set a timetable for the election of her successor after the next Brexit vote in the first week of June.
The agreement follows a meeting between the prime minister and senior Tory MPs who are demanding a date for her departure from Downing Street.
If she loses the vote on her Brexit plan, already rejected three times, sources tell the BBC she would resign.
Meanwhile, Boris Johnson has said he will run for leader once Mrs May goes.
Mrs May survived a confidence vote of Conservative MPs at the end of last year and existing Conservative rules mean she cannot formally be challenged again until December.
But the prime minister has come under increasing pressure to leave Downing Street this summer, amid the Brexit impasse and poor results for the Conservatives in the recent local elections in England.
The BBC's political editor Laura Kuenssberg said senior sources had told her it was "inconceivable" the prime minister could remain in office if MPs rejected her Brexit plans for a fourth time.
More World Headlines
- Nigerian teenager stages own kidnap for party money
- Israel bars two members of U.S. congress
- Tanzania tanker explosion death toll reaches 85
- Canadian PM Trudeau broke 'conflict of interest rules' in corruption inquiry
- US: Share markets tumble as recession fears grow
- Kenya officials exhume man's body to retrieve uniform
- Trump official revises Statue of Liberty poem
- Nigeria's Buhari moves to block food imports
- Israeli billionaire to be tried over 'Guinea bribes'
- Trump targets legal migrants who get food aid
- Scientists hail promise of first effective Ebola treatments in Congo trial
- Thousands of protesters shut down Hong Kong airport as Beijing condemns 'terrorism'
- Sudan camp 'struggling with Eritrean arrivals'
- French charities rescue 81 more migrants off Libya
- Norway mosque shooting probed as terror act