 When Levi was first cast as the voice of Flynn , the character had been scripted as a British farmer at the time , requiring Levi to voice him with a British accent until Flynn was eventually developed into a bandit with an American accent . Although Flynn and Rapunzel share several scenes together during the film , Levi and singer Mandy Moore , his co @-@ star who provides the voice of Rapunzel , recorded virtually none of their dialogue together due to scheduling conflicts , which Levi cited as one of the challenges he endured while working on the film , in addition to having to star in the television series Chuck simultaneously . Levi 's starring role on Chuck required the actor to constantly " shed a character and take on another character and shed that character and then go back to something else . " However , Levi and Moore did meet on one occasion to record their romantic duet " I See the Light " , Levi was not intimidated by the thought of recording the song , describing the experience as " an added bonus . " However , he admitted to having been nervous to sing with Moore , a professional singer , and working with composer Alan Menken . Although the actor identifies himself as " no stranger to singing " due to his background in musical theatre , Levi 's performance of " I See the Light " is considered to be his " big singing debut " because it was his first time recording a song professionally . 
