The present invention relates to stable pharmaceutical compositions of (R)- lansoprazole or pharmaceutically acceptable salts thereof and process of preparing the same. The invention particularly provides pharmaceutical compositions of optically active (R)-isomer of lansoprazole with at least two functional coating layers.