The European Union is preparing to grant Ukrainians who flee the war the right to stay and work in the 27-nation bloc for up to three years.
Senior European officials said this on Monday, adding that EU border states would get help to cope with the arrivals.
At least 400,000 Ukrainian refugees have entered the EU so far, EU Home Affairs Commissioner Ylva Johansson said.
EU members Poland, Romania, Slovakia and Hungary have land borders with Ukraine.
"We have to prepare for millions (to arrive in the EU)," Johansson told a news conference after a visit to a border crossing between Romania and Ukraine.
Johansson said she was hoping EU interior ministers would agree as early as Thursday on a protection scheme for those fleeing Ukraine.
Ministers on Sunday asked Johansson to prepare proposals to trigger the EU temporary protection directive, drawn up after the 1990s war in the Balkans, but never used so far.
Designed to deal with mass arrivals of displaced persons in the EU, it provides for the same level of protection, for one to three years, in all EU states, including a residence permit and access to employment and social welfare.
Local volunteers and authorities helping Ukrainians arriving in Romania were "showing solidarity in practice, showing that we are based on other values than (Russian President Vladimir) Putin and we are practising these values," Johansson said.
But she stressed that the exodus of Ukrainians concerns all of the bloc, with many fleeing the war already moving on from EU border countries to others which also have large Ukrainian communities, including Italy, Spain and Germany.
Speaking at a joint news conference with Johansson, Romanian Interior Minister Lucian Bode said that, with people waiting 20 to 30 hours on the Ukrainian side to get into Romania, it was crucial to agree on how to process their paperwork so that they would not have to wait hours on the EU side as well.
With men of conscription age prevented from leaving Ukraine, mostly women and children are arriving at the border in eastern Poland, Slovakia and Hungary and in northern and northeastern Romania.


Five Turkish soldiers killed in helicopter crash
Hostages held in Colombia supermarket after failed carjacking
11 injured in Houthi attack on Riyadh financial district tower
Explosion kills 6, injures 10 in Vietnam capital Hanoi
Pakistani pilot to become first foreigner to fly to China's space station
Sheikh Hasina seeks to return to Bangladesh on December 16 on state carrier
Israeli airstrikes kill at least six Palestinians in Gaza, medics say
Israeli airstrike kills at least 3 Palestinians in southern Gaza, medics say
