The invention refers to a new doxylamine resinate complex comprising doxylamine bound to a weakly acidic synthetic cation exchange resin, such as a copolymer of methacrylic acid and divinylbenzene The invention discloses a process for its preparation which comprises contacting a weakly acidic synthetic cation exchange resin with doxylamine or a pharmaceutically acceptable salt thereof and its use for the preparation of pharmaceutical compositions, such as chewable tablets or oral disintegrating tablets of immediate release. Further the invention refers to the doxylamine resinate complex for use as a medicament, preferably as a medicament for use in the treatment of occasional insomnia