The study was carried out with the objective of comparing and analyzing psychosocial factors such as stress, depression and anxiety in undergraduate university students from Loreto, Ancash, Moquegua and Puno during confinement by Covid-19, Peru. The study was based on a non-experimental, quantitative-descriptive, cross-sectional and correlational design with non-probability and intentional sampling, an online survey was applied to a sample of 665 undergraduate students using validated instruments such as the List of Indicators of Vulnerability to stress, the Zung Depression Scale, and the Hamilton Anxiety Scale. The study reports vulnerability to stress in 50.8%, 46.3%, 36.4% and 37.5% in Loreto, Ancash, Moquegua and Puno. The prevalence of depression was 100.0%, 97.6%, 96.9% and 95.2% between mild, moderate and severe; likewise, 100.0% presented anxiety symptoms. It was concluded that a situation of obligatory social confinement is directly related to the presence of stress, depression and anxiety, particularly in undergraduate university students, affecting a greater proportion of women; of these between 19 and 22 years, and with a higher incidence in regions with a greater number of confirmed cases; where insomnia, worry and irritability are the most significant symptoms.