Virtual screening studies have identified a series of phenylpyrroles as novel 5-HT7 receptor ligands. The synthesis and the affinity for the 5-HT7 receptor of these phenylpyrroles are described. Some of these compounds exhibited high affinity for the 5-HT7 receptors.