To detach plug you must squeeze the sides in to release. Then there is a tab that you gently list to expose the 9 volt battery. Use only alkaline and change every 2 years