Climate change is increasing exposure to hot conditions, yet epidemiological evidence on temperature-related mortality in pre-weaning piglets remains limited, particularly in humid tropical production systems. We assessed the immediate and delayed association between daily mean ambient temperature and pre-weaning piglet mortality using daily records from 14 commercial farms in 12 Cuban municipalities during 2022–2024 (17,599 deaths). Farms mainly use open or semi-open naturally ventilated maternity buildings with limited active microclimate control. Municipality-level daily mean temperature and relative humidity were obtained from ERA5-Land. We applied a space–time-stratified case-crossover design with conditional quasi-Poisson regression and a distributed lag non-linear model over lags 0–7 days, adjusting for relative humidity. The cumulative temperature–mortality association was U-shaped and strongly heat-dominated, with a minimum-mortality temperature of 23.7 °C. Effects were predominantly acute. At lag 0, mortality risk increased at both the maximum observed temperature of 31.2 °C (RR 1.49, 95% CI 1.06–2.09) and the minimum of 14.3 °C (RR 2.26, 95% CI 1.27–4.02); however, cold effects attenuated rapidly and contributed little to the overall burden. Non-optimal temperature accounted for 16.5% of deaths, almost entirely attributable to heat (15.4%). Most heat-attributable deaths occurred on non-extreme warm days above the minimum-mortality temperature, whereas the hottest 1% of days accounted for 0.7%. These findings support routine heat-risk management in farrowing environments as a strategy to help reduce pre-weaning mortality and strengthen climate resilience in tropical swine systems.