Context In the vicinity of the western Rajaji Tiger Reserve, a significant rise in conflicts between humans and leopards has occurred. These conflicts have resulted in a substantial number of human deaths, with 60% attacks resulting in deaths over a 4-year period. Aims This study aims to examine any potential connection among the non-breeding tigers, leopards, prey, humans and the increased occurrence of conflicts. Methods To address this objective, we conducted an analysis to evaluate the density of leopards, as well as their spatial and temporal behaviour with respect to tigers, prey and humans through on-site habitat use, circular statistics, diel-overlap as well spatial niche breadth and spatial-niche overlap. Key results Our findings showed one of the highest leopard-density estimates (excluding cubs) (mean ± s.e.) of 23.7 ± 4.8 per 100 km2. When examining on-site habitat use by leopards, we found three variables that had a negative influence, namely, human presence, slope, and the presence of tigers. The presence of a large prey (sambar) had a positive influence. Leopards, exhibiting the highest spatial-niche breadth, demonstrated a small overlap with both tigers and humans, while displaying a significant diel overlap with sambar. The niche overlap was notably high with sambar, but very low with humans and tigers. Conclusions Although tigers locally created a zone of spatial and temporal avoidance, at the population level the leopards experienced a surge in numbers in response to the reduced tiger numbers, indicated by their high density. This could be a cause of high leopard movement into nearby human settlements. This unique scenario could have contributed to conflict. Implications Understanding the coexistence among different species and the impact of transient animals is crucial to develop effective management strategies to mitigate conflict. This approach would facilitate and ensure the long-term survival of diverse large carnivores in the tropical forests of southern Asia through sustained support for conservation from local communities.