Matthias II (c. 1193 – 9 February 1251) was Duke of Lorraine from 1220 to his death. He was the son of Duke Frederick II and Agnes of Bar and succeeded his brother, Theobald I.
He immediately had to give away Nancy to his brother's widow, Gertrude of Dagsburg, who remarried to Theobald IV of Champagne, whose suzerainty Matthias had to recognise, due to the fruitless wars his brother had waged against an imperial coalition. Theobald hoped to get his hands on the county of Metz, but failing that, he repudiated Gertrude. Gertrude had no children by a third marriage and Nancy reverted to the duchy on her death in 1225.
Matthias accompanied Emperor Frederick II on the Sixth Crusade in 1228 and into Italy in 1235. By this, he reinitiated the close alliance with the Holy Roman Emperors which his forefathers had had for over a century from the appointment of Adalbert until the war between his brother and Frederick, which had ruptured that long friendship.
Matthias faced several unruly barons, especially the Count of Lunéville, who had the discreet support of the Count of Bar. He was victorious and reattached Lunéville to the duchy in an exchange. However, peace was not achieved. In 1230, Henry II of Bar was at it again, with Hugh II of Vaudémont and the Bishop of Toul, ravaged his ducal territories and took a few castles.
On Henry of Bar's death in 1240, Matthias tried to retake those lost castles from Theobald II of Bar, the old count's young son, but he failed and a peace was signed in 1245 which lasted several decades. That same year, the emperor was excommunicated and Matthias distanced himself from the Imperial camp before joining the papal party of Pope Innocent IV in 1247. He died only a few years thence after having negotiated the profitable marriage of his son with the daughter of the Count of Champagne.