The present invention relates to the fields of chemistry, pharmacy, biotechnology and medicine. More particularly, the present invention describes: the use of a peptide compound for preparing an anticonvulsant pharmaceutical composition; and a therapeutic method. The peptide compound of the claimed pharmaceutical composition binds to and/or modulates the activity of cannabinoid receptors (CB), particularly CB1 and/or CB2, and has proven to be extremely useful as an anticonvulsant. In one embodiment, the claimed pharmaceutical composition provides excellent anticonvulsant results when administered orally to a mammal, and, in addition to other advantages and technical effects, does not entail the drawbacks arising from the use of cannabinoid substances such as cannabidiol, and provides a stronger therapeutic effect in smaller dosages and with fewer side effects.