A torpedo tube is a cylindrical device for launching torpedoes. There are two main types of torpedo tube: underwater tubes fitted to submarines and some surface ships, and deck-mounted units (also referred to as torpedo launchers) installed aboard surface vessels.

Deck-mounted torpedo launchers are usually designed for a specific type of torpedo, while submarine torpedo tubes are general-purpose launchers, and are often also capable of deploying mines and cruise missiles. Most modern launchers are standardized on a 12.75-inch (324 mm) diameter for light torpedoes (deck mounted aboard ship) or a 21-inch (533 mm) diameter for heavy torpedoes (underwater tubes), introduction and standardization of said diameters was during 1963 and 1934 respectively, although torpedoes of other classes and diameters have been used.
A submarine torpedo tube is a more complex mechanism than a torpedo tube on a surface ship, because the tube has to accomplish the function of moving the torpedo from the normal atmospheric pressure within the submarine into the sea at the ambient pressure of the water around the submarine. Thus a submarine torpedo tube operates on the principle of an airlock.

The diagram illustrates the operation of a submarine torpedo tube. The diagram is somewhat simplified but does show the working of a submarine torpedo launch.
A torpedo tube has a considerable number of interlocks for safety reasons. For example, an interlock prevents the breech door and muzzle door from opening at the same time.
The submarine torpedo launch sequence is, in simplified form:
Spare torpedoes are stored behind the tube in racks.
Speed is a desirable feature of a torpedo loading system, but safety is paramount. There are various manual and hydraulic handling systems for loading torpedoes into the tubes. Early US Submarines utilized manual block and tackle which took anywhere from 10-20 minutes to load a single tube depending on the skill of the crew and if the system was hydraulically assisted like in later submarines. It wasn't until 1976 that SSNs including succeeding the Los Angeles class utilize a hydraulic system (AWC) that is much faster, cutting the time down to 5 or less minutes, and safer in conditions where the ship needed to maneuver.
The German Type 212 submarine uses a new development of the water ram expulsion system, which ejects the torpedo with water pressure to avoid acoustic detection.
{{cite web}}: CS1 maint: url-status (link)