Ro-40 was laid down on 8 August 1942 by Mitsubishi at Kobe, Japan, with the name Submarine No. 206. She was renamed Ro-40 on 5 February 1943 and was attached provisionally to the Maizuru Naval District that day. She was launched on 6 March 1943 and completed and commissioned on 28 September 1943.
