Xylastriasan A (1), a new cytochalasan alkaloid with a rare 5/6/6/5/6 pentacyclic skeleton, and ergosterol (2) were isolated from the ethanol extract of fruiting bodies of the fungus Xylaria striata. Their structures were determined by analysis of their spectroscopic data. Compound 1 exhibited weak cytotoxic activity against HEPG2, B16 and A549 cell lines with IC50 values of 93.61, 85.61 and 91.58 μM, respectively. Ergosterol (2) potentiated pentobarbital-induced sleep by not only increasing the number of falling asleep and prolonging sleeping time but also reducing sleep latency at a dosage of 5 mg/kg.