Jan of Melsztyn (Polish: Jan z Melsztyna or Jan Melsztyński) was a Polish nobleman (szlachcic).

Jan of Melsztyn
Coat of armsLeliwa
Bornc. 1326
Died(1381-03-23)23 March 1381
FamilyTarnowski
ConsortZofia of Książ
IssueSpytek of Melsztyn
Elżbieta of Melsztyn
FatherSpytek of Melsztyn
MotherStanisława of Bogoria and Skotnik

Jan was owner of Melsztyn and Książ estates. He served as Łowczy of Kraków since 1339, castellan of Wojnice since 1345, voivode of the Sandomierz Voivodeship since 1361 and castellan of Kraków since 1360 or 1366.

His granddaughter Elizabeth Granowska became Queen consort of Poland.