The ability to flexibly plan for events outside of the current sensory scope is at the core of being human and is crucial to our everyday lives and society. Studies on apes have shaped a belief that this ability evolved within the hominid lineage. Corvids, however, have shown evidence of planning their food hoarding, although this has been suggested to reflect a specific caching adaptation rather than domain-general planning. Here, we show that ravens plan for events unrelated to caching—tool-use and bartering—with delays of up to 17 hours, exert self-control, and consider temporal distance to future events. Their performance parallels that seen in apes and suggests that planning evolved independently in corvids, which opens new avenues for the study of cognitive evolution.