Ukraine held local elections on Sunday.
The ministry said in a statement that Hungarian officials had called on Ukrainians living in the region bordering Hungary to vote for the Party of Hungarians, actions which violated Ukrainian law.
"The ministry at once called on the Hungarian side to respect the law of Ukraine and not take steps that indicate direct interference in the internal affairs of Ukraine and do not correspond to the good-neighborly character of Ukrainian-Hungarian relations," it said in a statement.