Four armed men snatched freelancer Pierre Borghi from a busy area of the capital, Kabul, in November, ministry spokesman Sediq Sediqqi said.
Sediqqi said Borghi had run away from his captors in Wardak province, near Kabul, and then been picked up by Afghan security forces and taken to the capital.
Kidnappings are on the rise in Afghanistan and neighbouring Pakistan. Experts say militants are using them to raise funds after cash from al Qaeda dried up. It was not clear who was responsible for Borghi’s kidnapping.