For anti-EGFR therapy prediction, we demonstrate reliable in situ detection of KRAS mutations in codon 12 and 13 in colon and lung cancers in three different types of routinely processed tissue materials. Here, KRAS is linked to lung cancer.