The present invention relates to an oral pharmaceutical composition of duloxetine or pharmaceutically acceptable salts thereof. Preferably, the invention relates to a delayed release composition of duloxetine comprising a core containing duloxetine, an optional separating layer, an enteric layer and an optional finishing layer.