Call your local Mercedes dealership and ask for service department. Just tell them you replaced your battery and radio asked for a passcode and they would ask for you VIN but they should give you the code right over the phone.. At least they did for me.