Fentanyl is used to treat breakthrough pain attacks (sudden attacks of pain that occur despite 24 hour treatment with pain relievers) in cancer patients who are at least 18 years old (or at least 16 years old if they are taking Actiq brand lozenges) which are taken in regular doses of another narcotic pain (opioid)