Mayer went to college at Stanford University. She studied computer science there. After college, she went to Google in 1999 as the first female engineer when she was 24 years old. She worked at Google until 2012.