Medullary breast cancer (MBC) is a rare but enigmatic pathologic type of breast cancer. Despite features of aggressiveness, MBC is associated with a favorable prognosis. Morphologic diagnosis remains difficult in many cases. Very little is known about the molecular alterations involved in MBC. Notably, it is not clear whether MBC and ductal breast cancer (DBC) represent molecularly distinct entities and what genes/proteins might account for their differences. Using whole-genome oligonucleotide microarrays, we compared gene expression profiles of 22 MBCs and 44 grade III DBCs. We show that MBCs are less heterogeneous than DBCs. Whereas different molecular subtypes (luminal A, luminal B, basal, ERBB2-overexpressing, and normal-like) exist in DBCs, 95% MBCs display a basal profile, similar to that of basal DBCs. Supervised analysis identified gene expression signatures that discriminated MBCs from DBCs. Discriminator genes are associated with various cellular processes related to MBC features, in particular immune reaction and apoptosis. As compared with MBCs, basal DBCs overexpress genes involved in smooth muscle cell differentiation, suggesting that MBCs are a distinct subgroup of basal breast cancer with limited myoepithelial differentiation. Finally, MBCs overexpress a series of genes located on the 12p13 and 6p21 chromosomal regions known to contain pluripotency genes. Our results contribute to a better understanding of MBC and of mammary oncogenesis in general.