The Treaty or Peace of Oliva (Polish: Pokój Oliwski; Swedish: Freden i Oliva; German: Vertrag von Oliva) was one of the peace treaties ending the Second Northern War (1655–1660). It was signed on 3 May [O.S. 23 April] 1660. The Treaty of Oliva, the Treaty of Copenhagen in the same year, and the Treaty of Cardis in the following year marked the high point of the Swedish Empire.
At Oliwa (Oliva), Poland, peace was made between Sweden, the Polish–Lithuanian Commonwealth, the Habsburgs and Brandenburg-Prussia. Sweden was accepted as sovereign in Swedish Livonia, Brandenburg was accepted as sovereign in Ducal Prussia and John II Casimir Vasa withdrew his claims to the Swedish throne. All occupied territories were restored to their prewar sovereigns.