To function very well; to have a good effect or outcome as if by magic. Examples: That knife-sharpener works like a charm. Origin: Mid-1800s