The present invention provides a pharmaceutical composition for delivering palonosetron through the buccal mucosa or sublingual mucosa. The pharmaceutical composition comprises 0.05-35% (w/w) of palonosetron, 40-90% of a film forming agent, 1-10% (w/w) of a plasticizer, 5-25% (w/v) of an adhesive agent, and 0.1-5% of a penetration enhancing agent. A preferred plasticizer is a polysorbate. A preferred adhesive agent is polyvinylpyrrolidone or carboxymethylcellulose. A preferred penetration enhancing agent is peppermint oil or menthol.