The submarine, built by Vickers Shipbuilding and Engineering at their shipyard in Barrow, was laid down on 18 November 1971, and launched on 22 November 1972. During construction, a fire seriously damaged the submarine. The submarine was towed to Chatham Dockyard, where the 60-foot (18 m) central section was cut out and replaced. The fire was found to have originated in the cabling, and prompted the recabling of all under-construction Oberons. She was commissioned into the Brazilian Navy on 10 December 1977.