A series of quinazoline derivatives with various 4-heterocyclylpiperidino groups at the 4-position was synthesized and tested for cardiotonic activity in anesthetized dogs. Among them, several 6,7-dimethoxyquinazoline derivatives showed potent cardiotonic activity.