The invention provides a controlled release oral solid formulation comprising (a) a controlled release component comprising core comprising levodopa and/or an ester of levodopa or salts thereof, wherein the core is coated with a layer of a muco-adhesive polymer and externally coated with a layer of an enteric coated polymer; and a method of using the controlled release oral solid formulation to treat Parkinson's disease or primary parkinsonism.