Hamm helped lead the U.S. national team to its second gold medal at the 2004 Summer Olympics in Athens and was selected by her fellow Olympians to carry the American flag at the closing ceremony. During the team's first group stage match against Greece, Hamm served the cross to Shannon Boxx's game-opening goal, and scored the last goal of the match to lift the U.S. to a 3–0 win. During a 2–0 win over Brazil in the second group stage match, Hamm converted a penalty kick for the opening goal. The U.S. finished at the top of Group C with seven points after a 1–1 draw against Australia to advance to the quarter-finals, where they defeated Japan 2–1. During the semi-final match against Germany, Hamm served an assist to Heather O'Reilly who scored in overtime to secure a 2–1 win. The U.S. faced Brazil for a second time at the Games in the gold medal match and won 2–1 in overtime. Her teammates swarmed Hamm after the final whistle to celebrate their second Olympic gold medal and her final win at the Olympics. The game marked the last Olympic appearance for the five remaining players who had helped win the inaugural 1991 FIFA Women's World Cup: Hamm, Julie Foudy, Joy Fawcett, Brandi Chastain, and Kristine Lilly (often referred to as the Fab Five).
Hamm helped lead the U.S. national team to its, second gold medal at the 2004 Summer Olympics in Athens and was selected by her fellow Olympians to carry the American flag at the. closing ceremony. During the team's first group stage match against Greece, Hamm served the cross to Shannon Boxx's game-opening goal, and scored the last goal of the match to lift the U.S. to a 3–0 win. During a 2–0 win over Brazil in the second group stage match, Hamm converted a penalty kick for the opening goal. The U.S. finished at the, top of Group C with seven points after a 1–1 draw against Australia to advance to the quarter-finals, where they defeated Japan 2–1. During the semi-final match against Germany Hamm served an assist to Heather O'Reilly who scored in overtime to secure a 2–1 win The U.S. faced Brazil for a second time at the Games in the gold medal match and won 2–1 in overtime. Her teammates swarmed Hamm after the final whistle to celebrate their second Olympic gold medal and her final win at the Olympics. The game marked the last Olympic appearance for the five remaining players who had helped win the inaugural 1991 FIFA Women's World Cup: Hamm, Julie Foudy, Joy Fawcett Brandi Chastain, and Kristine Lilly (often referred to as the Fab Five).