The invention relates to a method and a pharmaceutical composition of a combination of tramadol-etoricoxib hydrochloride for the treatment of pain, the production method of which is based on two active ingredients consisting of granules and/or multi-particulates with tramadol hydrochloride and granules and/or multi-particulates with etoricoxib, which can be contained in a mixture of powders, or included in a two-layer tablet with or without a coating or in a capsule as granulates and/or tablets with or without a coating.