Martínez was booked to challenge the reigning IBF super flyweight champion Jerwin Ancajas on 26 February 2022, in what was Ancajas‘ tenth title defense. The title fight was scheduled for the undercard of the Chris Colbert and Hector Garcia WBA super featherweight bout, which took place at the Cosmopolitan in Las Vegas, Nevada. Despite entering the fight as the underdog, Martínez captured the title by an upset unanimous decision. One judge scored the fight 117–111 in his favor, while the remaining two judges awarded him a 118–110 scorecard. Martínez landed 427 out of 1046 total punches thrown, while Ancajas landed 192 out of 816 total punches.