How do people build new ideas from existing knowledge? By tracking Wikipedia searches, we found that novel ideas emerged when people balanced exploration with exploitation—alternating between distant topics and deep dives into related information.