At the 2012 Summer Olympics in London, she earned a spot on the finals lineup for the 4×200-meter freestyle relay after swimming the fastest split in the team in the morning prelims, 1:57.04. She earned a gold medal as a member of the winning U.S. relay team in the relay, together with Missy Franklin, Dana Vollmer and Allison Schmitt. She split 1:56.85 on the third leg of the relay. The first-place Americans set a new Olympic record for the event of 7:42.92.