Two surveys were conducted to assess the prevalence and risk factors of ovine caseous lymphadenitis (CL) and explore the association between its superficial and visceral forms in Sardi sheep in Settat province, Morocco. A total of 1521 sheep, including 318 lambs < 6 months, 572 young sheep aged 6–24 months, and 631 adult sheep > 24 months, were examined from 57 flocks. Superficial CL prevalence levels were as follows: 69/318 in lambs, 292/572 in young sheep, and 114/631 in adult sheep. Additionally, 2124 sheep, including 1813 young and 311 adult sheep, were inspected in slaughterhouses ante- and post-mortem. Among all infected animals, the prevalence of visceral abscesses was notably higher in adult sheep (83%, OR = 9.8, 95% CI = 5.5–17.2) compared to young sheep (35%). Data on flock size, sex, age, body condition score, rearing methods, and hygienic measures were collected. Suspected CL cases were confirmed using quadruplex-PCR. Poor barn ventilation, lack of abscess control, and younger age were identified as key risk factors for CL. Additionally, a high percentage (89%) of animals with thoracic abscesses did not display superficial lesions. While age and abscess control have been reported in previous studies, barn ventilation appears to be a new, but important, risk factor. In conclusion, the identified risk factors in Settat province are linked to breeding management practices. Implementing regular abscess control measures and improving barn ventilation are essential for CL prevention.