Alex Foster played junior hockey in the USHL for three seasons. He played the 2001–02 and 2002–03 seasons with the Sioux Falls Stampede, and 2002–03 and 2003-04 seasons with the Danville Wings. In his time with the Wings, he helped lead them to the final four of the USHL playoffs. Foster joined the Bowling Green Falconsice hockey team in 2004. During his time at Bowling Green, Foster amassed 82 points in 72 games and ranks 10th all-time at BGSU in assists-per-game, averaging.875. In his freshman season he was named CCHA Rookie of the Week on January 9, 2005. He finished the season as the ninth-highest scoring freshman in the conference. In his sophomore season, Foster tallied 51 points in 38 games. He was named CCHA Player of the Month for November 2005, Offensive Player of the Week on November 7, 2005 and was a Hobey Baker Award candidate.
Professional
He was signed as a free agent by the Toronto Maple Leafs on March 8, 2006. His contract included the maximum possible signing bonus, which was approximately US$170,000. Foster was assigned to Toronto's AHL minors team, the Toronto Marlies the next day. In his rookie season with the Marlies, Foster scored one goal in eight games. On October 16, 2006, Foster was reassigned to the Columbia Inferno of the ECHL, later to be recalled to the Toronto Marlies on November 11, 2006. Foster re-signed with the Toronto Marlies on July 18, 2007, with a one-year contract. On February 24, 2008, Foster established a Toronto Marlies single season record for short-handed goals when he scored his fifth short-handed goal of the season against the Hamilton Bulldogs. On March 17, 2008, Foster was called up to the Toronto Maple Leafs and made his NHL debut the following night against the New York Islanders, wearing jersey #32. He would appear in three games before being reassigned to the Toronto Marlies on March 26, 2008. In his three games he totaled one shot, no points, and no penalty minutes. On October 22, 2010, he was named the third captain in Toronto Marlies history. On June 7, 2011, after spending his 6th professional season within the Maple Leafs organization, Foster left as a free agent and signed a one-year contract with European team, HC Sparta Praha of the Czech Extraliga. He spent the 2012–13 season split between HC Sparta Praha of the Czech Extraliga and Adler Mannheim of the Deutsche Eishockey Liga. On June 20, 2013, Foster opted to remain in Germany to sign a one-year contract with the Iserlohn Roosters of the DEL. After six years abroad playing across Europe, Foster returned to the United States as a free agent following the 2016–17 season with the Belfast Giants of the Elite Ice Hockey League. On September 22, 2017, he agreed to a one-year ECHL contract with the Toledo Walleye. Prior to playing in the 2017–18 season, Foster was released from his contract with the Walleye and later signed by fellow club, the Rapid City Rush, on October 17, 2017. After opening the season with 5 games for the Rush, Foster was traded to the Brampton Beast on November 11, 2017.