Little is known about the therapeutic outcomes of transforaminal epidural steroid injection (TFESI) in patients with lumbosacral radicular pain due to lumbar spinal stenosis (LSS). Using lumbar spine radiographs as input data, we trained a convolutional neural network (CNN) to predict therapeutic outcomes after lumbar TFESI in patients with lumbosacral radicular pain caused by LSS. We retrospectively recruited 193 patients for this study. The lumbar spine radiographs included anteroposterior, lateral, and bilateral (left and right) oblique views. We cut each lumbar spine radiograph image into a square shape that included the vertebra corresponding to the level at which the TFESI was performed and the vertebrae juxta below and above that level. Output data were divided into “favorable outcome” (≥ 50% reduction in the numeric rating scale [NRS] score at 2 months post-TFESI) and “poor outcome” (< 50% reduction in the NRS score at 2 months post-TFESI). Using these input and output data, we developed a CNN model for predicting TFESI outcomes. The area under the curve of our model was 0.920. Its accuracy was 87.2%. Our CNN model has an excellent capacity for predicting therapeutic outcomes after lumbar TFESI in patients with lumbosacral radicular pain induced by LSS.