Bernard of Niemodlin (Polish: Bernard Niemodliński; b. 1374/78 – d. 2/4 April 1455), was a Duke of Strzelce and Niemodlin during 1382–1400 (with his brothers as co-rulers), Duke of Opole during 1396–1400 (with his brother as co-ruler), from 1400 until 1450 sole ruler over Strzelce and Niemodlin, from 1401 ruler over Olesno and Lubliniec, from 1420 ruler over Prudnik and in 1424 ruler over Głogówek, during 1434–1450 ruler over Kluczbork and Byczyna and from 1450 ruler over only Olesno.
He was the fourth and youngest son of Duke Bolko III of Strzelce by his wife Anna, probably daughter of Duke Jan I of Oświęcim.
At the time of his father'sdeath in 1382 Bernard was a minor and was placed under the care of his uncle Władysław Opolczyk and his older brothers Jan Kropidło and Bolko IV. The first appearance of Bernard in the political affairs took place on 6 August 1396, when he was present in the peace talks between the Polish King Władysław II Jagiełło and the Dukes of Opole; in this meeting, was arranged the betrothal of Bernard with Hedwig (died 23 Oct 1424), daughter of Spytko II z Melsztyna, Voivode of Kraków. This engagement was the guarantee that the young Dukes of Opole don't follow the steps of his uncle Władysław Opolczyk against the Kingdom of Poland. As additional security, the districts of Olesno and Lubliniec were promised to the Dukes of Opole as fiefs; but, in absence of male heirs, they reverted to Spytka II's daughters as a dowry.