<p>A method for the preparation N-(3-ethynylphenyl)-6,7-bis(2-methoxyethoxy)- quinazolin-4-amine (erlotinib) from 6,7-bis(2-methoxyethoxy)quinazolin-4(3H)-one and 3-aminophenylacetylene in the presence of titanium(IV) chloride and anisole is reported.</p>