Detainees in prison have a right to education and this is crucial for their rehabilitation and reinsertion into society upon release. For children of compulsory school age and detainees lacking basic literacy skills, education should be compulsory. All detainees should have access to a programme of educational activities, tailored to their individual needs and aimed at their full personal development. This includes formal and informal education, as well as an accessible and well-stocked library. Prison education should be integrated within the outside education system and involve community actors as fully as possible.