Wilhelmsson signed for Mjällby AIF and made his Allsvenskan debut during the 2014 Allsvenskan season at the age of 34. After a short spell with former club Mjällby, he officially announced his retirement. However, in August 2015, he came out of retirement to help the latter team retain their status in the Superettan, which was eventually not achieved.