Abstract: The present invention relates to an extended release solid pharmaceutical composition comprising two layers wherein the first layer comprises of a) a therapeutically effective amount of clarithromycin or a pharmaceutically acceptable salt, solvate or derivatives thereof along with at least one rate controlling hydrophilic polymer having high viscosity and other suitable pharmaceutical excipients and b) the second layer comprises of a therapeutically effective amount of clarithromycin or a pharmaceutically acceptable salt, solvate or derivatives thereof along with at least one rate controlling hydrophilic polymer having low viscosity and other suitable pharmaceutical excipients.