Background: The impact of light exposure on mental health is increasingly recognized. Modifying inpatient evening light exposure may be a low-intensity intervention for mental disorders, but few randomized controlled trials (RCTs) exist. We report a large-scale pragmatic effectiveness RCT exploring whether individuals with acute psychiatric illnesses experience additional benefits from admission to an inpatient ward where changes in the evening light exposure are integrated into the therapeutic environment. Methods and findings: All adults admitted for acute inpatient psychiatric care over eight months were randomly allocated to a ward with a blue-depleted evening light environment or a ward with standard light environment. Baseline and outcome data from individuals who provided deferred informed consent were used to analyze the primary outcome measure (differences in duration of hospitalization) and secondary measures (differences in key clinical outcomes). The Intent to Treat sample comprised 476 individuals (mean age 37; 41% were male). There were no differences in the mean duration of hospitalization (6.7 vs. 7.1 days). Inpatients exposed to the blue-depleted evening light showed higher improvement during admission (Clinical Global Impressions scale-Improvement: 0.28, 95% CI: 0.02 to 0.54; p=0.035, Number Needed to Treat for clinically meaningful improvement (NNT): 12); lower illness severity at discharge (Clinical Global Impressions Scale-Severity: -0.18, 95% CI: -0.34 to -0.02; p=0.029, NNT for mild severity at discharge: 7); and lower levels of aggressive behaviour (Broset Violence Checklist difference in predicted serious events per 100 days: -2.98; 95% CI: -4.98 to -0.99; p=0.003, NNT: 9). Incidents of harm to self or others, side effects, and patient satisfaction did not differ between the lighting conditions. Conclusions: Modifying the evening light environment in acute psychiatric hospitals according to chronobiological principles does not change duration of hospitalizations, but can have clinically significant benefits without increasing side effects, reducing patient satisfaction or requiring additional clinical staff.