The decision came after gunmen fired at the car of Consul General Guido de Sanctis in Benghazi Saturday, ANSA said.
No one was injured in the attack.
The Italian news agency reported the incident is the latest in a series of attacks targeting foreign officials in the Libyan city.
Four Americans, including U.S. Ambassador Christopher Stevens, were killed in an attack in Benghazi on the U.S. Consulate Sept. 11.
Notable deaths of 2014 [PHOTOS]