The present invention provides a modified release solid oral pharmaceutical composition comprising cyclobenzaprine or salts thereof. In particular, the present invention relates to a modified release solid oral pharmaceutical composition comprising a single unit of mini-tablet comprising cyclobenzaprine or salts thereof in a matrix of one or more release modifying substances, which mini-tablet is coated with one or more water soluble and/or insoluble release modifying substances. The composition may provide extended and specific release of cyclobenzaprine or salts thereof to achieve therapeutically effective plasma concentration over a period of 24 hours to treat muscle spasm associated with painful musculoskeletal conditions when administered to a patient in need thereof. The invention further includes process of preparing such composition.