The man fired three blanks after approaching the rear entrance of the building in Ankara, Hurriyet Daily News reported.
A Cabinet meeting headed by Turkish Prime Minister Recep Tayyip Erdogan was in session at the time.
Security forces immediately arrested the man.
A motive for the incident was not known.
Exploding whale video goes viral on Internet
Couple calls 9-1-1 over missing hash browns; assault McDonanld's employees