Imipramine tablets and capsules are used to treat depression. Imipramine tablets are also used to prevent bedwetting in children. Imipramine is in a class of medications called tricyclic antidepressants. It treats depression by increasing the amounts of certain natural substances in the brain that are needed to maintain mental balance. There is not enough information to explain how imipramine prevents bedwetting.
Imipramine comes as a tablet and a capsule to take by mouth. When imipramine tablets or capsules are used to treat depression, they are usually taken one or more times a day and may be taken with or without food. When imipramine tablets are used to prevent bedwetting in children, they are usually taken one hour before bedtime. Children who wet the bed early in the evening may be given one dose in the mid-afternoon and another dose at bedtime. Try to take imipramine at around the same time(s) every day. Follow the directions on your prescription label carefully, and ask your doctor or pharmacist to explain any part you do not understand. Take imipramine exactly as directed. Do not take more or less of it or take it more often than prescribed by your doctor.
Summary from MedlinePlus.gov, click for more information.