A library of 19 novel 4-(4-phenylpiperazine-1-yl)benzamidines has been synthesized and evaluated in vitro against Pneumocystis carinii. Among these compounds, N-ethyl- and N-hexyl-4-(4-phenylpiperazine-1-yl)benzamidines emerged as the most promising compounds, with inhibition percentages at 10.0 microg/mL of 87% and 96%, respectively. Those compounds remained active at 0.1 microg/mL.