The present invention provides an improved process for the preparation of Mebeverine [4-(ethyl(l-(4-methoxyphenyl)propan-2- yl)amino)butyl 3,4-dimethoxybenzoate] or a pharmaceutically acceptable salt thereof and its intermediates. The process comprises use of compound (VI), obtained from compound (V) for the preparation of 4-(ethyl(l-(4-methoxyphenyl)propan-2-yl)amino)butyl 3,4- dimethoxybenzoate, a compound of formula (I) or a pharmaceutically acceptable salt thereof. The process also comprises the preparation of 4-(ethyl(l-(4-methoxyphenyl)propan-2-yl)amino)butyl acetate, compound (V), comprising reacting compound (Ilia) with compound (IV) and further involves insitu conversion of (V) to the compound (VI).