The objective of this observational prospective study was to investigate the effect of depression on shortterm outcome after lumbar spinal stenosis (LSS) surgery. Surgery was performed on 99 patients with clinically and radiologically defined LSS, representing ordinary LSS patients treated at the secondary care level. They completed questionnaires before surgery and 3 months postoperatively. Depression was assessed with the 21-item Beck Depression Inventory (BDI). Physical functioning and pain were assessed with Oswestry disability index, Stucki Questionnaire, self-reported walking ability, visual analogue scale (VAS) and pain drawing. Preoperatively, 20% of the patients had depression. In logistic regression analyses, significant associations were seen between preoperative depression and postoperative high Oswestry disability and Stucki severity scores and high intensity of pain (VAS score). In subsequent analyses, the patients with continuous depression, measured with BDI (60% of the patients who had preoperative depression), showed fewer improvements in symptom severity, disability score, pain intensity and walking capacity than the patients who did not experience depression at any phase. In those patients who recovered from depression, according to BDI-scores (35% of the patients with preoperative depression), the postoperative improvement was rather similar to the improvement seen in the normal mood group. In the surgical treatment of LSS, we recommend that the clinical practice should include an assessment of depression.