The synthesis of steroid/nonsteroid fused pyrimidines is described by the base mediated reaction of steroidal/nonsteroidal alpha,beta-unsaturated ketones with amidine derivatives in good yields under microwave irradiation.