On the seventh day of competition, Andrew competed in the prelims heats of the 50 meter freestyle, swimming a 21.72, ranking second, and advancing to the semifinals later that day. He ranked second for both semifinals with a time of 21.55 and qualified for the final on day eight, the last day, of competition. Andrew swam a 21.48 in the final, took second place, and qualified to swim the 50 meter freestyle at the 2020 Summer Olympics. This marked the first time a swimmer for the United States qualified to compete at the Olympic Games both in breaststroke and an event other than an individual medley.