Immigration detention is the only form of detention in the UK without limits. The government doesn’t have to get a judge’s permission to detain someone. There is no time limit on detention. People can be detained for six months, a year, two years or even longer. Last year 32,446 people subject to immigration control in the UK were detained by the government.
https://marsuob.wordpress.com/2016/06/13/raising-money-for-legal-aid-for-immigration-detainees/