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.
Members of Congress to keep receiving porn magazine
Putin thinks Obama would save him if he were drowning