We evaluated the effects of climate seasonality from a thermal and water availability perspective on the activity patterns and resource use of Pecari tajacu and Tayassu pecari during wet and dry seasons in the northeastern Brazilian Pantanal. We used camera traps and temperature sensors to record species activity patterns in relation to temperature, established five habitat categories based on flooding intensity and local vegetation characteristics, assessed the activity patterns of each species in dry and wet periods and in artificial water bodies using circular statistical metrics, and calculated niche amplitude and overlap on three axes (temperature, time, and habitat) in both periods. Peccaries shared a strong resemblance in resource use and in their responses to seasonal variations in the tested gradients. The activity patterns of both species exhibited a significant correlation with air temperature on all the evaluated measures, and both species strongly reduced their activity when the air temperature exceeded 35 °C. High temperatures associated with low water availability were most likely responsible for the changes in species activity patterns, which resulted in an increased temporal overlap in habitat use throughout the dry season. However, the peccaries avoided intensively flooded habitats; therefore, the habitat gradient overlap was greater during the wet period. Our results show that an increase in niche overlap on the environmental gradient as a result of climatic seasonality may be partially compensated by a reduction in other niche dimensions. In this case, temporal partitioning appears to be an important, viable mechanism to reduce competition by potentially competing species.