[1] He left the latter after two years and joined Deportivo de La Coruña, signing his first professional contract with the club on 11 December 2018.
[2] Hernández made his senior debut with the reserves on 13 December 2020, in a 2–1 Tercera División away win over SD Fisterra [es].
[3] He scored his first senior goal the following 7 March, netting Fabril's equalizer in a 3–1 away loss to Polvorín FC.
[7] Hernández further extended his contract with Deportivo until 2030 on 18 April 2024,[8] and finished the 2023–24 campaign with four goals in 26 appearances overall, as the club achieved promotion to Segunda División as champions.
[9] He made his professional debut on 17 August 2024, starting in a 1–0 home loss to Real Oviedo.