The answer to your question depends somewhat on what sleep medicine your doctor
has prescribed. Most sleeping pills act by reducing the overall activity of the brain making you sleepy. There are pain medications that also cause this, and therefore are dangerous to take with sleeping pills. These pain medications are of the narcotic class and include oxycodone, morphine, hydromorphone, and hydrocodone. Ibuprofen and aspirin are anti-inflammatory medications and do not cause sedation like the narcotic pain medications do. Therefore, they should be safe, again depending on what pill you are taking for your sleep. I should note that taking ibuprofen and aspirin has its own risks independent of your sleeping pills. If you have a history of kidney disease, bleeding
, or stomach ulcers, ibuprofen and aspirin may be dangerous to take for your pain.
The best physician for you to see about this problem is your primary care physician
. He or she can look at your list of medications and determine if the anti-inflammatory medications are safe to take for your muscle aches. Your doctor may decide that there is a different pain medication such as acetaminophen that is safer. If so, then you can get another prescription at that visit. Good luck.