The O-class submarines were designed to meet a Navy requirement for coastal defense boats.[1] The submarines had a length of 172feet overall, a beam of 18feet and a mean draft of 14feet. They displaced 521LT on the surface and 629LT submerged. The O-class submarines had a crew of 29 officers and enlisted men. They had a diving depth of 200feet.[2]
For surface running, the boats were powered by two 4400NaN0 diesel engines, each driving one propeller shaft. When submerged each propeller was driven by a 370hp electric motor. They could reach 14kn on the surface and underwater. On the surface, the O class had a range of 5500nmi at .[2]
The boats were armed with four 18-inch (450 mm) torpedo tubes in the bow. They carried four reloads, for a total of eight torpedoes. The O-class submarines were also armed with a single 3"/50 caliber deck gun.[2]
O-4 was laid down on 4 December 1916 by the Fore River Shipbuilding Company in Quincy, Massachusetts. She was launched on 20 October 1917, and commissioned on 29 May 1918 with Lieutenant Robert H. English (1888–1943), in command. O-4 operated out of Philadelphia, Pennsylvania, during World War I and patrolled the U.S. Atlantic coast from Cape Cod to Key West, Florida. On 24 July 1918, a British steamer mistook O-4 and for German U-boats and fired on the submarines. Although O-4 received six hits from the steamer, she suffered no major damage. In November, she joined the 20-submarine contingent that departed Newport, Rhode Island, on 3 November for European waters, however, hostilities ceased before the boats had reached the Azores.
O-4 then sailed to New London, Connecticut, to train students at the Submarine School there. Reclassified to a second line submarine on 26 July 1924, and reverting to a first liner on 6 June 1928, she trained Submarine School students at New London until 1931, with the exception of a brief tour at Coco Solo. O-4 decommissioned on 3 June 1931.
The approach of World War II saw the recall of O-4 to active service. She recommissioned on 29 January 1941 and trained students at the Submarine School until war's end. After the war, she steamed to Portsmouth, New Hampshire, to decommission there on 20 September 1945. She was struck from the Naval Vessel Register on 11 October 1945, and scrapped on 1 February 1946.
Following the decommissioning of the submarines, and in April 1926, O-4 was the oldest submarine in active service with the United States Navy until her final decommissioning in September 1945. (Although O-4 was fourth boat numerically in the O class, she was the first commissioned.) O-4 held the distinction of being the US Navy submarine in service for the longest period of time (27 years 4 months) until surpassed by in February 1971.