The military history of the Republic of Venice started shortly after its founding, spanning a period from the 9th century until the Republic's fall in the 18th century. Military conflict between Venice and Italy began in the early 9th century with the intervention of Charlemagne's son King Pepin of Italy into Venice, which resulted in a failed six-month siege.

Venice first became a major military power in the 13th century during the Fourth Crusade, where Venetian troops participated in the successful siege and conquest of Constantinople, gaining vast territories and other war spoils. Later in the century, Venice commenced a series of wars with the Republic of Genoa and a number of its allies for dominance in the Mediterranean Sea. With the rise of the Ottoman Empire, the Republic lost its territories in the east as Cyprus and Venetian strongholds in Morea were occupied; at the same time, the rise of the Visconti of Milan drew Venice into the condottiere warfare of Italy.

The 14th century saw Venice successfully siege the northern Dalmatian town of Zadar with some 20,000 troops, as part of the Croatian-Venetian wars. Bereft of her Mediterranean possessions, Venice turned to conquest on the Italian mainland, which brought it into conflict with Milan and the Papacy. Venetian participation in the Italian Wars eventually resulted in the War of the League of Cambrai, where Venice was nearly reduced. Following the War of the League of Cognac, Venice played little further role in mainland warfare. She continued to fight naval wars against the Ottomans, however, culminating in the victory at the Battle of Lepanto.

The beginning of the 17th century saw a war against Austria and others over Uskok pirates. In the latter half of the 17th century, further Ottoman aspirations to capture Crete caused another protracted period of warfare, known as the Cretan War. The twenty-year Siege of Candia was followed by her involvement in the Great Turkish War, where the Republic briefly regained the Morea, only to return it some years later. The Republic of Venice was finally drawn into European warfare with Napoleon's invasion of Italy; unable to resist his armies, she was forced to surrender and become a French tributary state.

9th century

Pepin's siege of Venice (810) In 804, an agreement to cede sovereignty of parts of Venice was made between the exiled Patriarch of Grado, Fortunatus, and Doge Obelerio Degli Antenori. By 810, with the Doge's political power weakening, Charlemagne's son King Pepin of Italy had militarily intervened in the Republic in response, seeking to occupy the city. Pepin's army, which set out from Ravenna in 810, succeeded in putting down opposing forces in Chioggia and Pellestrina, but faced heavy resistance near the Malamocco channel, particularly around the presently named Lido di Venezia island. Constantine VII, the fourth Emperor of the Macedonian dynasty of the Byzantine Empire, described in his historical treatise De Administrando Imperio (written in the 10th century) the failed attempts of Pippin to siege Malamocco on Lido:The Venetians would man their ships and take up position behind the spars they had laid down, and king Pippin would take up position with his army along the shore. The Venetians assailed them with arrows and javelins, and stopped them from crossing over to the island. So then king Pippin, at a loss, said to the Venetians: "You are beneath my hand and my providence, since you are of my country and domain." But the Venetians answered him: "We want to be servants of the emperor of the Romans, and not of you." When, however, they had for long been straitened by the trouble that had come upon them, the Venetians made a treaty of peace with king Pippin, agreeing to pay him a very considerable tribute.The siege lasted 6 months and resulted in heavy losses to Pepin's army due to local diseases, and an overall failure to take Venice, with King Pepin dying on 8 July 810. It also resulted in Doge Obelerio's exile from Venice, which lasted two decades until his doomed return in 832.

13th century

Sack of Constantinople (1204)

On 9 April 1204, as part of the Fourth Crusade, Venetian ships combined with numerous Crusader forces started their assault on the Byzantine capital Constantinople, after Byzantine Emperor Alexios I of Trebizond refused to provide the Crusader army with money to assist the Crusade. Venice contributed 110 to 150 horse-transport galleys, 50 to 60 war galleys and around 50 troop transport ships.

By 12 April, forces from Venetian assault ships, blown ashore by strong winds, had taken control of a Byzantine tower near the Golden Horn. These ships carried scaling ladders and were resistant to enemy incendiary weapons, being covered with vine-cuttings. Only four or five of these ships were able to reach the towers, but were nonetheless successful in assisting Crusader forces in breaking the siege. According to an account of the siege by the Picardy knight Robert de Clari, this first contact, combined with a second tower breach by the Venetians, allowed Crusader forces on the ground to breach a postern gate, breaking the siege and commencing the main ground assault.

Following heavy looting and vandalism by Crusader forces following the retreat of Byzantine forces, the Byzantine Empire was divided between the Crusade's participants following the signing of a treaty. Venice nominally gained vast territories, including the island of Crete, Corfu, and a number of cities in Eastern Thrace, but only received a portion of these territories in actuality (such as Crete, which became the Kingdom of Candia), owing to instability and the failure of Venice's numerous attempts to assert power.

