Social and health system of care for people with mental disorders during their stay in prisons was described in detail and recommendations for changes were proposed.