The Treaty of Nagyvárad (or Treaty of Grosswardein) was a secret peace agreement between Emperor Ferdinand I and John Zápolya, rival claimants to the Kingdom of Hungary, signed in Grosswardein / Várad (modern-day Oradea, Romania) on February 24, 1538. In the treaty, they divided Hungary between them according to the actual possession.
Ferdinand recognized Zápolya as John I, King of Hungary and ruler of two-thirds of the Kingdom, while Zápolya conceded the rule of Ferdinand over western Hungary, and recognized him as heir to the Hungarian throne, since Zápolya was childless.