A method for the preparation of montelukast and salts thereof has been described. The method comprises of following steps: (a) (S)-l-(3-((E)-2-(7-chloroquinolin-2-yl)vinyl)phenyl)-3-(2-isopropenylphenyllpropyl methane sulphonate (styrene mesylate salt) (b) coupling with 1-(mercapto methyl) cyclopropane acetic acid followed by saltification with an amine gives styrene amine salt (c) Converting styrene amine salt to Montelukast amine salt (d) Converting Montelukast amine salt to Montelukast free acid and or its required alkali/alkaline salt