For proof-of-concept of halogen bonding in drug design, a series of halogenated compounds were designed based on a lead structure as new inhibitors of phosphodiesterase type 5. Bioassay results revealed a good correlation between the measured bioactivity and the calculated halogen bond energy. Our X-ray crystal structures verified the existence of the predicted halogen bonds, demonstrating that the halogen bond is an applicable tool in drug design and should be routinely considered in lead optimization.