Fioricet is a prescription medication used to treat tension headaches. It contains three active ingredients: acetaminophen (a pain reliever), butalbital (a barbiturate), and caffeine. Acetaminophen relieves pain and reduces fever. Butalbital is a barbiturate that relaxes muscle contractions involved in tension headaches, and caffeine helps to enhance the effects of acetaminophen.