The Tajoura Detention Center is located 16 kilometres (10 mi) east of the Libyan capital of Tripoli. It is part of a network of 34 migrant detention centers across northwestern Libya which house at least 5,000 people. The centers are operated by the Government of National Accord (GNA) and are used to detain migrants attempting to reach Europe.
In April 2019, the Libyan National Army, under Haftar's command, began a major offensive to capture western Libya and the capital Tripoli. After an airstrike hit a target less than 100 metres (330 ft) from the detention center in May, the UN Refugee Agency called for the evacuation of refugees and migrants in detention centers in conflict areas of Tripoli. On 1 July 2019, the LNA said it had begun an air campaign. The LNA's spokesman said that the air campaign destroyed the main control room for drones at Mitiga International Airport, which led to the airport—Tripoli's only functioning airport—suspending civilian flights.