Mihalík was an important part of Slovakia's squad at the 2017 UEFA European Under-21 Championship, where Mihalík scored Slovakia's second goal in the final group stage match against Sweden, contributing to a 3-0 victory. He was in the starting line-up of all three games of Slovakia in the group stage.