Ketorolac is used to relieve moderately severe pain, usually after surgery. Ketorolac is in a class of medications called NSAIDs. It works by stopping the body's production of a substance that causes pain, fever, and inflammation. Ketorolac comes as a tablet to take by mouth. It is usually taken every 4 to 6 hours.