The incident took place around 4.15 pm. The local police said the suspect fired from an air gun when a security guard wanted to check his credentials.
He has been detained by the police and is being interrogated.
The RBI headquarters is located in a busy commercial area of Mumbai. Details of the incident were awaited.