Identifying the primary site in patients with metastatic carcinoma of unknown primary origin can enable more specific therapeutic regimens and may prolong survival. Twenty-three putative tissue-specific markers for lung, colon, pancreatic, breast, prostate, and ovarian carcinomas were nominated by querying a gene expression profile database and by performing a literature search. Ten of these marker candidates were then selected based on validation by reverse transcriptase-polymerase chain reaction (RT-PCR) on 205 formalin-fixed, paraffin-embedded metastatic carcinoma specimens originating from these six and from other cancer types. Next, we optimized the RNA isolation and quantitative RT-PCR methods for these 10 markers and applied the quantitative RT-PCR assay to a set of 260 metastatic tumors. We then built a gene-based algorithm that predicted the tissue of origin of metastatic carcinomas with an overall leaveone-out cross-validation accuracy of 78%. Lastly, our assay demonstrated an accuracy of 76% when tested on an independent set of 48 metastatic samples, 37 of which were either a known primary or initially presented as carcinoma of unknown primary but were subsequently resolved.