Margays are mainly nocturnal, but they do sometimes hunt during the day. They prefer to spend most of their life in the trees, but also travel across the ground, especially when moving between hunting areas. During the day, they rest in safe branches or clumps of lianas.