Violin Sonata No. 27 in G major was composed by Wolfgang Amadeus Mozart in 1781 and first published in the same year. The G major Sonata was first presented by the Viennese house Artaria along with the sonatas K. 296 and K. 376 to K. 380, a set of six issued as "Op. 2.".