"D. russelii" is not restricted to any particular habitat, but does tend to avoid dense forests. The snake is mostly found in open, grassy or bushy areas, but may also be found in second growth forests (scrub jungles), on forested plantations and farmland. It is most common in plains, coastal lowlands, and hills of suitable habitat. Generally, it is not found at altitude, but has been reported as far up as 2300–3000 m (7,500-9,800 ft). Humid environments, such as marshes, swamps, and rain forests, are avoided.