All detainees should have access to a programme of educational activities aimed at their full personal development. This is part of respecting the inviolable right to education, which is not forfeited upon detention. It is also crucial for ensuring that the period of detention is used to improve the situation of the individual and assist their resettlement in society.
Ensuring this right means states should also provide educational programmes for non-sentenced prisoners, as recommended by the UN Special Rapporteur on the right to education. This is particularly important given the often long periods of pre-trial detention globally, but is often not ensured in practice.