A net laying ship, also known as a net layer, net tender, gate ship or boom defence vessel was a type of small auxiliary ship.

A net layer's primary function was to lay and maintain steel anti-torpedo or anti-submarine nets. Nets could be laid around an individual ship at anchor, or around harbors or other anchorages. Net laying was potentially dangerous work, and net laying seamen were experts at dealing with blocks, tackles, knots and splicing. As World War II progressed, net layers were pressed into a variety of additional roles including salvage, troop and cargo transport, buoy maintenance, and service as tugboats.

US Navy

Net layers initially received the hull classification symbol YN (for "Yard Net Tender") but were later reclassified AN (for "Auxiliary Net Layer"). The British Admiralty knew such ships as a “boom defence vessel".

The first 32, all launched in 1940 (before the attack on Pearl Harbor), were built of steel. Due to the chronic shortage of steel during the war, the next 30 were built of wood. The last 15, laid down in 1944 and 1945, were again constructed of steel.

A total of 77 net layers of all classes served with the US Navy during the war. The vessels served in all theatres of war but particularly in the Pacific. Many of the ships were decommissioned after the war, but some continued in service for several more decades. Net layers were eventually made redundant by advances in underwater detection technology.

Net layers have two prominent steel "horns" on the bow, used in laying nets.