Carlos Diego Ferreira on February 18, 2018 at UFC Fight Night: Cowboy vs. Medeiros. He lost the fight via TKO in the first round. After the loss, Gordon decided to move to Milwaukee to train at Roufusport under Duke Roufus. Gordon faced Joaquim Silva on December 15, 2018 at UFC on Fox 31. He lost the fight via knockout in round three. This fight earned him the Fight of the Night award. Despite losing the two last fights of his rookie contract, he signed a new four-fight contract with the UFC after the Silva fight. Gordon faced Dan Moret on June 29, 2019 at UFC on ESPN 3. He won the fight via unanimous decision. Gordon was expected to face Leonardo Santos on November 16, 2019 at UFC Fight Night 164. However, Santos withdrew from the fight and was replaced by Charles Oliveira. He lost the fight via knockout in the first round. Gordon was scheduled to face Matt Sayles on May 16, 2020. However, on April 9, Dana White, the president of UFC announced that this event was postponed to a future date due to COVID-19 pandemic. Gordon faced Chris Fishgold in a featherweight bout on July 16, 2020 at UFC on ESPN: Kattar vs. Ige. At the weigh-ins, Fishgold weighed in at 149 pounds, 3 pounds over the featherweight non-title fight limit. He was fined 20% of he purse which went to Gordon and their bout proceeded at catchweight. Gordon won the fight via unanimous decision. With one fight left on his contract, Gordon subsequently signed a new contract with the UFC. Gordon faced Danny Chavez on February 20, 2021 at UFC Fight Night 185. At the weigh-ins, Gorden weighed in at 150 pounds, four pounds over the featherweight non-title fight limit. He was fined 30% of his purse which went to his opponent Chavez and the bout proceed at catchweight. Gordon won the fight via unanimous decision. Gordon faced Joe Solecki on October 2, 2021 at UFC Fight Night 193. He won the fight via split decision. Gordon was scheduled to face Rafael Alves on April 30, 2022 at UFC on ESPN 35. However Alves withdrew from the event for undisclosed reasons and he was replace by Grant Dawson. He lost the bout via rear-naked choke late into the third round. Gordon faced Leonardo Santos on August 20, 2022 at UFC 278. He won the bout via