The defender's current deal expires in June but he has endured a difficult campaign for the Rossoneri, who lie ninth in Serie A.
Mexes admits that he has no idea if he will be offered an extension but says he would love to remain at San Siro.
"I hope I can sign a new deal." he said at a charity event. "It's important for my family to know what is going on. That’s the only thing that irritates me slightly about the uncertainty.
“Otherwise, I’ll just give my best until the end of the season.”
Filippo Inzaghi's men drew 0-0 with Inter on Sunday and Mexes, who scored an own goal that was ultimately ruled out, has confessed that he was disappointed his side failed to claim the victory.
“The important thing is that we didn’t lose. Now we have try to get as many points as possible in the final weeks.
“There’s a bit of disappointment, we could have done better. It’s a shame - you need personality in the derby.
“It’s in the past now and we must look ahead.”