Hansen swam the 100-meter breaststroke at the 2008 Summer Olympics, his only individual event, finishing in fourth place, but earned a gold medal as a member of the winning U.S. team in the 4×100-meter medley relay. He lost the medal while on a flight home from a party in his hometown near Philadelphia to Austin; it was returned to him the following day.