Those nationals or citizens of Morocco, the People’s Republic of China, Mongolia, India or Russia who are holders of multiple entry Schengen visas with a minimum remaining validity of 7 days on the date of departure. Such persons are only allowed to enter Gibraltar for a maximum period of 21 days.
As a general rule, those who require a visa for entry to the UK also require a separate visa for entry to Gibraltar.
The following persons do not need a visa for Gibraltar
(h) persons holding EU issued family permits, UK Residence Permits valid for a period of 12 months or more, UK Biometric Residence permits or a UK multiple entry visa valid for 6 months or more.