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.


Turkey to host Gaza meeting amid ceasefire concerns
Tanzania opposition says hundreds killed in vote protests
Turkey sentences 11 people to life in prison over ski resort hotel fire
China sends its youngest astronaut to 'Heavenly Palace' space station
Israel launches more strikes on Gaza overnight, testing fragile truce
Trump-Putin summit cancelled, FT reports
Houthis say 43 detained UN staff to face trial over Israeli attack
Hurricane Melissa leaves 49 dead in Caribbean, churns north
