Moving from Ukraine to Hungary as a third-country citizen
Third-country nationals staying legally in Ukrain can enter Hungary by their valid passport.
Based on a government decree entered into force at 10 pm on 24 February, a third-country national can enter Hungary from Ukraine by presenting his/her valid passport and the document which provides his/her legal stay in Ukraine, even if the given person does not have an EU residence permit or a schengen visa which would make him/her eligible to cross the Hungarian border. A citizen of Ukraine can also enter Hungary, however the Ukrainian authorities might prevent leaving Ukraine due to its internal emigration rules concerning male citizens over 18. You can find the concerning government decree below: