Five new N-containing compounds, neosalvianen (1), salvianen (2), salvianan (3), salviadione (4), and 5-(methoxymethyl)-1H-pyrrole-2-carbaldehyde (5), were isolated from Salvia miltiorrhiza. Their structures were mainly established by spectroscopic methods. Neosalvianen (1) and its analogues (6a, 6b) were synthesized for spectroscopic data comparison. Compounds 1, 2, 4, and 6a were evaluated for their cytotoxic activities against selected cancer cell lines. Among these components, salvianen (2) exhibited the most potent cytotoxicity with a CD50 range of 30.4-39.5 microM against HeLa (cervical epitheloid carcinoma), HepG2 (hepatocellular carcinoma), and OVCAR-3 (ovarian adenocarcinoma) cell lines in a dose-dependent manner. The cytotoxicities of the tested compounds were not specific and showed similar activities to the selected cancer cell lines.