War of Saint Sabas (1256–1270) As part of the beginning of the Venetian–Genoese Wars, in 1256 Venice commenced warfare with the Republic of Genoa. The conflict started with the siege of Acre following a dispute over land claimed by both Genoa and Venice, with the siege comprising most of the war's subsequent combat. Early Genoese gains were erased by the entry of the Republic of Pisa into the war on Venice's side, with Venice's forces breaking chains in Acre's harbour and attacking with as many as 60 siege engines in 1257.

The ensuing year-long blockade was partially broken by a later Genoese naval counter-attack in June 1258, with Philip of Montfort assisting Genoa with his forces. However, the Venetian ships were able to eventually overwhelm these attacking forces. Despite the blockade, the siege defenders were not deprived of food, owing to assistance and supplies from Philip of Montfort and the nearby Hospitallers. By 1261, conflict had subsided and largely consisted of naval skirmishes for the rest of the conflict.

The first half of 1263 saw a 32-ship strong Venetian naval force defeat a fleet of 48 Genoese ships near the Greek island Spetses, in what is known as the Battle of Settepozzi. The next major naval battle took place on 14 August 1264, with much of the Venetian fleet being captured or sunk by a larger Genoese fleet, in what is known as the Battle of Saseno. The final naval engagement occurred on 23 June 1266, and resulted in a clear Venetian victory, with 24 Genoese galleys being captured by Venetian forces.

The Peace of Cremona in 1270 concluded the war, with France and the Kingdom of Sicily organising the peace treaty between Venice and Genoa.

14th century

Siege of Zadar (1345–1346) In 1345, as part of the Croatian-Venetian wars, some 20,000 or more Venetian troops were sent to capture Zadar, a Croatian city in northern Dalmatia. According to the 14th century Croatian manuscript (Latin, the English title is Siege of Zadar), these forces were joined by twelve ships arriving in Zadar on August 12, 1345, led by Commander-in-Chief Peter da Canale. A 16-month long siege ensued, with Venetian land and naval forces attempting a number of military operations to break the siege. The manuscript describes da Canale unsuccessfully attempting to break chains in Zadar's port at the beginning of the siege, on September 6, 1345.

However, the harbour chain was eventually broken in January 1346, allowing greater Venetian control of the harbour. The Venetian army's first major offensive on the city started on May 16 but failed, leading to a large counterattack by combined Croatian-Hungarian forces (the Croatians were joined by King Louis' forces following the first offensive) on July 1. According to the , this counterattack was later defeated with the help of the Venetian fleet. Later in the year, on 21 December, Venetian forces led by land commander Marko Giustinian entered Zadar, breaking the siege.

15th century

Until the beginning of the 15th century the Venetian power had been exclusively maritime, so that the entire military organization of the State had been focused on the fleet and the military corps linked to it: Arsenalotti, Schiavoni and Fanti da Mar. To this main nucleus were then added the cavalry corps provided by the maritime domains: Stradioti, Cimarioti and Sfaxioti.

It was only the conquest of the Stato de tera, rapidly developed at the beginning of the century, that generated the need for the Venetian State to equip itself with a land army. The solution, was the massive recourse to mercenary companies, which guaranteed a lesser weight on public finances, linked only to the war periods, and a certain reliability, if compared to the scarce experience of Venice in the country war. The recourse to mercenary troops, however, posed at the same time a problem linked to their possible unstable loyalty to the State. If, on the one hand, maritime power and complete control of the lagoons guaranteed security against possible coups d'état, on the other hand, entrusting the control of a mercenary army to the members of the Venetian patriciate, as well as not giving guarantees of ability in land warfare, could have created concentrations of power extremely dangerous for the political equilibrium of the Republic. For this reason, in times of war, when there was a massive recruitment of mercenaries, it was customary to assign the same title of Captain General of the Mainland to the same captains of fortune, assigning to the Venetian nobles tasks of support and control over the military operation.

Pandolfo Malatesta, Savelli and Galeazzo (1404–1405) In 1404 Venice entered the war against the Carraresi of Padua, who threatened the territories of the Dogado and the trade routes to and from the hinterland. The command was given to Pandolfo Malatesta, appointed Captain General. In 1405 the command was transferred to Paolo Savelli, who soon died trying to take Padua. He then succeeded him as Captain General Galeazzo Cattaneo de Grumello, under whose leadership the city of Padua was finally conquered, putting an end to the lordship of the Carraresi.

Carmagnola (1425–1432) In 1425 the Republic appointed Captain General Francesco Bussone, called the Carmagnola, in the war against the Visconti, which ended with victory at the Battle of Maclodio and the peace of 1428. Hostilities resumed in 1431, when the leader Bartolomeo Colleoni was also called to the service of Venice. The serious military upheavals suffered by the Venetian armies during this conflict, however, cost Carmagnola first the arrest on 8 April 1432, and finally the execution on 5 May of the same year.

Gattamelata (1434–1441) A new Captain General was appointed in 1434, in the person of Erasmus of Narni called Il Gattamelata, leading the war against Milan until 1441.

Attendolo (1441–1448)