The American Revolutionary War saw a series of battles involving naval forces of the British Royal Navy and the Continental Navy from 1775, and of the French Navy from 1778 onwards. Although the British enjoyed more numerical victories, these battles culminated in the surrender of the British Army force of Lieutenant-General Earl Charles Cornwallis, an event that led directly to the beginning of serious peace negotiations and the eventual end of the war. From the start of the hostilities, the British North American station under Vice-Admiral Samuel Graves blockaded the major colonial ports and carried raids against patriot communities. Colonial forces could do little to stop these developments due to British naval supremacy. In 1777, colonial privateers made raids into British waters capturing merchant ships, which they took into French and Spanish ports, although both were officially neutral. Seeking to challenge Britain, France signed two treaties with America in February 1778, but stopped short of declaring war on Britain. The risk of a French invasion forced the British to concentrate its forces in the English Channel, leaving its forces in North America vulnerable to attacks.

France officially entered the war on 17 June 1778, and the French ships sent to the Western Hemisphere spent most of the year in the West Indies, and only sailed to the Thirteen Colonies from July until November. In the first Franco-American campaign, a French fleet commanded by Vice-Admiral Comte Charles Henri Hector d'Estaing attempted landings in New York and Newport, but due to a combination of poor coordination and bad weather, d'Estaing and Vice-Admiral Lord Richard Howe naval forces did not engage during 1778. After the French fleet departed, the British turned their attention to the south. In 1779, the French fleet returned to assist American forces attempting to recapture Savannah from British forces, however failing leading the British victors to remain in control till late 1782.

In 1780, another fleet and 6,000 troops commanded by Lieutenant-General Comte Jean-Baptiste de Rochambeau, landed at Newport, and shortly afterwards was blockaded by the British. In early 1781, General George Washington and the comte de Rochambeau planned an attack against the British in the Chesapeake Bay area coordinated with the arrival of a large fleet commanded by Vice-Admiral Comte François Joseph Paul de Grasse from the West Indies. British Vice-Admiral Sir George Brydges Rodney, who had been tracking de Grasse around the West Indies, was alerted to the latter's departure, but was uncertain of the French admiral's destination. Believing that de Grasse would return a portion of his fleet to Europe, Rodney detached Rear-Admiral Sir Samuel Hood and 15 ships of the line with orders to find de Grasse's destination in North America. Rodney, who was ill, sailed for Europe with the rest of his fleet in order to recover, refit his fleet, and to avoid the Atlantic hurricane season.

British naval forces in North America and the West Indies were weaker than the combined fleets of France and Spain, and, after much indecision by British naval commanders, the French fleet gained control over Chesapeake Bay, landing forces near Yorktown. The Royal Navy attempted to dispute this control in the key Battle of the Chesapeake on 5 September but Rear-Admiral Thomas Graves was defeated. Protected from the sea by French ships, Franco-American forces surrounded, besieged and forced the surrender of British forces commanded by General Cornwallis, concluding major operations in North America. When the news reached London, the government of Lord Frederick North fell, and the following Rockingham ministry entered into peace negotiations. These culminated in the Treaty of Paris in 1783, in which King George III recognised the independence of the United States of America.

Early actions, 1775–1778

First skirmishes

The Battle of Lexington and Concord on 19 April 1775 drew thousands of militia forces from throughout New England to the towns surrounding Boston. These men remained in the area and their numbers grew, placing the British forces in Boston under siege when they blocked all land access to the peninsula. The British were still able to sail in supplies from Nova Scotia, Providence, and other places because the harbour remained under British naval control. Colonial forces could do nothing to stop these shipments due to the naval supremacy of the British fleet and the complete absence of any sort of rebel armed vessels in the spring of 1775. Nevertheless, while the British were able to resupply the city by sea, the inhabitants and the British forces were on short rations, and prices rose quickly Vice-Admiral Samuel Graves commanded the Royal Navy around occupied Boston under overall leadership of Governor General Thomas Gage. Graves had hired storage on Noddle's Island for a variety of important naval supplies, hay and livestock, which he felt were important to preserve, owing to the "almost impossibility of replacing them at this Juncture".

During the siege, with the supplies in the city running shorter by the day, British troops were sent to the Boston Harbour to raid farms for supplies. Graves, apparently acting on intelligence that the Colonials might make attempts on the islands, posted guard boats near Noddle's Island. These were longboats that included detachments of Marines. Sources disagree as to whether or not any regulars or marines were stationed on Noddle's Island to protect the naval supplies. In response, the Colonials began clearing Noddle's Island and Hog Island of anything useful to the British. Graves on his flagship , taking notice of this, signalled for the guard marines to land on Noddle's island and ordered the armed schooner , under the command of his nephew Lieutenant Thomas Graves, to sail up Chelsea Creek to cut off the colonists' route. This contested action resulted in the loss of two British soldiers and the capture and burning of Diana. This setback prompted Graves to move , which had been stationed in the shallow waters between Boston and Charlestown, into deeper waters to the east of Boston, where it would have improved manoeuvrability if fired upon from land. He also belatedly sent a detachment of regulars to secure Noddle's Island; the colonists had long before removed or destroyed anything of value on the island.

