 Unlike its close relative the black mamba, the eastern green mamba is rarely found in open terrain and prefers relatively dense, well-shaded vegetation.As well as wild forest habitats, it is also commonly found in thickets and farm trees (such as citrus, mango, coconut, and cashew).In coastal East Africa it is known to enter houses and may even shelter in thatched roof dwellings.