PurposeThis study aims to learn about the experiences of inmates who experienced long periods of isolation due to a COVID-19 outbreak in the Brians 1 penitentiary centre. This approach is relevant, as it sought to understand the experiences from the perspective of the prisoners during periods of isolation. The aim was to gain in-depth knowledge, based on the idiosyncrasies of this population, of their emotions and coping strategies in the prison context. This information that may be useful to prison institutions and prison primary healthcare teams to guide the organisation in future health emergencies involving the isolation of prisoners.Design/methodology/approachA qualitative interpretative phenomenological study was conducted. Face-to-face semi-structured interviews were conducted with a sample of 30 people who had undergone a period of isolation due to a COVID-19 outbreak in one or two of the last two outbreaks at the Brians 1 (Barcelona) prison in 2022, in the days following periods of social isolation. The interviews were transcribed and analysed using the content analysis approach, and were coded using the NVivo 12 qualitative software. The credibility and validity of the data analysed were increased through triangulation at different levels. In this study, data was collected from a heterogeneous sample of prisoners, capturing different views among the prison population.FindingsThis research gave us the opportunity to collect prisoners’ accounts of isolation due to COVID-19, in which it became clear that it conditioned the management of time and space in daily prison life. The restrictions amplified negative emotions such as anxiety, stress and restlessness and led to disruptions in communication with the outside world, daily prison activities and judicial processes. Despite these changes, the prisoners understood the imperatives of isolation and the need to adapt to the new situation for a limited period of time. Faced with the detrimental effect on their well-being, the prisoners employed coping strategies focused on emotional management, social supports and occupational engagement.Research limitations/implicationsThis study is subject to several limitations related to the characteristics of the sample. No women participated in the study as the modules studied were exclusively for men. People with impaired cognitive abilities, were not included. With regard to the method, it is understood that conducting the interviews in the days after the isolation may have influenced the content and enthusiasm of the participants. Despite these limitations, we are confident that the data triangulation may have given us reliable insight that will further our knowledge of prisoners’ experiences in this type of situation.Originality/valueThe issue of the negative impact of restrictive measures in the prison environment has rarely been studied from the perspective of prisoners. To the best of the authors’ knowledge, this study is the first to provide qualitative data on the experiences of prisoners during periods of social isolation due to COVID-19 outbreaks in prisons in Catalonia (Spain). The narratives allowed the authors to determine what impact the restrictions had on the emotional well-being and daily life of the prison population, information that can help prison institutions and healthcare teams understand how prisoners experienced this type of situation. The authors were also able to carry out an in-depth study of the coping strategies used by the prisoners to deal with negative emotions during the COVID-19 outbreaks, which may serve to guide the organisation of material and human resources in future emergencies or regimented situations involving social isolation.