If something works like a charm, it works works very well. The phrase contains the word charm which means a magic spell. Example: I installed the application on my cell phone and it works like a charm.