In 2016, López pitched for Mobile. He struggled, posting a 5.52 ERA in 62 innings, and left the team with the intention to retire.[6] However, he returned to the organization in September 2016 to pitch for the Diamondbacks' Arizona League affiliate. He spent 2017 with the Visalia Rawhide of the High–ACalifornia League and posted a 2–0 record with a 0.88 ERA along with 56 strikeouts in 30+2⁄3 innings.[7] In 2018, he pitched for the Jackson Generals of the Southern League.
The Diamondbacks promoted him to the major leagues on September 3.[8] López faced the Atlanta Braves six days later in his major league debut, giving up 2 home runs and a triple in his first 8 pitches.[9] In 2019, he pitched out of the bullpen for Arizona, appearing in 70 games. In 2020, López pitched to a 5.95 ERA with 16 strikeouts and 9 walks in 19.2 innings of work.[10] After recording a 6.57 ERA in 13 appearances, López was designated for assignment on May 20, 2021.[11]
Atlanta Braves
On May 22, 2021, López was traded to the Atlanta Braves in exchange for Deivi Estrada and was assigned to the Triple-A Gwinnett Stripers.[12] In 32 appearances for Triple-A Gwinnett, López went 3–2 with a 3.03 ERA and 35 strikeouts. On November 22, López was designated for assignment by the Braves.[13]
New York Mets
On November 29, 2021, López was claimed off of waivers by the Philadelphia Phillies.[14] On March 16, 2022, López was designated for assignment by Philadelphia after the signing of Odúbel Herrera was made official.[15] On March 18, he was claimed again, this time by the Miami Marlins.[16] On March 27, 2022, Lopez was designated for assignment following the waiver claim of Tommy Nance.[17]
On March 29, 2022, López was claimed off of waivers for a third time, by the New York Mets.[18] On May 2, López was suspended 3 games and fined following an incident in which he intentionally threw a pitch at Philadelphia Phillies batter Kyle Schwarber.[19]
He was released on December 21, 2022.
Yomiuri Giants
On December 22, 2022, López signed with the Yomiuri Giants of Nippon Professional Baseball.[20] In 8 games for the Giants in 2023, he pitched to a 4.05 ERA with 2 strikeouts in 6+2⁄3 innings pitched. On November 27, 2023, Yomiuri announced that López would not be returning to the club the following year.[21]
Algodoneros de Unión Laguna
On February 26, 2024, López signed with the Algodoneros de Unión Laguna of the Mexican League.[22] In 49 appearances for the Algodoneros, he compiled a 4–1 record and 1.18 ERA with 54 strikeouts and 3 saves across 53+1⁄3 innings pitched.