The present invention relates a pharmaceutical composition comprising esomeprazole magnesium dihydrate, non-steroidal anti-inflammatory drug and one or more pharmaceutically acceptable excipients, wherein non-steroidal anti-inflammatory drug is present in two or more portions. More particularly, the invention relates to compositions comprising Esomeprazole and Naproxen and a process for preparation thereof. Further invention relates to a pharmaceutical composition comprising esomeprazole magnesium dihydrate, non-steroidal anti-inflammatory drug and one or more pharmaceutically acceptable excipients wherein, esomeprazole magnesium dihydrate and non-steroidal anti-inflammatory drug provides co-ordinated release.