[Problem] To prevent abuse of a pharmacologically active ingredient by an abuser by providing a pharmaceutical composition having an abuse-prevention function (abuse by nasal inhalation, abuse by injection, and abuse by extracting a drug and inhaling nasally or injecting). [Solution] To provide: a pharmaceutical composition having an abuse-prevention function having both a physical barrier and a chemical barrier when an abuser tries to abuse the pharmaceutical composition; a method for producing same; and a method for using same.