The invention is directed to a composition, a use of the composition and a method of treating addiction to drugs of abuse in a subject, wherein the composition comprises a cabamoyl compound, or pharmaceutically acceptable salt or ester thereof as an active ingredient, and the method comprises administering a therapeutically effective amount of a cabamoyl compound, or pharmaceutically acceptable salt or ester thereof.