The Second Battle of Algeciras (also known as the Battle of the Gut of Gibraltar) was a naval battle fought on the night of 12 July 1801 (23 messidor an IX of the French Republican Calendar) between a squadron of British Royal Navy ships of the line and a larger squadron of ships from the Spanish Navy and French Navy in the Gut of Gibraltar.