Gibraltar was part of the European Union, until the United Kingdom left the EU in December 2020. A separate agreement was made under which Gibraltar would join the European Union's Schengen Area, thus easing movement between Gibraltar and Spain .
The flags of the United Kingdom, Gibraltar, and the European Union are flown with the Rock of Gibraltar in the background at the Spain-Gibraltar border on April 4, 2017.