The rescue operation was carried out by a Libyan naval patrol boat.
Some 165 illegal immigrants from various African countries were rescued by Libyan coast guards, according to Libyan Navy spokesman, Ayoub Kassim.
He said the illegal immigrants were seen drifting in a boat 49 miles off the coast of Khoumus, 70 Km from the capital city of Tripoli.
According to Mr. Kassim, the rescue operation was carried out by a naval patrol boat, assisted by boats moored at the port of Khoumus. He said the illegal immigrants, who were almost drowning before they were rescued, were in poor health conditions.
Libya is a favourite passage way for illegal African immigrants heading to Europe.
The number of such immigrants has decreased significantly following the tough measures adopted by Libya.