Aguilar began his career in the Mexican League with the Algodoneros de Unión Laguna in 2012, going 0–0 with a 5.87 ERA in 115.1 innings.
[1] On September 19, 2016, Aguilar signed a minor league contract with the Arizona Diamondbacks organization.
Three days later, on August 2, Aguilar was charged with the loss in his first career decision when he pitched the tenth inning against the San Francisco Giants, giving up two earned runs.
[6][7] He spent the entire 2022 season with Reno, posting a 3–2 record and 5.44 ERA with 34 strikeouts and 5 saves in 46.1 innings pitched.
On February 6, 2024, Yucatán loaned Aguilar to the Charros de Jalisco of the Mexican League.