The Loveland native will face Roger Hollett in a light heavyweight bout in Toronto, Canada at the Air Canada Centre on Sept. 22.
Yahoo! Sports was first to report the news and has since been confirmed by the UFC.
Hamill, 35, retired two days after suffering a TKO loss to Alexander Gustafsson at UFC 133. The former three-time NCAA Division III wrestling champion cited injures and fatigue as his reason for retirement.
The former “Ultimate Fighter” has lost back-to-back fights but was able to score wins over Tito Ortiz, Mark Munoz and Keith Jardine in his UFC career. Hamill is the only fighter to have been credited with a victory over current light heavyweight champion Jon Jones.
Hollett, a native of Canada, will be making his UFC debut after a successful run in regional shows. Hollet has won five straight fights in his home country.
UFC 152 will headlined by the first ever flyweight title fight in the UFC when Joseph Benavidez takes on Demetrious Johnson. Also on the card, Michael Bisping will battle Brian Stann and B.J. Penn will take on Rory MacDonald.