"European governments are knowingly complicit in the torture and abuse of tens of thousands of refugees and migrants detained by Libyan immigration authorities in appalling conditions in Libya," the rights group said in a report.
It accused European governments of "actively supporting a sophisticated system of abuse and exploitation of refugees and migrants by the Libyan coastguard, detention authorities and smugglers in order to prevent people from crossing the Mediterranean".
"European governments have not just been fully aware of these abuses; by actively supporting the Libyan authorities in stopping sea crossings and containing people in Libya, they are complicit in these abuses."
Dalhuisen urged European governments to "rethink their cooperation with Libya on migration and enable people to get to Europe through legal pathways, including by resettling tens of thousands of refugees".
More From This Section
"They must insist that the Libyan authorities end the policy and practice of arbitrary arrests and detention of refugees and migrants, immediately release all foreign nationals held in the detention centres," he said.
Officials in the Libyan coastguard, trained and equipped by European governments, notably Italy, to curb the flow of migrants "are known to operate in collusion with smuggling networks and have used threats and violence against refugees and migrants", according to Amnesty which cited testimony from dozens of migrants.
Those interviewed had "described the soul-destroying cycle of exploitation to which collusion between guards, smugglers and the Libyan coastguard consigns them", it said.
The Amnesty report also accused the Libyan coastguard of endangering migrants' lives and of intimidating NGOs operating in the Mediterranean on rescue missions.
It singled out a November 6 incident involving the coastguard and a German relief group, Sea-Watch, in which at least five migrants died.
The UN-backed government in Tripoli said on Saturday that Italy and Libya are to set up a joint commission in an attempt to fight back against people traffickers and tackle illegal migration.