Diltiazem is used to treat certain heart conditions such as irregular heartbeats. It can also be used to lower your blood pressure by relaxing and widening blood vessels.