The Jolly Smeraldo was about 300 miles southeast of Mogadishu when a small boat with seven pirates approached it Wednesday, the Italian news agency ANSA reported Thursday.
The pirates fired shots at the Jolley Smeraldo, but the crew escaped injury and the ship made evasive maneuvers to escape the hijack attempt, the news agency reported.
The merchant ship left port in Kenya Tuesday, headed for Jeddah, Saudia Arabia, before returning to Genoa.
On Saturday, the Italian cruise ship Melody evaded an attack by pirates 200 miles north of the Seychelles.
The Buccaneer, another Italian ship, was seized in the Gulf of Aden April 11, and its 16-member crew is still being held hostage.