Two new benzopyranones, diaportheone A (1) and B (2), were obtained via bioassay-guided isolation of the secondary metabolites from the endophytic fungus Diaporthe sp. P133 isolated from Pandanus amaryllifolius leaves. Their structures were determined from spectral analysis including mass spectrometry, 1D and 2D nuclear magnetic resonance. Both 1 and 2 inhibited the growth of the virulent strain of Mycobacterium tuberculosis H(37)Rv with minimum inhibitory concentrations of 100.9 and 3.5 μM, respectively.