It is possible to effectively treat moderate to severe visceral pain by administering analgesic medications comprising the opioid oxycodone or pharmaceutically acceptable salts thereof. Visceral pain and especially acute (i.e. non-chronic) visceral pain can be effectively treated by administering oxycodone at a dosage which is lower than the corresponding dosage of the other opioids like morphine.