Phenobarbital is used to control seizures. Phenobarbital is also used to relieve anxiety. It is also used to prevent withdrawal symptoms in people who are dependent ('addicted'; feel a need to continue taking the medication) on another barbiturate medication and are going to stop taking the medication. Phenobarbital is in a class of medications called barbiturates. It works by slowing activity in the brain.