Background: The aim of this study was to investigate the risk factors for and the impact of ultrasound‐diagnosed endometritis (UDE) on lactating dairy cows’ reproductive performance. Methods: Data were analysed from 1123 Holstein and Holstein‐Friesian cows from two Scottish dairy farms. A reproductive ultrasound examination was conducted on two occasions, at 43 ± 3 and 50 ± 3 days in milk (DIM), to screen for hyperechoic fluid in the uterus. Statistical analyses were performed using multivariable logistic regression modelling and Cox proportional hazards models. Results: The overall incidence of UDE was 8.8% (99/1123). Risk factors for UDE included calving during autumn/winter seasons, increased parity and the presence of two or more diseases in the first 50 ± 3 days postpartum. The presence of UDE was associated with a reduced odds of pregnancy after all artificial inseminations up to 150 DIM. Limitations: The retrospective design of this study led to some inherent limitations with the quality and quantity of data collected. Conclusions: The findings of this study indicate which risk factors should be monitored in postpartum dairy cows to limit the impact of UDE on future reproductive performance.