The inhibition of chicken liver dihydrofolate reductase by a series of substituted benzylpyrimidines has been investigated. From the inhibition constants a quantitative structure-activity relationship has been formulated. This mathematical model is compared with molecular graphics models constructed from the X-ray crystallographic coordinates of trimethoprim and 5-(3,4-dimethoxy-4-isopropenylbenzyl)-2,4- diaminopyrimidine bound to the enzyme. There is good correspondence between the two types of models.