The squadron was first formed as No. 12 Squadron of the Royal Naval Air Service, a training unit of No. 1 Wing, founded at Hondschoote on 8 June 1917.
On 20 August 1918 Flights 490, 557 and 558 of the former RNAS base at Great Yarmouth were formed into No. 212 Squadron RAF.