The EU's policy of aiding Libyan authorities to intercept migrants and return them to detention is "inhuman", the United Nations said on Tuesday, APA reports quoting BBC.
The UN's human rights chief accused European countries of ignoring warnings over the deal struck with Libya.
Authorities say it has caused detainees to rise sharply to almost 20,000.
UN monitors who visited facilities said they found "thousands of emaciated and traumatized men, women and children piled on top of each other".
The UN High Commissioner for Human Rights, Zeid Ra'ad al-Hussein, said migrants had been locked in hangars and stripped of dignity with "no access to the most basic necessities".
He described the situation as fast-deteriorating, and the Libyan detention system as "broken beyond repair".
"What was an already dire situation has now turned catastrophic," Mr Hussein said, urging the international community to stop turning a blind eye.
Libya's Department of Combating Illegal Migration (DCIM) said almost 20,000 people were now in their facilities, dramatically up from just 7,000 in September.
Thousands of migrants have died attempting to cross the Mediterranean from Africa into Europe.