The need for building materials and other supplies led Admiral Graves to authorise a loyalist merchant to send his two ships Unity and Polly from Boston to Machias in the District of Maine, escorted by the armed schooner Margaretta under the command of James Moore, a midshipman from Graves' flagship Preston. Moore also carried orders to recover what he could from the wreck of , which had apparently been run aground in Machias Bay by a patriot pilot in February 1775. After a heated negotiation, the Machias townspeople seized the merchant vessels and the schooner after a short battle in which Moore was killed. Jeremiah O'Brien immediately outfitted one of the three captured vessels with breastwork, armed her with the guns and swivels taken from Margaretta and changed her name to Machias Liberty. In July 1775, Jeremiah O'Brien and Benjamin Foster captured two more British armed schooners, Diligent and Tatamagouche, whose officers had been captured when they came ashore near Bucks Harbour. In August 1775, the Provincial Congress formally recognised their efforts, commissioning both Machias Liberty and Diligent into the Massachusetts Navy, with Jeremiah O'Brien as their commander. The community would be a base for privateering until the war's end.

Their resistance, and that of other coastal communities, led Graves to authorise a reprisal expedition in October whose sole significant act was the Burning of Falmouth. On 30 August, Royal Naval Captain James Wallace, commanding fired into the town of Stonington, after the townspeople there prevented Roses tender from capturing a vessel it had chased into the harbour. Wallace also fired on the town of Bristol, in October, after its townspeople refused to deliver livestock to him. The outrage in the colonies over these action contributed to the passing of legislation by the Second Continental Congress that established the Continental Navy. The US Navy recognises 13 October 1775, as the date of its official establishment; the Second Continental Congress had established the Continental Navy in late 1775. On this day, Congress authorised the purchase of two armed vessels for a cruise against British merchant ships; these ships became and . The first ship in commission was purchased on 4 November and commissioned on 3 December by Captain Dudley Saltonstall. John Adams drafted its first governing regulations, adopted by Congress on 28 November 1775, which remained in effect throughout the Revolution. The Rhode Island resolution, reconsidered by the Continental Congress, passed on 13 December 1775, authorising the building of thirteen frigates within the next three months, five ships of 32 guns, five with 28 guns and three with 24 guns.

Foundation of the Continental Navy

The desperate shortage of gunpowder available to the Continental Army had led the Congress to organise a naval expedition, one of whose goals was the seizure of the military supplies at Nassau. While the orders issued by the Congress to Esek Hopkins, the fleet captain selected to lead the expedition, included only instructions for patrolling and raiding British naval targets on the Virginia and Carolina coastline, additional instructions may have been given to Hopkins in secret meetings of the Congress' Naval Committee. The instructions that Hopkins issued to his fleet's captains before it sailed from Cape Henlopen, Delaware on February 17, 1776, included instructions to rendezvous at Great Abaco Island in the Bahamas.Field, pp. 100–102 The fleet that Hopkins launched consisted of: Alfred, , , , Andrew Doria, Cabot, , and Columbus. In addition to ships' crews, it carried 200 marines under the command of Samuel Nicholas. In early March, the fleet (reduced by one due to tangled rigging en route) landed marines on the island of New Providence and captured the town of Nassau in the Bahamas.; After loading the fleet's ships, (enlarged to include two captured prize ships), with military stores, the fleet sailed north on 17 March, with one ship dispatched to Philadelphia, while the rest of the fleet sailed for the Block Island channel, with Governor Browne and other officials as prisoners. Outbreaks of a variety of diseases, including fevers and smallpox, resulting in significant reductions in crew effectiveness, marked the fleet's cruise.

The return voyage was uneventful until the fleet reached the waters off Long Island. On 4 April, the fleet encountered and captured a prize, Hawk, which was laden with supplies. The next day brought a second prize Bolton, which was also laden with stores that included more armaments and powder. Hoping to catch more easy prizes, Hopkins continued to cruise off Block Island that night, forming the fleet into a scouting formation of two columns. The need to man the prizes further reduced the fighting effectiveness of the fleet's ships. The fleet finally met resistance on April 6, when it encountered the Glasgow, a heavily armed sixth-rate ship. In the ensuing action, the outnumbered Glasgow managed to escape capture, severely damaging the Cabot in the process, wounding her captain, Hopkins' son John Burroughs Hopkins, and killing or wounding eleven others. Andrew Doria'''s Captain Nicholas Biddle described the battle as "helter-skelter". They reached New London on 8 April.