4-Anilinoquinazoline- and 4-anilinopyrido[3,4-d]pyrimidine-6-acrylamides are potent pan-erbB tyrosine kinase inactivators, and one example (CI-1033) is in clinical trial. A series of analogues with a variety of Michael acceptor units at the 6-position were prepared to define the structural requirements for irreversible inhibition. A particular goal was to determine whether additional functions to increase solubility could be appended to the Michael acceptor. Substituted acrylamides were prepared by direct acylation of the corresponding 6-amines with the requisite acid or acid chloride. Vinylsulfonamide derivatives were obtained by acylation of the amines with chloroethylsulfonyl chloride followed by base-promoted elimination. Vinylsulfone and vinylsulfine derivatives were prepared by oxidation and base elimination of a hydroxyethylthio intermediate. The compounds were evaluated for their inhibition of phosphorylation of the isolated EGFR enzyme and for inhibition of EGF-stimulated autophosphorylation of EGFR in A431 cells and of heregulin-stimulated autophosphorylation of erbB2 in MDA-MB 453 cells. Substitution at the nitrogen of the acrylamide was tolerated only with a methyl group; larger substituents were dystherapeutic, and no substitution at all was tolerated at the acrylamide alpha-carbon. In contrast, while electron-donating groups at the acrylamide beta-carbon were not useful, even quite large electron-withdrawing groups (which increase its electrophilicity) were tolerated. A series of derivatives with solubility-enhancing substituents linked to the acrylamide beta-carbon via amides were potent irreversible inhibitors of isolated EGFR (IC50s = 0.4-1.1 nM), with weakly basic morpholine and imidazole derivatives being the best. Vinylsulfonamides were also potent and irreversible inhibitors, but vinylsulfones and vinylsulfines were reversible and only poorly active. Two compounds were evaluated against A431, H125, and MCF-7 xenografts in nude mice but were inferior in these assays to the clinical trial compound CI-1033.