An armed yacht was a yacht that was armed with weapons and was typically in the service of a navy. The word "yacht" ("hunter"; Dutch "jacht"; German "jagd", literally meaning "to hunt") was originally applied to small, fast and agile naval vessels suited to piracy and to employment by navies and coast guards against smugglers and pirates. Vessels of this type were adapted to racing by wealthy owners. The origin of civilian yachts as naval vessels, with their speed and maneuverability, made them useful for adaptation to their original function as patrol vessels. In the United States Navy armed yachts were typically private yachts expropriated for government use in times of war. Armed yachts served as patrol vessels during the Spanish–American War and the World Wars. In the latter conflicts, armed yachts were used as patrol vessels, convoy escorts, and in anti-submarine duties. In the United States, yachts were purchased from their owners with the owners given an option to repurchase their yacht at the close of hostilities.
Before the outbreak of war in Europe, there had been much discussion in the United Kingdom of a wartime role for privately owned motor and steam yachts and smaller power boats. This led to Admiral Sir Frederick Inglefield forming a Motor Boat Reserve Committee in 1912 to consider whether this would be useful and how it could be achieved. In early 1914 the Admiralty created a Motor Boat Reserve with experienced volunteers from various yacht clubs. At the start of the war in August 1914, the reserve was activated under the title Royal Naval Motor Boat Reserve (RNMBR). Eventually, the RNMBR was incorporated into the Auxiliary Patrol and its crews into the Royal Naval Volunteer Reserve (RNVR). By December 1914, each sea area of the British Isles was allocated a dedicated unit of the Auxiliary Patrol, typically comprising six armed trawlers or drifters and a single armed yacht, together with smaller motor boats, with the roles of harbour defence, mine clearance and anti-submarine patrolling. The crews were augmented by volunteers from all over the British Empire. By 1917, there were 150 patrol units, each led by an armed yacht, usually equipped with radio. In the course of the war, a total of 159 motor yachts were hired by the Admiralty, some serving as far away as the Dardanelles. The British armed yacht HMS Lorna destroyed the German U-boat SM UB-74 with depth charges off Portland Bill in May 1918. A number of motor yachts operated as patrol boats in the waters of British Dominions and colonies, including Nusa, a German yacht which was captured in the Solomon Islands in September 1914 and was later used by the Royal Australian Navy in their home waters.
On the entry of the United States into the war in April 1917, a large number of motor yachts were acquired by the US Navy and Coast Guard. In the coastal waters of France, there was a considerable U-boat threat to the shipping required to transport and supply the American Expeditionary Force, and the only available warships were six armed yachts which were formed into the US Patrol Squadron Operating in European Waters. The squadron left New York Navy Yard on 4 June 1917 and crossing via Bermuda and the Azores, arrived in Brest on 4 July. A second and third squadron arrived during the same month, their colourful dazzle camouflage giving rise to the nickname "the Easter egg fleet". Reinforcements of armed trawlers and destroyers arrived in October, however the yachts remained active with the force until the end of the war. Surfaced U-boats were engaged with gunfire in the early months and in 1918, two submarines were claimed to have been destroyed with depth charges, but neither of these claims were supported by post-war research.
During World War II, the US navy commandeered small vessels, including private yachts, and requisitioned them to patrol US coastal waters and the Gulf of Mexico against German U-boats. In the Gulf, the boats ventured out for 12 miles. The US Coast Guard Auxiliary was formed to man the vessels, but their crews were inexperienced and untrained. They had absolutely no navigation equipment, and, consequently, the crew often had no idea where they were. The boats were equipped with radios, which, in theory, were to be used to report any U-boat sightings. In practice, however, reporting a U-boat's position was impossible due to the crew's lack of bearings. The men on board spent their time scanning the horizon with binoculars, having been given pictures and silhouettes of the different types of U-boats so that they would be able to identify them.
Some of these boats were armed with a .50 caliber machine gun in the bow and four depth charges on racks in the stern, although actually attacking a U-boat was probably suicidal. The lopsided battle would have conceivably ended with the U-boat using its deck guns to blow up the patrol yacht (since scoring a hit with a torpedo was improbable).
The Royal Canadian Navy also commandeered and used armed yachts and other such vessels for anti-submarine patrols, having 12 of them.