A bioadhesive pharmaceutical formulation comprising an active agent and a mucoadhesive carrier for the active agent, wherein the mucoadhesive carrier comprises a ??-limit dextrin which is obtained by hydrolyzing waxy starch, and said formulation is a buccal melt product comprising a freeze-dried matrix, wherein the buccal melt product is a wafer and wherein the waxy starch comprises greater than 7