Farinelli is an opera in two acts, described as 'serio-comic', by John Barnett, to a libretto by his brother Charles Zachary Barnett. Produced in 1839, it is the third of the composer's large-scale operas, and was the last to reach the stage. The hero is the castrato singer Farinelli, although the storyline of the opera is fictional.