2019–present: Transition to leading roles
Nam starred in the fantasy romance drama The Light In Your Eyes alongside Han Ji-min and Kim Hye-ja in 2019, receiving positive reviews for his performance. In 2020, Nam starred in Netflix's supernatural crime drama The School Nurse Files and in the tvN romance series Start-Up. The same year, Nam also starred in the romance film Josée, a remake of the 2003 Japanese film Josee, the Tiger and the Fish. The film reunites Nam with The Light In Your Eyes co-star Han Ji-min. With the success of The School Nurse Files and Start-Up, Nam was featured in Forbes' 30 Under 30 Asia list under the "Entertainment & Sports" category in 2021.
Nam then worked with Kim Tae-ri in leading the tvN drama Twenty-Five Twenty-One. The series, which tells the story of love between a man and a woman who met in the midst of the IMF crisis set in 1998, premiered in February 2022. He received favorable reviews for his performance in portraying the character Baek Yi-jin, with Korean media outlet OSEN referring to Nam as the "symbol of youth" as they commended his acting skills which created what is known as the "Joohyuk's Pain" syndrome. Writer Kim Bo-ra cited his "solid physique, warm-hearted visuals, and deep sensibility" which made him "look like a character in a teen comic." Kim adds, "[Nam's] affectionate warm voice and clear gaze make viewers' hearts flutter and fall for Baek Yi-jin."
Nam starred in the film Remember, which was released theatrically on October 26, 2022. He played the role of a young man who helps an Alzheimer's patient commit revenge. His performance was described as one that was able to "show sympathy that transcends generations in a way only [Nam] can." In 2023, Nam starred in a leading role for the drama Vigilante, based on the Naver webtoon of the same name drawn by Kim Gyu-san. He portrayed a police college student who secretly operates as the titular vigilante.
In January 2026, Nam signed with Fable Company.