The present invention relates to the field of a pharmaceutical technology. More specifically, the present invention relates to a pharmaceutical composition comprising glimepiride and a surface active agent. Surface active agent obtainable by reacting castor oil or hydrogenated castor oil with ethylene oxide, preferably hydrogenated castor oil, substantially improves dissolution glimepiride active pharmaceutical ingredient and at the same time, when both formulated into a pharmaceutical composition, ensures satisfying or exceeding other parameters like for example stability, hardness, friability and handling of said pharmaceutical composition.