The aim of the present study was to quantify the effect of heat stress (HS) from different points in time on production, female fertility, and health traits. In this regard, on-farm measurements for temperature and relative humidity were combined into temperature-humidity indexes (THI), and merged with longitudinal cow traits from electronic recording systems. The study included traits from 22,212 Holstein cows kept in 15 large-scale dairy co-operator herds. Trait and meteorological data recording spanned a period between May 2013 and November 2015. Longitudinal production traits considered 191,911 test-day records for protein yield, protein percentage, and milk urea nitrogen (MUN). Female fertility traits were the pregnancies per AI (P/AI) and the number of daily inseminations per herd cow (INS/ HCOW). Health traits considered clinical mastitis (MAST), retained placenta, puerperal disorders (PD) from d 0 to 10 postpartum, and the claw disorders digital phlegmona, digital dermatitis (DD), and interdigital hyperplasia from d 0 to 360 postpartum. For all traits, we analyzed the THI influence from the trait-recording day. In addition, we studied the time-lagged THI effect from the previous week. Linear mixed models were applied to estimate THI effects on Gaussian distributed production traits. For binary health and fertility traits, generalized linear mixed models with a logit link function were used. The continuous THI effect was either modeled linear, or via Legendre polynomials of order 4. Regression models for THI were validated via THI class effects (i.e., 5% percentiles for THI). Protein percentage decreased with increasing test-day THI, and with increasing THI from the previous week. Protein yield obviously decreased beyond THI 68 for both THI measurements (test-day THI and THI from previous week). For MUN, the visually identified test-day HS threshold was THI 70. Time-lagged THI effects on MUN were less obvious. For both THI measuring dates, INS/HCOW was highest at THI 57. Beyond THI 57, INS/HCOW substantially decreased. For P/AI, the visually identified HS threshold at the insemination date was THI 65. Temperature-humidity indexes from the previous week had a moderate detrimental effect on P/AI. Incidences for MAST, retained placenta, and PD during d 0 to 10 postpartum increased with increasing average THI from this period. Studying the whole lactation period, incidences for interdigital hyperplasia also increased with increasing THI from the previous week. An opposite THI response was identified for DD: DD decreased with increasing THI. For all health traits, associations between disease incidences and THI were almost linear. Hence, for health traits, no obvious HS thresholds were detected. Especially in early lactation, HS had a detrimental effect on cow productivity and female fertility. The influence of HS on cow health differed, depending on the disease pathogenesis.