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.
Costly malfunction causes beer flood at Boston-area brewery
Megyn Kelly: Santa Claus and Jesus are both white men