 Hernandez attended Miami Norland High School in Miami, Florida, playing on three state championship teams.As a senior, he averaged 19.2 points and 9.1 rebounds per game and was the Miami Herald 8A-6A Player of the Year.In January 2016, Hernandez was named a McDonald's All American, and competed in the 2016 McDonald's All-American Game.