The two-time MLS Cup winner is the league's all-time leader in minutes, saves and shutouts.
The 39-year-old New York Red Bulls goalkeeper announced his retirement Thursday after a 17-year career in MLS. In addition to playing 37,260 minutes — 4,118 more than any other player in MLS history — Hartman also is the league's all-time leader in saves (1,474), shutouts (112) and wins (180).
"It was a privilege to have this dream job and watch soccer and the league grow by leaps and bounds since I began my career," Hartman said in a press release. "I am truly looking forward to the next stage of my life and am very thankful for the many memories and relationships I have made along the way."
After stints with the Los Angeles Galaxy, the Kansas City Wizards and FC Dallas, the two-time MLS Cup champion signed with the Red Bulls in March to provide depth while backup Ryan Meara recovered from a hip injury. But Hartman, who started 30 games for Dallas in 2012, never played for New York.
Hartman was a six-time finalist for MLS Goalkeeper of the Year, winning in 1999, and also compiled five caps with the U.S. national team.